最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

debugging - init mode failed (unable to connect to the target) - Stack Overflow

programmeradmin4浏览0评论

I am starting my first step in STM programming. I have nucleo dev board with cortex M0 processor. I written by code for printing hello world. As M0 doenst have SWV we have to use openOCD debugging setup to view the PRINTF result in the console. So initially i build and debugged the code successfully and the result got printed. Next time when I tried to build and debug the at the time of debugging i was encountering this error. I am attaching the snippet of the complete error detail and the code written. Detailed error msg

Code snippet

I tried flashing it without open OCD instead used STLINK Flash which successfully flashed the code and debugged it. Tried reinstalling the software

发布评论

评论列表(0)

  1. 暂无评论