GPIO 1 TCK
GPIO 3 TDI
GPIO 2 TDO
GPIO 0 TMS
Using Ubuntu as an example, run the following two commands separately:DebugServerConsole
DebugServerConsole
riscv64-unknown-elf-gdb *.elf