36.4 Functional Description

The PMERRLOC search operation is started as soon as a write access is detected in the PMERRLOC_ELEN register and can be disabled by writing to the PMERRLOC_ELDIS register. PMERRLOC_ELEN.ENINIT shall be initialized with the number of Galois field elements to test. The set of the roots can be limited to a valid range.

Table 36-1. ENINIT Field Value for a Sector Size of 512 Bytes
Error Correcting Capability ENINIT Value
2 4122
4 4148
8 4200
12 4252
24 4408
Table 36-2. ENINIT Field Value for a Sector Size of 1024 Bytes
Error Correcting Capability ENINIT Value
2 8220
4 8248
8 8304
12 8360
24 8528

When the PMERRLOC is searching for roots, PMERRLOC_ELSR.BUSY remains asserted. An interrupt is asserted at the end of the computation, and PMERRLOC_ELISR.DONE is set. PMERRLOC_ELISR.ERR_CNT indicates the number of errors. The error position can be read in the PMERRLOC_ELx registers.