µTasker Forum
µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: fabio on July 30, 2007, 04:40:08 PM
-
Hello
I have a communication with SD-card with FAT and bootloader too to do with M52233.
if someone has some libraries that I can use to start..will be very appreciate...
best regards
Fabio
-
I have found an interesting library in sourceforge.net
"efsl.0-2-8"
The library currently supports FAT12/16/32 reading & writing on SD-cards, I try to use this and convert for codewarrior..
Regards
Fabio
-
I have finished with the SD-CARD.
If someone is interested he can found all at
http://sourceforge.net/projects/efsl/
with described all in this post
"EFSL with FREESCALE 52233 and Codewarrior"
best regards
Fabio
-
Hi Fabio
Congratulations on your work.
I checked the forum thread (http://sourceforge.net/forum/forum.php?thread_id=1813675&forum_id=447844) and will also mention your work to other interested users.
Thanks
Regards
Mark
-
Now I have the time to continue my work with sd-card...
I have to do the sd-card bootloader.
I think I can use the SPI EEPROM file system to start but instead of the spi EEPROM I use the spi sd-card.
A first problem is that at the start of the bootloader it looks for a new file in the sd-card with fat32 so I have to add the 18k of the sdcard file system in the utasker-boot and add 18k to the flash2 in the .lcf file.
Then I have to understand very well how the bootloader works... I try now..but for me is very difficult...
Please MArk, if you have some suggestion please give me.. if you think this is a wrong way...
thank you very much and best regards
Fabio
-
HI,
I am interested in having a look at an SD card, and cant find anything that describes the layout and programming of one. Can anyone point me to a site with thisinfo?
Regards
Neil
-
Hi Neil
You can find a lot of information in the link
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/efsl_arm/index.html
http://sourceforge.net/forum/forum.php?forum_id=447844
specificattions are in
http://www.sdcard.org/about/memory_card/pls/Simplified_Physical_Layer_Spec.pdf
best regards
fabio
-
Hi Fabio,
Thanks very much for the links.
Neil
-
Hi Neil
You can find a lot of information in the link
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/efsl_arm/index.html
http://sourceforge.net/forum/forum.php?forum_id=447844
specificattions are in
http://www.sdcard.org/about/memory_card/pls/Simplified_Physical_Layer_Spec.pdf
best regards
fabio
Hi Fabio,
I have been trying with no luck to communicate with an SD card using the SPI bus. After power is supplied I send it 0x40 0x00 0x00 0x00 0x00 0x95 to send it into spi mode, and whiche the chip select is low, I send it 0xff tillI get a reply.
I have stuck it on the logic analyser, and all the signals look perfect, except I dont get anything from the SD card ack. in spi mode. So I failed at the first hurdle.
Did you program it with spi mode? If so, how did you initialise the card?
Thanks
Neil
-
Hi ,
I got down to the root problem. I am using a micro SD card, and got some pin connections wrong .I didnt do enough search for micro SD pinouts.. :-[
Neil
-
Hi Fabio,
Have implemented the use of the a FAT system using the FatFS file system (http://elm-chan.org/fsw/ff/00index_e.html (http://elm-chan.org/fsw/ff/00index_e.html)).
In my effort to gain as much speed of the system as possible I was wondering when kind of transfer speed you got when accessing the card?
I have on my development board reach 341 Kbyte/s when writing and used 2048 byte of buffer.
Hope to hear from you.
Regards
Steen