Debugging Longan Nano
2022-07-06
Connect the debugger
| Development board | Debugger |
|---|---|
| JTDO | TDO |
| JTDI | TDI |
| JTCK | TCK |
| JTMS | TMS |
| 3V3 | 3V3 |
| GND | GND |
Modify the configuration file
Modify the project configuration file platformio.ini, add below
debug_tool = jlink
Select according to the actual debugger model. List of currently supported debuggers
jlinkgd-linkft2232sipeed-rv-debuggeraltera-usb-blasterum232hRV-Link
One-click debugging
VSCode switch to the left side of the DEBUG screen, click the green arrow to debug.
.