This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570ls3137:在 b prefetchEntry 处的调试停止

Guru**** 2331900 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/590478/tms570ls3137-debug-stop-at-b-prefetchentry

器件型号:TMS570LS3137

你好  

当我调试 CCS 项目时,它可以工作。 但在中途(代码在我的断点处停止),I Reset CPU,然后我运行代码,代码有时在 b prefetchEntry 处停止,有时不会

 我不知道如何避免(有时有什么)。您能给我 一些建议吗?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    预取中止通常意味着您正在访问超出范围的存储器地址。 要进行故障排除、您需要查看 CPU 寄存器、以查看处于问题函数中时 LR 寄存器的内容。 这很可能是由于未初始化的指针、为阵列使用的空间多于分配的空间、或某种堆栈损坏问题造成的。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    好的,谢谢