Search found 986 matches

by Pito
Thu May 25, 2017 2:02 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

by Pito
Thu May 25, 2017 8:13 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

Use SdFat from github
https://github.com/greiman/SdFat
instead of the SdFat-beta. The beta is old and has been merged to SdFat a month ago.
by Pito
Sun May 21, 2017 8:21 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

useDMA true (Samsung CL10 16GB): Use a freshly formatted SD for best performance. Type any character to start FreeStack: 60907 Invalid format, reformat SD. Use a freshly formatted SD for best performance. Type any character to start FreeStack: 60907 HAL_SD_WideBusOperation_Config Error: 1 Can't acce...
by Pito
Sun May 21, 2017 6:58 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

victor_pv wrote:
Pito wrote:
Where did you add the code to show the error codes? let's add that to the bench test to see what kind of errors are we getting.

viewtopic.php?f=51&t=2036&start=90#p28184


I mean in the source code, so I can add it to the code.

There is the source code - SDIO.cpp.
by Pito
Sat May 20, 2017 4:29 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

Where did you add the code to show the error codes? let's add that to the bench test to see what kind of errors are we getting.

viewtopic.php?f=51&t=2036&start=90#p28184
by Pito
Sat May 20, 2017 9:59 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

With CL10 Samsung and Sandisk: Use a freshly formatted SD for best performance. Type any character to start FreeStack: 125615 Can't access SD card. Do not reformat. SD errorCode: 0X64,0X0 With CL4 Sandisk: File size 5 MB Buffer size 512 bytes Starting write test, please wait. write speed and latency...
by Pito
Sat May 20, 2017 6:38 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

You must have 32kB buffer with SDIO to see higher speeds.
by Pito
Fri May 19, 2017 3:25 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

Great! So typical errors are 2, 3, 5, 16.
by Pito
Thu May 18, 2017 2:22 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

.. I have run the bench a bunch of times, but it just doesn't fail with my cl4 card, so I can't see where any error comes from. I need to find a cl10 so I can repeat the tests... The bench works with CL4 here as well. The issue is visible with CL10, and when you work with large files and CL4. I sus...
by Pito
Thu May 18, 2017 2:11 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 137
Views: 1430

Re: [STM32GENERIC] SDIO DMA

Do we use DMA? Based on the Copy results it seems to me we do not (doubling the clock results in 1.6x only).

Go to advanced search