Debugging BearlyML with JTAG and GDB

1. VS Code Method (Preferred)

In VSCode, search and install the "cortex-debug" extension.

in the .vscode folder, create launch.json

Launch the RISC-V Debug routine.

2. Terminal-Only Method

Terminal A:

Terminal B:

Connect to target

Reset chip

Load program

Set breakpoint

List current program

Step

Last updated