bmd-studio / stm32-for-vscode

STM32 extension for working with STM32 and CubeMX in VSCode
MIT License
195 stars 27 forks source link

openocd UNEXPECTED idcode: 0x0bc11477 when flashing a stm32c0 #189

Open FrankBau opened 1 month ago

FrankBau commented 1 month ago

when flashing a stm32c0, like on stm32c0116-dk.

root cause: openocd.cfg contains on line 8: source [find target/stm32f0x.cfg]

workaround: change to: source [find target/stm32c0x.cfg]

thanks for your great vscode plugin!

jortbmd commented 1 month ago

Hi. Thanks for opening up an issue! I have to manually update the file for all the different st targets. Will do this for a next release. Thanks so much for letting me know!