update relative path for md
This commit is contained in:
parent
5a0335838e
commit
ad6dba92bf
|
@ -408,7 +408,7 @@ VSCode `ctrl+,`进入设置,通过`搜索`找到cortex-debug插件的设置。
|
|||
|
||||
这一步注意勾选update dll in other application,这样jlink会把ozone里面老的驱动和启动项替代掉。注意安装目的地和ozone一样,选择安装一个新的实例。如果安装了老的相同版本的jlink,请先卸载(版本相同不用管,直接新装一个)。然后安装过程中会出现如下提示,询问是否升级Jlink,**点击OK**即可。
|
||||
|
||||
![image-20221116150621396](C:/Users/13313/AppData/Roaming/Typora/typora-user-images/image-20221116150621396.png)
|
||||
![image-20221116150621396](assets/image-20221116150621396.png)
|
||||
|
||||
### 配置调试项目
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
|
@ -1,9 +1,13 @@
|
|||
# 选择调试器为jlink
|
||||
|
||||
source [find interface/cmsis-dap.cfg]
|
||||
# source [find interface/jlink.cfg] #使用jlink硬件进行调试,注意其他地方也要更改
|
||||
# OpenOCD作为GDB和硬件调试器的桥梁(为硬件提供抽象,把接口给GDB),支持多种硬件调试器.
|
||||
# OpenOCD会自动在其根目录的share/openocd/scripts/interface里面寻找对应的配置文件
|
||||
|
||||
# 选择接口为SWD
|
||||
transport select swd
|
||||
|
||||
# 选择目标芯片
|
||||
source [find target/stm32f4x.cfg]
|
||||
source [find target/stm32f4x.cfg]
|
||||
# OpenOCD会自动在其根目录的share/openocd/scripts/target里面寻找对应的配置文件
|
Loading…
Reference in New Issue