I've gone on MMC fat16 test again, this time with mC 2.1. No success. I've problem with all MMC I've tested and with mBasic 2.004 and mC 2.100 (chip is new 18F452).
I really don't realize what's the problem. zristic say that mmc-fat lib is working fine.
I format MMC with FAT16 (but same problem with FAT12).
I run MMC_fat example (just to be sure in both mBasic and mC).
The result is :
1.mC : program stops inside MMC_fat_assign(<name>) or MMC_fat_rewrite(); MMC_fat_init() is executed with NO errors.
2.mBasic : program run to the end but dir entries (filename) are written to logical sector 1 and not in root dir as expected (logical sector 488).
Any idea or help is appreciated
PS: I checked pins, cables, connectors from MMC board to easyPic2...
MMC again
Re: MMC again
Do the basic MMC test, to see whether the MM card you have can be accessed by the MMC library (use the MMC example and MMC Terminal Tool). Try reading and writing a few sectors through the MMC Terminal. If this goes OK, then you should go to MMC_fat.
pizon
Thanks pizon,
I forgot to mention, just to complicate the things, that the sector_read/write functions are working fine, in mBasic like mC, for MMC and for SD.
Now I'm collecting some other MMC card just to see if my 4 MMC cards are not compatible. To add more, I've used 32MB, 128MB, 256MB mmc. Compact Flash Fat functions are working fine.
Really incredible issue...
I forgot to mention, just to complicate the things, that the sector_read/write functions are working fine, in mBasic like mC, for MMC and for SD.
Now I'm collecting some other MMC card just to see if my 4 MMC cards are not compatible. To add more, I've used 32MB, 128MB, 256MB mmc. Compact Flash Fat functions are working fine.
Really incredible issue...
Ciao
Dome
Dome