Quote:
Originally Posted by sig11
Try to use :
DSTATUS disk_initialize (BYTE disk)
{
write_mem(CLOCK_PWRCON,read_mem(CLOCK_PWRCON) | 0x4);
printf("disk_initialize(%d)\n",disk);
return RES_OK;
}
before work with SD
|
oh maan. It works now!! It can access SDCard while being executed from flash! If only we had access to flash memory we could even transfer files between these two drives.
Also, it runs so much faster if run from flash! Awesome, you re good. Maybe you have some ideas about flash memory then?