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.

[参考译文] TMS570LS0714:预取中止问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1357033/tms570ls0714-prefetch-abort-issue

器件型号:TMS570LS0714

在目标板运行两三天后、我收到了有关问题的预取信息。 当 TMS570挂起时、我读取 CPU 寄存器、PC 卡在0x0000000C、LR 为0x00428044。

然后我读取 CP15状态、  

CP15_DIRECTOR_FAULT_STATUS 寄存器= 0x00000409、即 FSR [10、3:0]为0b11001。

它是否意味着 ECC 错误会导致此预取中止问题? CP15_instruction_fault_address 0x00428040位于 ECC 存储器中???

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

    尊敬的 Snaku Lee:

    [quote userid="431691" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1357033/tms570ls0714-prefetch-abort-issue 是否意味着 ECC 错误会导致此预取中止问题? CP15_instruction_fault_address 0x00428040位于 ECC 存储器中??

    我认为 ECC。

    但通常、闪存 ECC 和 RAM ECC 存储在以下位置:

    闪存 ECC 将存储在0xF0400000

    RAM ECC 将存储在 RAM 起始地址偏移4MB 处。

    这意味着 RAM 的起始地址为0x08000000、因此其 ECC 起始地址为0x0400000。

    您是否在代码中进行内存交换?

    如果进行存储器交换、则只会将起始地址0x00400000用于 RAM 的 ECC。

    --
    谢谢。此致、
    Jagadish。

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

    我不交换 TMS570存储器、可能是 CPU 失控、因为我检查用户模式的堆栈存储器已崩溃。  

    感谢你的帮助。