Hi, All and @candide
My test MicroSD card is rather old, 2 GB one.
1) Strange, but rSD32 lib cannot be used - ESP32 MCU is rebooted at SD.totalBytes, but previous SD.cardSize works OK:
Any idea why ?
2) Regular rSD works (not fully OK writing, debugging yet), reads and writes, but found that each 100 text lines (20 bytes each) - are written during ... 6+ seconds !
It is very slow.
What are your writing speed results ?
3)
My test MicroSD card is rather old, 2 GB one.
1) Strange, but rSD32 lib cannot be used - ESP32 MCU is rebooted at SD.totalBytes, but previous SD.cardSize works OK:
I was trying to init with low frequency also, but in vain.load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc
AppStart
SD card attached
check type of card:
SD Card Type: SD
SD Card Size: 1882
assert failed: xQueueSemaphoreTake queue.c:1653 (( pxQueue ))
Backtrace: 0x40082601:0x3ffb1ee0 0x400899fd:0x3ffb1f00 0x4008ea86:0x3ffb1f20 0x4008a176:0x3ffb2050 0x400d5a44:0x3ffb2090 0x400d4b73:0x3ffb20c0 0x400d4ef7:0x3ffb20f0 0x400e696d:0x3ffb2120 0x400e7299:0x3ffb2140 0x400e8d5f:0x3ffb2180 0x400d4a2a:0x3ffb21c0 0x400d3866:0x3ffb21f0 0x400d270d:0x3ffb2210 0x400d27af:0x3ffb2230 0x400d3aea:0x3ffb2250 0x400d8fbe:0x3ffb2270 0x4008bdc6:0x3ffb2290
ELF file SHA256: 462c4bd8e0f23235
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc
AppStart
SD card attached
check type of card:
SD Card Type: SD
SD Card Size: 1882
Any idea why ?
2) Regular rSD works (not fully OK writing, debugging yet), reads and writes, but found that each 100 text lines (20 bytes each) - are written during ... 6+ seconds !
It is very slow.
What are your writing speed results ?
3)
21:22:01.745 -> Reading file: /hello.txt
21:22:01.745 -> Read from file: Hello World!
21:22:01.745 -> Deleting file: /foo.txt
21:22:01.745 -> File deleted
21:22:01.745 -> Renaming file /hello.txt to /foo.txt
21:22:01.782 -> File renamed
21:22:01.782 -> Reading file: /foo.txt
21:22:01.782 -> Read from file: Hello World!
21:22:04.268 -> 1048576 bytes read for 2475 ms
21:22:08.076 -> 1048576 bytes written for 3773 ms
21:22:08.647 -> Total space: 1881MB
21:22:08.647 -> Used space: 21MB
21:22:01.745 -> Read from file: Hello World!
21:22:01.745 -> Deleting file: /foo.txt
21:22:01.745 -> File deleted
21:22:01.745 -> Renaming file /hello.txt to /foo.txt
21:22:01.782 -> File renamed
21:22:01.782 -> Reading file: /foo.txt
21:22:01.782 -> Read from file: Hello World!
21:22:04.268 -> 1048576 bytes read for 2475 ms
21:22:08.076 -> 1048576 bytes written for 3773 ms
21:22:08.647 -> Total space: 1881MB
21:22:08.647 -> Used space: 21MB
Last edited: