KurtE
Senior Member+
@mjs513 - I figured my T41 with the soldering touchup was probably dry enough so tried running the test I mentioned above
I then compiled your sketch (needed to convert teensy41_extram to the SPIFFS-FLASH-ONLY branch...
Ran your version...
Not sure of the debug output? But the timing looking interesting
Code:
C:\Users\kurte\Documents\Arduino\bar\bar.ino Nov 27 2020 10:02:42
LittleFS - Chip Lookup: ef 40 18
24 - 100 1000 1000000 bb8 61a80 402a4000
Started QSPI_DISK
Bytes Used: 8314880, Bytes Total:16777216
Start Big write of 4129968 Bytes............
Big write took 51.69 Sec for 4128000 Bytes : file3.size()=12408000
file3.position()=12408000
Big write KBytes per second 79.85
Bytes Used: 12451840, Bytes Total:16777216
I then compiled your sketch (needed to convert teensy41_extram to the SPIFFS-FLASH-ONLY branch...
Ran your version...
Code:
C:\Users\kurte\Documents\Arduino\Teensy Tests\T41_bigfile_spiffs\T41_bigfile_spiffs.ino Nov 27 2020 10:09:02
PSRAM: 8 MB
Enter 'y' in 6 seconds to format FlashChip - other to skip
Erasing... (may take some time)
.............................................................................
Chip erased in 38 seconds.
Mount SPIFFS:
Mount ADDR 0x800000 with res: 0
Directory contents:
Getting space
Bytes Used: 0, Bytes Total:15414161
Start Big write of 7504000 Bytes
1
. Bytes To Write:7188000 Bytes Used: 322786, totalSize =15414161 {diff=15091375)
. Bytes To Write:6868000 Bytes Used: 645321, totalSize =15414161 {diff=14768840)
. Bytes To Write:6548000 Bytes Used: 967856, totalSize =15414161 {diff=14446305)
. Bytes To Write:6228000 Bytes Used: 1290642, totalSize =15414161 {diff=14123519)
. Bytes To Write:5908000 Bytes Used: 1613177, totalSize =15414161 {diff=13800984)
. Bytes To Write:5588000 Bytes Used: 1935712, totalSize =15414161 {diff=13478449)
. Bytes To Write:5268000 Bytes Used: 2258498, totalSize =15414161 {diff=13155663)
. Bytes To Write:4948000 Bytes Used: 2581033, totalSize =15414161 {diff=12833128)
. Bytes To Write:4628000 Bytes Used: 2903568, totalSize =15414161 {diff=12510593)
. Bytes To Write:4308000 Bytes Used: 3226103, totalSize =15414161 {diff=12188058)
. Bytes To Write:3988000 Bytes Used: 3548638, totalSize =15414161 {diff=11865523)
. Bytes To Write:3668000 Bytes Used: 3871173, totalSize =15414161 {diff=11542988)
. Bytes To Write:3348000 Bytes Used: 4193708, totalSize =15414161 {diff=11220453)
. Bytes To Write:3028000 Bytes Used: 4516494, totalSize =15414161 {diff=10897667)
. Bytes To Write:2708000 Bytes Used: 4839029, totalSize =15414161 {diff=10575132)
. Bytes To Write:2388000 Bytes Used: 5161564, totalSize =15414161 {diff=10252597)
. Bytes To Write:2068000 Bytes Used: 5484099, totalSize =15414161 {diff=9930062)
. Bytes To Write:1748000 Bytes Used: 5806885, totalSize =15414161 {diff=9607276)
. Bytes To Write:1428000 Bytes Used: 6129420, totalSize =15414161 {diff=9284741)
. Bytes To Write:1108000 Bytes Used: 6451955, totalSize =15414161 {diff=8962206)
. Bytes To Write:788000 Bytes Used: 6774490, totalSize =15414161 {diff=8639671)
. Bytes To Write:468000 Bytes Used: 7097025, totalSize =15414161 {diff=8317136)
. Bytes To Write:148000 Bytes Used: 7419560, totalSize =15414161 {diff=7994601)
Big write took 14.49 Sec
Big write KBytes per second 518.04
bigfile.txt [0001] size:7504000