Keil调试问题


**JLink Warning: CPU could not be halted
ROMTableAddr = 0xE00FF000
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: Found Cortex-M0 r0p0, Little endian.
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
**JLink Warning: Could not set S_RESET_ST
***JLink Error: DAP error while reading DP-Ctrl-Stat register.
**JLink Warning: CPU could not be halted
Error: Flash Download failed  -  Target DLL has been cancelled

当遇到以上错误,可能大家都会想到是JLink驱动的原因,或者猜测是单片机MCU不稳定的原因,芯片引脚未连接好。

本篇帖子旨在记录错误现象,最开始单片机在未接其他大的外设设备(例如:显示屏模块和其他耗电的外设模块时), 单片机是能够正常烧录的,但是,由于后面其他外设设备接在单片机IO口上,没有注意到这个只是使用JLink来给整个产品供电,会造成供电电压不足发生,才会导致以上烧录错误产生,单片机的供电电压3.3V未到达,MCU未工作起来。

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

唯心唯力

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值