I have found many tutorials on how to compile and debug a project on the EK-RA2A1 demo board with the e2studio IDE. Even when you create a new project the debugger is set by default. But I haven't found anywhere how to configure the J-Link OB that comes with the EK-RA2A1 as an external tool in e2studio to flash the microcontroller in release mode.
Can anyone tell me how this external tool is configured?
I have already found how to flash the project with J-Link OB as an External Tool in e2studio.
Instead of using the SEGGER software I use "Renesas Flash Programmer" Usage from Comman Line:
RFP…
You could just use J-Link Commander (or the GUI JFlashLite), from the J-Link software and documentation package:
https://www.segger.com/downloads/jlink/
https://wiki.segger.com/J-Link_Commander
https://wiki.segger.com/J-Flash_Lite
Yes I know. But I am developing the project in the e2studio environment and I need to Flash the microcontroller dozens of times a day. I don't want to change environment every time I have to Flash. Using the J-Link OB as an external e2studio tool when I implement a modification I can build the project by pressing ^B and Flash and Run it by pressing ^R. This way I don't even have to touch the mouse. As I said at the beginning, I do this dozens of times a day and hundreds of times during the development of a project.To use the ^R key I have assigned it as a shortcut to the function "Run Last Launched External Tool"