0

尝试在 VSCode 中使用 OpenOCD 0.10.0 调试 STM32F767(NUCLEO-F767ZI 板)我收到以下错误:

Info : device id = 0xa05f0000
Warn : Cannot identify target as a STM32 family.
Error: auto_probe failed

这是否意味着 OpenOCD 根本不支持这个 MCU?
我该如何解决呢?
我在下面附加了 launch.json配置。

"name": "Debug (OpenOCD)",
"type":"cortex-debug",
"request": "launch",
"servertype":"openocd",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/BUILD/NUCLEO_F767ZI/GCC_ARM-DEBUG/${workspaceRootFolderName}.elf",
"svdFile": "${workspaceRoot}/STM32F7x7.svd",
"runToMain": true,
"device": "STM32F767ZI",
"searchDir": ["C:/Program Files/OpenOCD/scripts"],
"configFiles": [
    "/interface/stlink.cfg",
    "/target/stm32f7x.cfg",
]
4

0 回答 0