Hello @danielbathtub
If an ECCD error occurs and is not properly managed, it can lead to the program entering an NMI interrupt when trying to read the memory at a specific address. The ECCD error indicates that the Flash memory at the read address contains corrupted data that could not be corrected by the ECC mechanism, which is designed to correct single-bit errors but not multiple-bit errors.
The recommended approach to handle an ECCD error includes checking the ECCD bit in the FLASH_ECCR register and taking appropriate actions such as erasing and reprogramming the affected Flash sector.
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om