stm32f107烧写问题

thzhr2013 2018-08-16 02:01:24
使用烧录器SWD方式烧写,在目前板子上(主控为stm32f107)遇到的问题 :
第一次烧写有时候不成功,报错如下:
***JLink Error: Communication timed out: Requested 8 bytes, received 0 bytes !
Could not start CPU core. (ErrorCode: -1)
***JLink Error: Can not read register 15 (R15) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP
Could not start CPU core. (ErrorCode: -1)
***JLink Error: Can not read register 20 (CFBP) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not start CPU core. (ErrorCode: -1)
***JLink Error: CPU is not halted
***JLink Error: Can not read register 15 (R15) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP
Could not start CPU core. (ErrorCode: -1)
Programming Failed!
Error: Flash Download failed - "Cortex-M3"
出错后再烧写第二次则没有问题。请问这可能是什么问题?
...全文
1725 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
飞翔赛思 2018-08-22
  • 打赏
  • 举报
回复
这个可能是烧写速度设的太高了,设成1M或500K试试。

27,383

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧