2008-09-10 10:45 PM
SD card Block Write less than 512 bytes
2011-05-17 12:55 AM
HI all,
I am using 512MB SDcard of physical layer version 1.0.In CSD partial block write bit is 0,means it wont allow block write less than 512 bytes.Still it is allowing me to write block less than 512 bytes but it is not writting at the exact address given as parameter.It starts writting from the block aligned address(given address as parameter % 512).So whenever I write 4 characters from address 3.It writes 4 charactes from address 0. Please inform me about the solution if anybody has. Regards Sai2011-05-17 12:55 AM
Hi
I've used SD card and tryied to build an FAT16 fs over it, but when i write a file, PC recognize it but never find. To it, i founda cool library (most of the work done) in ST PowerPac examples. There is a specific example for STR912-SK board to use USB and the SD card as PenDrive. Try to find same help by using mmc.c, ssp.c and other stuff like those files. Hope it help :)2011-05-17 12:55 AM
Hi,
I use a SD card on my project, as an STR912. We use the EFSL library. Works marvelously with FAT 12-16-32 (< 2 Gbyte) Just to do a STR912 port, for the ARM9 SSP, ask me, i will give mine. Regards. Damien2011-05-17 12:55 AM
Hi ricardo marinheiro
Thanks for reply. I have already tried it.But it didn't help me. Regards Sai2011-05-17 12:55 AM
What is the full path for ''ST PowerPac''
I am also having problems with the USB not being fast & over-running buffers for the PC Any Ideas I am using ''Jungo'' which worked for the Cypress chip2011-05-17 12:55 AM
Hi dhoyen
Can you please send me the project u have done on str912 with EFSL library for SD card Best Regards Sai [ This message was edited by: sr_shinde on 11-09-2008 05:57 ]2011-05-17 12:55 AM
Hi,
Here, you will find the Port (str91x_efls_spi.c and h) Also a PULS_HAL.c and h, where is stored few fonction to init the SSP port, evaluate speed (the initialisation MUST be done with a speed < 400 Khz, after, you can increase, if success...), port config... It's my full file, plenty of code is not necessary in your case. Also a file with the define Note) The RTC support have been implememted, for date/time support Regards.