there are LPDDR4 DRAMs which have integrated ECC error correction functionality (IME4G32L4HABG). These devices even have additional ERROR-pins which could be used to trigger an interrupt routine or reset the application upon detected errors.
The datasheet of these LPDDR4 describes that a certain bit in mode register MR33 needs to be set to activate these error-pins. To read out if the error was a single or a double bit error, there are also certain bits in MR33 that need to be read.
Is it possible to access MR33 with the i.MX8 ?
In MRCTRL0 bit 15-12 an address of the mode-register can be set, but it looks as if only MR0 to MR7 are supported. Even if all 4 bits were used for the address, this would only allow addressing max MR15.
But maybe there is some other trick to init MR33 during boot and eventually also to read MR33 during runtime of the application? Would you know that?