MDK5 JLINK仿真Reset之后无法全速运行



  • 最近用MDK5 JLINK仿真时,进入仿真界面,执行Reset之后无法全速运行,串口没有任何打印,请问大家有遇见过吗?



  • T5434 781:057.159 JLINK_IsHalted()
    T5434 781:057.620 - 0.476ms returns FALSE
    T5434 781:158.489 JLINK_IsHalted()
    T5434 781:158.951 - 0.473ms returns FALSE
    T5434 781:259.997 JLINK_IsHalted()
    T5434 781:260.450 - 0.469ms returns FALSE
    T5434 781:361.349 JLINK_IsHalted()
    T5434 781:361.716 - 0.373ms returns FALSE
    T5434 781:462.592 JLINK_IsHalted()
    T5434 781:462.958 - 0.373ms returns FALSE



  • 我这里也是,使用 JLINK 可以正常的去下载代码,但是 使用 DEBUG 仿真 就跑不起来。

    • JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
    • JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
      **JLink Warning: CPU could not be halted
      ***JLink Error: Can not read register 15 (R15) while CPU is running
      ***JLink Error: Can not read register 16 (XPSR) while CPU is running
      ***JLink Error: Can not read register 0 (R0) while CPU is running
      ***JLink Error: Can not read register 1 (R1) while CPU is running
      ***JLink Error: Can not read register 2 (R2) while CPU is running
      ***JLink Error: Can not read register 3 (R3) while CPU is running
      ***JLink Error: Can not read register 4 (R4) while CPU is running
      ***JLink Error: Can not read register 5 (R5) while CPU is running
      ***JLink Error: Can not read register 6 (R6) while CPU is running