cannotloadflashprogramingalgorithm解决方法
(2018-07-26 09:41:28)
标签:
学习嵌入式 |
分类: 学习 |
之前用ST-link开发stm32f103c8t6一直好好的。
突然就下载不进去了。
对话框两个
显示
cannot load flash programing algorithm
error flash download failed -
“Cotex-M3”
Build output显示:
Full Chip Erase Failed!
Internal DLL Error
Internal command error
检查了ST-link的接线,是对的。
在option-debug目录下可以看到SWDIO的东西,都是在的。
在option-utilities目录下也可以看到 programing algorithm是在的,也是对的。
但是就是load不进去。
网上通常的方法都是降j-link频率,改programing algorithm之类的,试了都不管用。
先开一贴,作为记录。
怀疑是锁了。
也有人说是软件版本问题
http://bbs.eeworld.com.cn/thread-291357-1-1.html
按照这个说明来解锁
https://jingyan.baidu.com/article/5552ef47f0f3b8518efbc94d.html
也不管用
感觉这个有用!晚上回家试一下!
http://blog.sina.com.cn/s/blog_14b0a454c0102wato.html
https://blog.csdn.net/qq_30691145/article/details/80281566
使用ST-link Utilities连接硬件,显示
Cannot read memory
disable read out protection and retry
按照这个写法
https://blog.csdn.net/zg116/article/details/73382363
配置
会显示
counld not set option bytes
please reset the target and retry
按这个操作
https://blog.csdn.net/hxiaohai/article/details/78546431?locationNum=10&fps=1
总结起来原因,可能是没有用ST-link供电,而是用了外部电源
再尝试boot0接3.3v,使用串口下载
https://blog.csdn.net/qq_22520215/article/details/72143105
串口试了,点了next就过不去,未响应
或者显示什么unrecoginzed device... Please,reset your device then try
again
测试方法
STVP
按住reset键
能够擦除掉
但是依然下载不进去
换板子了!!!!

加载中…