Hi all,
I've played a little with RFP v3.14 with my eval board EK-RA4M3.
I wanted to check some communication over UART (by using J-Link on eval board).
With baudrate 9600 everything is fine, I can read memory option bytes etc., but when I change to 115200 I cannot do anything and some error occurs:
I've checked communication with logic analyzer and I didn't find anything special, setting baudrate with command 0x34 looks exactly the same for 9600 like for 115200. With 9600 after ~118ms programmer continues communication, with 115200 there is no communication after 0x34 command.
I've tried with different USB cables, different Windows (11 and 10 checked), I also upgraded J-link firmware to the newest one (from 12.2023).
I don't know what else I could check.
Also I don't know why only 9600 and 115200 speeds are supported if AN R01AN5372EU0110 (System Specifications for Standard Boot Firmware) indicates that we can set up to 2Mbit (Table 24).
If you have any idea what could be wrong or how I can fix it or show more, please let me know.
Thanks in advance,
Adam
Hello sir,
Please let me inform you that if you select to use the J-Link OB-S124 debugger available on the EK board and select the 2-wire UART interface the only options for the speeds that can be selected is 9600bps or 115200 bps.
If you will check some information provided for users for RFP here you will see that:
https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui-support
"However the actual maximum communication speed that will work will depend on the J-Link model being used."
Generally the J-Link-OB-S124 is meant to do basic debugging on the connected target. It is not suited for manufacturing.
The S124 only has a 32-MHz Cortex M0+ core, so the maximum target interface speed for J-Link-OB-S124 seems to be limited.
If you want to create custom boards with RA4M3 for production, E2 Lite emulator would be a much better option to use .
https://www.renesas.com/us/en/software-tool/e2-emulator-lite-rte0t0002lkce00000r#overview
Since for UART communications it can reach speeds bigger than 115200 bps. As you can see from the screenshot below:
As you can see I was able to flash my board with E2 lite at 1,500,000 bps.
Now if you want to achieve bigger speeds by using the J-Link OB-S14, please select instead of 2-wire-UART, the SWD interface.
Since with SWD interface you can achieve speeds up to 25MHz.
Hope it helps.
Best Regards,
IK
From the RFP manual :-