Is there a way to "reset" an emmc module to factory state?

Is there a way to "reset" an emmc module on la frite (or any way even outside of it)?

My emmc is not working correctly after sudden power loss and now shows as a 2TB (real 8GB model) emmc that balena can't write to from Windows. Even appears as 2TB from the Console (selected in the boot menu)
mmcinfo output from console here:
mmcinfo
Device: mmc@74000
Manufacturer ID: 65
OEM: 646f
Name: M MOR
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 4.4.1
High Capacity: Yes
Capacity: 2TiB
Bus Width: 8-bit
Erase Group Size: 512 Bytes
HW WP Group Size: 512 KiB
User Capacity: 2TiB
Boot Capacity: 2 MiB ENH
RPMB Capacity: 128 KiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
When trying to format the drive under Armbian I get this:
Command used:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1
The command just hangs there with no other output so I open another ssh session and execute dmesg.
Error message on dmesg:
Buffer I/O error on dev mmcblk0

Sign In or Register to comment.