cancel
Showing results for 
Search instead for 
Did you mean: 

About STM32U585 Flash ECC error

pangpang
Associate

According to the description of Section 7.3.2 "Error code correction (ECC)" in the RM0456 manual, reading the data at address 0x0BFA1F80 is supposed to generate an NMI interrupt.
However, when I tried to read the data at this address, no NMI interrupt was triggered.
I was also able to read the data at this address normally using Cube Programmer.
The development board used for testing is the ST`s B-U585I-IOT02A.
Why didn't the read operation trigger an NMI interrupt?

1 REPLY 1
Sarra.S
ST Employee

Hello @pangpang, the ECCD flag should be set in the FLASH_ECCR register when two errors are detected, could you verify that? 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.