-
Notifications
You must be signed in to change notification settings - Fork 0
openocd的用法(二)
minichao9901 edited this page May 12, 2024
·
2 revisions
参考文献
https://blog.csdn.net/zhengyangliu123/article/details/54934719/
source [find interface/stlink.cfg]
source [find target/stm32l4x.cfg]
#source [find target/stm32h7x.cfg]
注意,要确保这个时候板子插上电脑,并且stlink驱动正确安装了
openocd -f my.cfg
arm-none-eabi-gdb hello_world.elf
target remote localhost: 3333
monitor reset
monitor halt
load
info r
info stack
info variables
x/nfu addr
help x
x/32xw 0x20000000