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.

[参考译文] TMS570LC4357:禁用高速缓存为何会导致硬故障?

Guru**** 2434370 points
Other Parts Discussed in Thread: TMS570LC4357

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1287404/tms570lc4357-why-would-disabling-the-cache-cause-a-hardfault

器件型号:TMS570LC4357

我在 TMS570LC4357上使用 FreeRTOS 运行一个项目。 启用缓存后、一切运行正常。 不过、我禁用了缓存以尝试调试问题、但现在禁用缓存后 MCU 会出现硬故障。 我知道启用/禁用高速缓存就是这里的问题所在。

我知道如果禁用高速缓存、我们将损失速度、但据我所知、我们应该能够仍旧运行。 有人能告诉我、当缓存被禁用时、为什么会出现硬故障?