Hi, I created an application that write on sd card, but i need to write the sd in high speed (at least 4MB/s). I used the library diskio.c, and the program run and write, but actually i write 5MB in 40s. It's too bad for me, do you have any suggest?
Hi, I created an application that write on sd card, but i need to write the sd in high speed (at least 4MB/s). I used the library diskio.c, and the program run and write, but actually i write 5MB in 40s. It's too bad for me, do you have any suggest?
Your SD Card write speed depends on several things, including the type of SD Card itself. So the first thing you can do is get a 'fast' SD Card. A quick google search turned up several posts that might be helpful:
http://zedboard.org/content/standalone-sd-card-sdio
http://zedboard.org/content/sdio-bare-metal-perfomance
http://zedboard.org/content/sd-card-classes
http://zedboard.org/content/zedboard-sd-reader-compatible-ultra-high-speed-sd-cards
-Gary
i tested my application with a sd class 10, but the write throughput of the board seems be too low.
8Mb in about 2 seconds: https://dl.dropboxusercontent.com/u/15987625/sdTest_led.7z
could you send me the hw configuration? the project open only the sdk, and with my hw configuration it don't work.
While yaro123 has been able to achieve the 4MB/sec goal, I believe you are pushing the limits of a class 10 SD card. It may be difficult to replicate this performance consistently, which is one of the problems with using SD cards in production - they are pretty slow for data transfer. One alternative for production would be to use Micron eMMC, which behaves much like a wired-in SD card, but with much higher performance and none of the mechanical issues. PicoZed is an example of a board that includes eMMC memory.
So I'm not saying this solves your problem for other Zynq reference boards, but I wanted to make everyone aware of this option for production designs.
Ron
It's standard Zedboard preconfig. You can open it with Vivado 2014.4 webpack license.