问题描述
如图,在使用J-Flash烧录GD32F303时,无法烧录,报错:
- ERROR: Programming failed @ address 0x08000000 (program error)
- End of flash programming
- ERROR: Program failed
- Start of restoring
- ERROR: Timeout while restoring target, RAMCode did not respond in time (PC = 0x20000340, XPSR = 0x21000000, SP = 0x20000608)!
- ERROR: Failed to restore target. RAMCode never stops
- End of restoring
- ERROR: Failed to program and verify target
powershell
解决办法
打开J-Link STM32 Unlock
打开后,如下,输入3,为什么输入3,因为GD32F303类比为STM32F103,虽然内核不同,但Flash大小相同。
出现如下打印则说明解锁成功。
重新使用J-Flash即可成功烧录!
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_64284370/article/details/148424077
|