2017-09-22 01:32 AM
Hi,
I have a question which i'm not able to find an understandable answer in the datasheet. The STM32L4 seems to have an Error Correction Code function embedded inside its Flash memory.
According to an ST powerpoint, the embedded ECC is 8 bits long for a 64-bits word and can detect up to 2 errors on the same 64-bits word but just correct one of these.
If an error is detected and/or corrected, the ECCC bit is set in FLASH_ECCR register.My questions are : Do I have to initialize and start this feature by software? Can I catch an interrupt when an error is detected or do I have to check the FLASH_ECCR register by myself? When the ECC check is made ? I mean, the memory address will be checked when I want to access it or anything else?
Thanks a lot if you can answer me.
Solved! Go to Solution.
2017-09-22 04:19 AM
2017-09-22 01:49 AM
2017-09-22 02:27 AM
Thanks a lot !
2017-09-22 03:55 AM
Thanks for the screenshot, so I have to configure the ECCCIE bit, but I still have the same question : they said : 'if ECCCIE is set, an interrupt is generated' -> Which interrupt, how can I catch it ?
2017-09-22 04:19 AM