SD card 0x107 errors after Aug22 commit 0532d37

perryc
Posts: 18
Joined: Fri Feb 17, 2017 1:29 am

SD card 0x107 errors after Aug22 commit 0532d37

Postby perryc » Mon Sep 04, 2017 1:14 pm

Something's up with SD card support for commits later than 0532d37. sd_card example program gives 0x107 errors - 0532d37 and all prev. builds we've tried going back to last year have been working.

And also does esp-idf 3.0 change esp_event_loop_init() ? Not getting events to our event handler.

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

Re: SD card 0x107 errors after Aug22 commit 0532d37

Postby kearins » Sat Sep 09, 2017 7:12 pm

I've tried commit 050ae50 (07 sep 2017), sd card works in 4-line mode with fat filesystem at high speed:

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

perryc
Posts: 18
Joined: Fri Feb 17, 2017 1:29 am

Re: SD card 0x107 errors after Aug22 commit 0532d37

Postby perryc » Thu Sep 14, 2017 12:27 am

Thanks for the reply - Yes Sept 4 SD related commits seem to have fixed our 4 wire SD card mount issues. Or at least the sept 13 head works and sept 3 was broken.

Perry

Who is online

Users browsing this forum: No registered users and 2 guests