Replies: 1 comment 5 replies
-
通过SWD引脚可以直接进行烧录,无需拉高BOOT0引脚。因为改变BOOT引脚唯一改变的就是上电后的引导方式,而SWD引脚(即调试器接口)是通过ARM CoreSight调试组件进行程序的下载的,与引导无关。我在google上找到了一些相似的问题,可以看看对你有没有帮助:https://forum.sparkfun.com/viewtopic.php?t=41014。也可以先检查一下芯片和焊接的问题,有一些拆机的芯片的储存器会被锁死导致无法下载程序。 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
用的nano-dap进行烧录,环境完全按照作者的配置,进行烧录的时候,执行
reset run
出现如下报错:Error: stm32f1x.cpu -- clearing lockup after double fault Polling target stm32f1x.cpu failed, trying to reexamine Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
网上有人说把Boot0引脚拉高一下就行,但是作者的方案里面已经是接地了,不好拉引脚。
自己折腾了一会儿,后来又出现
flash write_bank 0 xxx.hex 0
就会卡死出错的情况:SWD DPIDR 0x1ba01477 Failed to write memory at 0x20000060 Failed to get read pointer ...
毫无OpenOCD以及GD32的调试经验,希望得到帮助。
Beta Was this translation helpful? Give feedback.
All reactions