Search found 1118 matches

by Pito
Sun Jun 25, 2017 6:13 pm
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 11
Views: 220

Re: [STM32GENERIC] Latest - issues

Btw, I think the GPIO speed setting was set to "MEDIUM" due to Pito's recommendation for F4 SDIO to work. Trust, but verify :) Here with VERY_HIGH gpio speed at SPI 36MHz, Samsung: Use a freshly formatted SD for best performance.. ************************************************* Opening the read f...
by Pito
Sun Jun 25, 2017 2:29 pm
Forum: General discussion
Topic: Should we still use optimisation level -Os (Small)
Replies: 11
Views: 109

Re: Should we still use optimisation level -Os (Small)

Do overclock - 100MHz might solve your problems :)
by Pito
Sun Jun 25, 2017 12:16 pm
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 11
Views: 220

Re: [STM32GENERIC] Latest - issues

This is the Sandisk at 18MHz SPI (36MHz SPI with the error as above) in the bench: File size 5 MB Buffer size 512 bytes Starting write test, please wait. write speed and latency speed,max,min,avg KB/Sec,usec,usec,usec 1946.16,24128,254,261 1964.51,11305,254,258 1926.66,36394,254,263 Starting read te...
by Pito
Sun Jun 25, 2017 11:35 am
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 11
Views: 220

Re: [STM32GENERIC] Latest - issues

And how is performing with a 102400kB file? F103ZET, 72MHz, 18MHz SPI, flash ws=2, Buffersize = 32kB, SdFatEX, 104.4MB file, Samsung EVO CL10 Use a freshly formatted SD for best performance.. ************************************************* Opening the read file.. Opening the write file.. Reading ...
by Pito
Sun Jun 25, 2017 11:18 am
Forum: Problems with libraries
Topic: SdFat - file.write() fix
Replies: 0
Views: 21

SdFat - file.write() fix

It seems the file.write(buf,bufsize) for bufsizes >128kB crashes, BillG has offered to me the following fix which works here: Try the following changes to src/FatLib/FatFile.cpp At line 769 change uint8_t nb = toRead >> 9; to size_t nb = toRead >> 9; At line 1442 change uint8_t nBlock = nToWrite >> ...
by Pito
Sat Jun 24, 2017 9:32 pm
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 11
Views: 220

Re: [STM32GENERIC] Latest - issues

Updated my local repo again with today's latest changes.. After an hour coping with errors I finally added to compile options the new ARCH flag (Blue F103ZET, 72/18MHz, SPI, SdFatEX, Buf=32kB, 2MB file) -DSTM32F1 -D__STM32F1__ -DARDUINO_ARCH_STM32 and got: Use a freshly formatted SD for best perform...
by Pito
Fri Jun 23, 2017 5:31 pm
Forum: STM32generic
Topic: [STM32GENERIC] Latest - issues
Replies: 11
Views: 220

Re: [STM32GENERIC] Latest - issues

But under Generic?