Other Parts Discussed in Thread: NOWECC,
Hello,
I have differents questions about Flash ECC area (Between addresses 0xF0400000 to F05FFFFF) :
--> As we have 8 Bit ECC for every 64 bit of Data only 515KBytes are used in this area? the remaining 1,5 MBytes are not used?
--> In Datasheet, it is mentionned that the ECC needs to be calculated by an external tool such as nowECC.
Is it possible to program automatically ECC data by CPU and not by external tool. Which register can be used?
--> Is it possible to check integrity of Flash ECC area (no stuck bit to '0' or '1' for example) by programming and reading Data (for example with 0xAA/0x55)?
In this case ECC mechanism must not be activated?
--> To test ECC mechanism with 1 Bit or 2 Bit in error, I need to corrupt Flash ECC area. I have found ECC Data Correction Diagnotic Mode 7 (DIAGMODE = 7) in Datasheet.
With this Diagnostic selftest all Flash address can be covered?
Is there an another mean? For example, is it possible to deactivate ECC mechanism, write directly in flash ECC area with bad values and activate ECC mechanism to check correction or detection?
Best regards,
François