加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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键
能够擦除掉

但是依然下载不进去



















换板子了!!!!



0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有