forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 3
How to debug
Takeo Takahashi edited this page Feb 24, 2022
·
2 revisions
-
For debugging on Windows 10, download and install Renesas Flexible Software Package.
-
After installing the FSP, start "e2 studio" of Renesas RA v3.5.0 in start menu.
-
Input workspace, for example, c:\e2ws_ra.
-
Choose the menu File -> New -> Renesas C/C++ Project -> Renesas Debug.
-
Choose "Renesas Debug Only Project" in New C/C++ Project window.
-
Enter project name, for example ra6m2_ek_mpy, in Debug Only window, then click Next.
-
In the next window, choose and input following items, then click Finish.
Items Input Debug Hardware Select "J-Link ARM" for Hardware Target Device Specify "Target Device name" by referring below table. Endian Little Device Executable Specify "firmware.elf" built by how to build section.
DEBUG=1 must be specified when build.BOARD Target Device RA4M1 Clicker R7FA4M1AB EK-RA6M2 R7FA6M2AF EK-RA4M1 R7FA4M1AB EK-RA6M1 R7FA6M1AD EK-RA4W1 R7FA4W1AD2CNG Input example: MicrpPython debug for EK-RA6M2 board:
-
After connection of board with PC, click "Launch in Debug mode" icon. You can debug MicroPython executable.