Page 3 of 3
Re: MMC card reader on ECIO
Posted: Wed Aug 25, 2010 9:41 am
by Benj
Ben, do I have to do any corrections to the file provided?
No the file will work as is in normal FAT16 only mode.
If I am going to use mode3 should I erase the other( 1 and 2)?
No you simply change the value of the definition at the top of the program. This change then automatically ripples through the code.
Also you are saying about commenting out this one:
This has been done for you in the later version of the component.
Re: MMC card reader on ECIO
Posted: Tue Aug 31, 2010 5:42 am
by achillis1
Hello Ben,
When you said :
No you simply change the value of the definition at the top of the program. This change then automatically ripples through the code.
you meant to change the value at this line:
#define MX_FAT_TYPE 0//%l //0-FAT16(FAT) / 1-FAT32 / 2-FAT16&32?
So if I want to work with mode 2 I will have to do this : #define MX_FAT_TYPE 0//%l //0-FAT16 / 1-FAT32
(FAT) / 2-FAT16&32 ?
Thank you
Re: MMC card reader on ECIO
Posted: Tue Aug 31, 2010 10:02 am
by Benj
Hello Achillis
If you want to work with mode 2 then you have to change the line to look klike this.
#define MX_FAT_TYPE 2
Or to change back to standard
#define MX_FAT_TYPE 0
The text after the comment "//" is simply showing what changing the value does and is not needed for the define to work.
Re: MMC card reader on ECIO
Posted: Wed Sep 01, 2010 11:42 am
by achillis1
Off course! My mistake

I am not so good at understanding programming language!
Thank you Ben.