1.打开J-Link gdb server via JTAG
2.
(gdb) target remote localhost:2331
Remote debugging using localhost:2331
0x00000000 in ?? ()
(gdb) monitor help
SEGGER J-Link GDB Server V4.34
Available remote commands are:
remoteport port select interface
if jtagconf endian speed
reset halt go step
si sleep waithalt wh
reg regs cp15 wice
rmib setbp bi clrbp
ci bdb bdh bd
clrwp cd MemU8 WriteU8
MemU16 WriteU16 MemU32 WriteU32
mww long loadbin flash device
flash download flash breakpoints flash cpuclock semihosting enable
semihosting ARMSWI semihosting ThumbSWI