And again someone who has problems with esp32 and sd cards

kearins
Posts: 21
Joined: Sun Jul 23, 2017 11:48 pm

Re: And again someone who has problems with esp32 and sd cards

Postby kearins » Sat Sep 09, 2017 1:29 am

At last, after days of experiments, hours of disappointments, I did it! I've got 3Mb/s write speed in fat file system with 4-line mode:

Code: Select all

I (178) MAIN: Initializing SD card
I (178) MAIN: Using SDMMC peripheral
I (3185) MAIN: host.slot=1 host.max_freq_khz=50000
I (3185) MAIN: Mounting FAT...
I (3247) MAIN: esp_vfs_fat_sdmmc_mount() ret=0
Name: RUNSD
Type: SDHC/SDXC
Speed: high speed
Size: 30672MB
CSD: ver=1, sector_size=512, capacity=62816256 read_bl_len=9
SCR: sd_spec=2, bus_width=5
I (3253) MAIN: card->csd.tr_speed=50000000
I (3257) MAIN: Opening file
I (6368) MAIN: (  0) File written in 3107ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (9347) MAIN: (  1) File written in 2978ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (12630) MAIN: (  2) File written in 3283ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (15412) MAIN: (  3) File written in 2782ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (18676) MAIN: (  4) File written in 3264ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (21967) MAIN: (  5) File written in 3291ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (24726) MAIN: (  6) File written in 2759ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (28000) MAIN: (  7) File written in 3274ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (31049) MAIN: (  8) File written in 3049ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (34052) MAIN: (  9) File written in 3002ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
I (37333) MAIN: ( 10) File written in 3279ms, bytesWritten=10485760 (10.00Mb) cntWrites=640
Attachments
SDCard-4pin-Solder.jpg
How my soldered sdcard adapter looks like.
SDCard-4pin-Solder.jpg (294.55 KiB) Viewed 4911 times
SDCard-4pin-Connect.jpg
The sdcard is inserted into adapter and connected to esp32 board.
SDCard-4pin-Connect.jpg (292.4 KiB) Viewed 4911 times

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: And again someone who has problems with esp32 and sd cards

Postby ESP_krzychb » Sat Sep 09, 2017 7:24 am

Congratulations!
Nice "Manhattan style" wiring.

hans_mueller
Posts: 1
Joined: Mon Jun 13, 2022 1:58 pm

Re: And again someone who has problems with esp32 and sd cards

Postby hans_mueller » Mon Jun 13, 2022 2:00 pm

It seems that I am having the same problem. I followed your steps, which made it all work in 1Bit mode. Have you figured out how to use 4Bit mode? Thanks.

ShaniAkalanka
Posts: 1
Joined: Thu Jul 21, 2022 9:04 am

Re: And again someone who has problems with esp32 and sd cards

Postby ShaniAkalanka » Thu Jul 21, 2022 9:10 am

May I know if two esp32 can be connected to one sd card? If so, how to connect it? Please help me know about it.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 98 guests