Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Change ECC configuration to dual error detection (DED) mode in S26KL/KS-S HYPERFLASH™ - KBA233612
You can enable the DED mode by programming ‘0’ to the ASP configuration register bit 9 (ASPR).
Consider the following precautions when enabling the DED mode:
ASPR holds non-volatile and one-time programmable (OTP) bits. After enabling the DED mode by programming ‘0’ to ASPR, you cannot revert the bit back to ‘1’.
In the DED mode, multiple program operations to the same 16-byte half-page (without an erase) are not allowed. Attempting to program more than once in the same 16-byte half-page will result in program failure.
Programming any data to flash before enabling the DED mode generates the ECC for that data based on the single-bit error correction (SEC) scheme. Reading SEC-based ECC by the DED scheme will result in an undefined behavior. Therefore, non-blank sectors must be erased before changing the ECC configuration to DED mode.