Debug setup guide for R7FA4M1AB3CFM FSP V5.3.0 using J-link debugger

Hello,I am very new to the Renesas and e2 studio IDE,  I am using RA series MCU R7FA4M1AB3CFM on custom Board, and using e2 studio IDE.

I have FreeRTOS configured and some other peripherals through FSP. I want to debug my code using an hardware debugger J-link that I have sort of customized, basically we have Renesas FPB-RA4E (RTK7FPA4E1S00001BE) eval kit from there I have taken the connections for the J-Link for my custom board. we have verified the debug connection and it seems good to go..

I want to Know what are the settings in the IDE I need to take care of before debugging since I am new to the e2 studio I do not know. also I am using FreeRTOS so, to debug an freeRTOS what are the additional settings I need to do? 

here's my current debug configuration: using Renesas GDB hardware debugging

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/256/pastedimage1726044751683v1.png

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/256/pastedimage1726044776728v2.png

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/256/pastedimage1726044865483v3.png

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/256/pastedimage1726044894599v4.png

also please share any tips regarding debugging on e2 studio or any link to guide for complete debugging .

Thanks in advance!!

  • Hello Sufyan,

    Your question is very general, but let me explain the basic configuration that you will need for the debug process.

    The most significant settings are the correct type of debugger that is going to be used, the part number of the RA device that you use and what kind of interface you use:

    About FreeRTOS, you will not have any problem with the default settings, but if you have a lot of threads, you may need to activate the options below:

    Regards,

    AL_Renesas