2014-01-22 11:31 AM
i use fatfs and i read at about 200to300KB/SECOND
it's very low speed . i test sd card speed from computer and it's speed reading 12.5MB/SECOND how to speed up sd card reading i want about 5MB/sec are this hard ? #metoo-maybe2014-01-25 01:41 PM
i try your hex file and it's like magic i read 9.5MB/SEC AT 42MHZ ONLY !!!. how you make this ? you are Genius 0.o plaese tell me how you do it pleas. and thank you alot for helping me i love you. you helping me alot from start .
FatFs Testing for asr.ahmed STM32 Forum
---- 0 /DIR.TXT
---- 4 /LENGTH.TXT
---- 125 /LOG.TXT
---- 32768000 /SPEEDTST.BIN
---- 2419206 /1.BMP
Done
STM32 1024 KB FLASH, 192 KB RAM, 00240021-34314719-36343236 UNIQUE
SYS:42000000, H:42000000, P1:42000000, P2:42000000
CPU:42000000, SDIO:48000000,24000000
CRC32 C47004E3 Memory Image
32768000 Bytes, 481981050 Cycles
2.855415 MBps Write (FatFs)
CRC32 C47004E3 SPEEDTST.BIN
32768000 Bytes, 487387505 Cycles
2.823741 MBps Write (FatFs)
CRC32 C47004E3 SPEEDTST.BIN
32768000 Bytes, 145517716 Cycles
9.457653 MBps Read (FatFs)
32768000 Bytes, 145511631 Cycles
9.458048 MBps Read (FatFs)
Done
2014-01-27 04:17 AM
pleas help me your code reading 9.5MB/s and writing at 4MB/S.it's Fantastic
but my code reading onlly about 200 to 300KB/s . please help me any source code please2014-01-27 04:46 AM
Hi,
1. What card you use, there are card speed class rating:http://kb.sandisk.com/app/answers/detail/a_id/1996/~/difference-between-speed-class,-uhs-speed-class,-and-speed-ratings2. How you measure the speed of your microSD card, I use Systick for that.3. I somehow cannot use 4-bit mode, so in 1-bit mode I have ~2.5MB/s write and read @24MHz SDIO clock. I use 32786 bytes for transfering, CPU clocked at 168MHz. Like Clive said possible to go with aggressive clocks and get more speed.In your case try to go from 4-bits to 1-bit and see what happens. With 10cm wires you should be ok.2014-01-27 04:47 AM
2014-01-27 05:54 AM
I need to package the Keil project in a form I'm willing to release, this might take a day or two to get to. The core code is functionally identical to the one I've released for the STM32F4-DIS-BB board, with the Card Select functionality suppressed. Send me an email.
2014-01-27 11:53 PM
clive1 i tried to put my microsd card to stm3210E-Eval board, and it did not want to work in 4-bit mode, really strange.. Maybe something wrong with my sd card..
2014-01-30 06:02 AM
ok i'm waiting .
this my e-mail if you need it elec_st@yahoo.com thank you2014-02-11 06:06 AM
thank you clive1,thank you clive1
thank you clive1
thank you clive1
thank you clive1
thank you clive12014-04-29 07:52 AM
Hello Clive1,
I am having the same issues than asr.ahmed with the sd read/ write speed, I am also using a ''long'' wire with both STM32F429I-DISCO and STM32F4-Discovery and my code for testing the speed only reaches 200 KB/s. Where did you post the code you are talking about? If you haven't posted it anywhere, would it be possible that you send me it via email? I would like to have a look at it and then try to adapt it to my code. My email is rbordalba@hotmail.com Ricard2014-04-29 08:11 AM
Where did you post the code you are talking about?
On the forum in dozens of places, there is a link to one within this thread itself. SDIO is problematic on the STM32F429I-DISCO because one of the LCD Red pins falls in the middle of the 4-bit SDIO implementation. This is a fairly current build for the STM32F401C-DISCO and STM32F4-DIS-BBhttps://drive.google.com/file/d/0B7OY5pub_GfIU0VFWWs2dmxKOFE/edit?usp=sharing