I am going to flash the RTL8195's MCU by the Segger J-Link. Segger J-Link has a 20-Pin connector but the RTL8195 has a 10-Pin connector. I don't have any adapter to convert 10-pin and 20-pin, so I looked for some information on the internet. I found something like this link http://www.amebaiot.com/en/ameba-sdk-getting-started/. But it didn't workout, and both the J-link GDB server and IAR can't find the MCU and in the debug message says that RESET pin is always high! I tried to connect the RTL8195 to the J-Link using the pin-out list on the button part of RTL8295's PCB and J-link manual, but still same situation!
I am pretty sure that my J-Link is functional because I can flash other devices!
Any of you guys can help me to figure out this issue and/or find a proper document showing the connection?
Thanks a lot for the reply sir! What if to deactivate the firmware.bin we flash (upload) the new firmware using IAR?
What would happen if we upload our FW on the MCU with IAR? It would be the binary file in the MCU startup or still it will go to CRP mode?
Is there any pdf (or link) which clarifies this thing?
A method can feed this question.
1. Enter the CRP Disable mode and backup firmware.bin first.
2. Then, the second thing you need to replace firmware.bin with any data of 64k size named by same file name.
3. Replug the USB
Now J-Link is working. Is it because the CRP mode initialize the JTAG pin with other alternative functions?
So now could you please let me know how can I be always in the CRP-Disabled without doing that sequence? Is it possible to remove the FW or doing something else to keep the CRP diabled?
Thanks for the reply, but I don't have any adaptor currently and trying to connect the Segger J-Link's pin by wire one by one to the EVB. So I just followed the pin-out scheme in the links and manuals but didn't workout! If you have another idea I will be appreciated!