I am trying to force erase a card but without any succes, someone on another forum helped me to write an CRC16 to send along the cmd42 with 3th bit set, but I cant get it to work. I am using Roland's library with some custom code. This is my code to send that command /** * \ingroup sd_raw * Sends a raw byte to the memory card. * * \param[ - Pastebin.com and this is crc.c, a small code what I got from someone to calculate the CRC16 #include <stdio.h>#include <string.h>#include <stdint.h>#define POLY 0x102 - Pastebin.com
In case if my eMMC doesnt supports SPI, how can I work with 1bit mode instead ? I never used that before and a small example how to do that on arduino would be perfect.
Hello,
I am also facing some confusion regarding interfacing with an eMMC card. I am not sure if it can be connected to a 4-bit wide data bus provided by the HSMCI interface on SAM3X. If anyone has done something like this before or has any information regarding this please share your experience. Thanks in advance.
Regards,
Owais.