Search found 984 matches

by Pito
Sun May 21, 2017 8:21 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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: 128
Views: 1324

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).
by Pito
Thu May 18, 2017 10:37 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 128
Views: 1324

Re: [STM32GENERIC] SDIO DMA

Can someone please provide a binary file for black F407VE board? Then I would test it, too. Here you are - SerialUSB, SDIO at 24MHz, Fcpu 168MHz, HW flow ctrl disabled, 4bit mode enabled, prints error numbers with function name out. Place a file "test_in.bin" onto your Sdcard. You have to...
by Pito
Thu May 18, 2017 9:00 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 128
Views: 1324

Re: [STM32GENERIC] SDIO DMA

It would be great if someone else did the tests with SDIO too. Here is the "COPY TEST" I published on this forum a year back - here the version with SDIO. Simply copy a file of "any size" to the Sdcard, rename it to "test_in.bin". After the running the sketch it copies ...

Go to advanced search