- Start server
- connect your board
- run
openocdto start the server - doc
- run
arm-none-eabi-gdbwithuTensor.elf.
arm-none-eabi-gdb PATH/TO/ELF/uTensor.elf- in the
gdbconsole, typetarget remote localhost:3333
- setup break point, next line, ...etc
- happy
gdbing!
- telnet localhost 4444
- halt
- flash probe 0
- flash write_image erase uTensor.bin 0x08000000
- You have to run openocd server in the directory of uTensor.bin
- reset
- exit