Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.16 KB

File metadata and controls

32 lines (25 loc) · 1.16 KB

The Basic

How to Run gdb with OpenOCD

  1. Start server
  • connect your board
  • run openocd to start the server
  • doc
  1. run arm-none-eabi-gdb with uTensor.elf.
  • arm-none-eabi-gdb PATH/TO/ELF/uTensor.elf
  • in the gdb console, type target remote localhost:3333
  1. setup break point, next line, ...etc
  • happy gdbing!

Telnet with OpenOCD

  • 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

Misc