I want to use the ex_fat example with the pic 24hj256gp610 and a micro SD card.
I have tested the hardware with ex_mmcsd.c code and I was able to store a value in a memory location and retrieve it to check if it fit with what I set. So I think the hardware is ok, although after I format the sd card the value is the same.
When I test the ex_fat code I get the error "ERROR INITIALIZING FAT".
The sd card is formated fat32 and unit size 512.
Any idea?
Ttelmah
Joined: 11 Mar 2010 Posts: 19518
Posted: Sun Jan 16, 2011 5:28 am
Obviously check that fat.c, has FAT32 selected. What compiler version?. Were quite a few reports of problems in the past.....
Best Wishes
tzbuu
Joined: 24 Sep 2010 Posts: 2
Posted: Sun Jan 16, 2011 5:35 am
I had select the #define FAT32. My compiler version is 4.105.
I also correct the "get_next_addr" and "get_prev_addr" function without any luck.
Thank you.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum