Skip to main content
hritter
Associate II
Question

MPU Disabling

I have an STM32C552CE and I want to read and use the unique ID but when I attempty to read it I hard fault. I have completely eliminated the MPU from the project and I attempt to read thw unique ID prior to the icache being enabled but I always hard fault on the first read. What gives???

Thank you for your help!!!

1 reply

TDK

Do you have ICACHE enabled? Disable it.

You will also need to set up an MPU region around the unique id to disable caching.

"If you feel a post has answered your question, please click ""Accept as Solution""."