STM32 Arduino 可以用stlink 或者Jlink debug吗?
求问, STM32 Arduino可以用stlink 或者Jlink debug吗?或者debug使用其他硬件工具?
可以STLINK价格很便宜
安装 Cortex Debug插件
根据开发板配置
.vscode\launch.json
下面配置可以调试 STM32F103C8最小板
详细配置方法参考 https://zhuanlan.zhihu.com/p/61589772
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/.pio/build/genericSTM32F103C8/firmware.elf",
"name": "Debug (OpenOCD)",
"device": "STM32F103C8",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f1x.cfg"
],
"runToMain": true
}
]
}
页:
[1]