You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update the OpenBikeSensor firmware from v0.18.849 to v0.19.877 via OTA, the firmware is downloaded to the SD card and the OBS reboots into the OpenBikeSensorFlash application.
However when the OpenBikeSensorFlash application tries to initialize the SD card, it fails with the following errors:
I (337) sdspi_transaction: cmd=52, R1 response: command CRC error
E (337) sdmmc_io: sdmmc_io_reset: unexpected return: 0x109
E (347) vfs_fat_sdmmc: sdmmc_card_init failed (0x109).
The issue appears on 3 OBS.
Using the proposed SanDisk Ultra 16 GB (10) A1.
Also tried with a SanDisk High Endurance 32 GB (10) V30.
Tried with OpenBikeSensorFlash v0.1.22 and v0.2.38.
Full log:
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x1b (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
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13104
load:0x40080400,len:3036
entry 0x400805e4
I (175) cpu_start: Pro cpu up.
I (175) cpu_start: Application information:
I (175) cpu_start: Project name: OpenBikeSensorFlash
I (179) cpu_start: App version: v0.1.22
I (183) cpu_start: Compile time: Apr 25 2021 08:46:20
I (190) cpu_start: ELF file SHA256: 3a53a4365bd16091...
I (196) cpu_start: ESP-IDF: 3.40200.210118
I (201) cpu_start: Starting app cpu, entry point is 0x40081b6c
I (194) cpu_start: App cpu up.
I (212) heap_init: Initializing. RAM available for dynamic allocation:
I (219) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (225) heap_init: At 3FFB27A0 len 0002D860 (182 KiB): DRAM
I (231) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (237) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (244) heap_init: At 4008A65C len 000159A4 (86 KiB): IRAM
I (250) cpu_start: Pro cpu start user code
I (268) spi_flash: detected chip: generic
I (269) spi_flash: flash io: dio
I (269) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (277) flash-sd: OpenBikeSensorFlash version v0.1.22.
I (287) flash-sd: Reset reason 0x3.
I (287) flash-sd: Running partition: flashApp
I (297) flash-sd: App 'OpenBikeSensorFlash', Version: 'v0.1.22'
I (297) flash-sd: IDF-Version: '3.40200.210118'
I (307) flash-sd: sha-256: 3a53a4365bd160913e356f54b5d9056323bb7f837d77a3cf9c69d6d0f859fbbb
I (317) flash-sd: date: 'Apr 25 2021', time: '08:46:20'
I (317) flash-sd: Initializing SD card
I (327) gpio: GPIO[5]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (337) sdspi_transaction: cmd=52, R1 response: command CRC error
E (337) sdmmc_io: sdmmc_io_reset: unexpected return: 0x109
E (347) vfs_fat_sdmmc: sdmmc_card_init failed (0x109).
I (347) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
abort() was called at PC 0x400d1359 on core 0
Backtrace:0x40084b4e:0x3ffb44b0 0x40085131:0x3ffb44d0 0x40087e56:0x3ffb44f0 0x400d1359:0x3ffb4560 0x400d7dcb:0x3ffb4630
ELF file SHA256: 3a53a4365bd16091
Rebooting...
The text was updated successfully, but these errors were encountered:
michael-aux
changed the title
Initialization of SD card fails ("sdmmc_card_init failed (0x109)")
Initialization of SD card fails: "sdmmc_card_init failed (0x109)"
Mar 9, 2024
When trying to update the OpenBikeSensor firmware from v0.18.849 to v0.19.877 via OTA, the firmware is downloaded to the SD card and the OBS reboots into the OpenBikeSensorFlash application.
However when the OpenBikeSensorFlash application tries to initialize the SD card, it fails with the following errors:
The issue appears on 3 OBS.
Using the proposed SanDisk Ultra 16 GB (10) A1.
Also tried with a SanDisk High Endurance 32 GB (10) V30.
Tried with OpenBikeSensorFlash v0.1.22 and v0.2.38.
Full log:
The text was updated successfully, but these errors were encountered: