AtomSoft
Well-Known Member
I have a 8GB MicroSD which my phone and PC cant read anymore for some reason. Its asking me to format. So im taking my SD project to the next level. I have make a IMAGE function which will dump every sector into a file on my PC hopefully creating a full image of the card, then i plan to use some software to pry into that image and remove pictures and videos. would love some wishes of luck ! heh
Here is what i have so far and it seems to go through in a terminal so making a C# app now:
UART_STR("ATOMIMAGE\n"); is used to signify the start and end of transmission
Here is what i have so far and it seems to go through in a terminal so making a C# app now:
Code:
if(strncmp("IMAG",RX_CMD,4) == 0)
{
UART_STR("ATOMIMAGE\n");
for(x=0;x<(fs.max_clust-2);x++)
{
for(y=0;y<fs.csize;y++)
{
memset(IMAGEBUFF,0,512);
disk_readp(IMAGEBUFF,((x*fs.csize)+y),0,512);
UART_STR(IMAGEBUFF);
}
}
UART_STR("ATOMIMAGE\n");
goto Done;
}
UART_STR("ATOMIMAGE\n"); is used to signify the start and end of transmission
Last edited: