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: Why would disabling the cache cause a hardfault?

Part Number: TMS570LC4357

I have a project running on the TMS570LC4357 using FreeRTOS. Everything runs fine when I have the cache enabled. However, I disabled the cache to try to debug an issue, but now the MCU is hardfaulting when the cache is disabled. I know the cache being enabled/disabled is the issue here.

I know we lose out in speed if the cache is disabled, but as far as I know we should be able to run still. Can anyone tell me why we would hardfault when the cache is disabled?