eMMC power fail

Hi everyone,

happy new year first of all.

What happens if the power failes during a write/erase cycle on the eMMC?

In the anticle Preventing Filesystem Corruption in Embedded Linux I read about “Data Reliability Mode”, is this supported by Colibri iMX6?

Is there any hardware method, a capacitor or something, to prevent a power failure during a write/erase cycle?

Regards,
Grimme

hi @Grimme

Happy New Year!

What happens if the power fails during a write/erase cycle on the eMMC?

As most of the storage, the data which is being written may not written completely and so dataloss can hapen

In the anticle Preventing Filesystem Corruption in Embedded Linux I read about “Data Reliability Mode”, is this supported by Colibri iMX6?

Yes, this mode is supported by the used eMMC Flash for Colibri iMX6.

Is there any hardware method, a capacitor or something, to prevent a power failure during a write/erase cycle?

No, there is no capacitor the module to keep energy for eMMC in case of PowerFail. This PowerFail Proection Mechanism has to be placed on the carrier board.

Best regards, Jaski

hi @jaski.tx

This PowerFail Protection Mechanism has to be placed on the carrier board.

But this would mean, that the whole SOM must be supplied with power, since there is no external power pin for the eMMC itself.

Yeah, anyway the SOC must register the PowerFail and do a reaction for example not writing any more to the Flash when power failure occurs.