About the sd issue I have no clue. have you tried an other Card to see if the error also occures?
I have two different go's but never had this error…
Maybe on the debug promt it says more, you can access it with the usb connected and the tool putty…
(Connection Type: Serial, Speed: 115200)
good idea! It says:
Scumm GO (20200109-bab709e433).
odroid_input_gamepad_init done.
ili9341_init: line_buffer_put(0x3ffd8a14)
spi_task: Entered.
ili9341_init: line_buffer_put(0x3ffd9698)
LCD: calling ili_init.
LCD: calling backlight_init.
LCD Initialized (40000000 Hz).
ADC: Characterized using eFuse Vref
E (400) spi_master: spi_bus_initialize(242): host already in use
I (400) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1450) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1450) spi_master: spi_bus_free(359): not all CSses freed
odroid_sdcard_open: esp_vfs_fat_sdmmc_mount failed (263)
abort() was called at PC 0x400d5773 on core 0
Hmm, I don't think that's the card. Seems to be anything with the SPI-Bus. I use a Sony 32 GB. No Problems anywhere in Odroid Go System with it.
Maybe the Multi-Boot-Super-Firmware in the background?
But why should that hold the SPI-connection exclusive open and give them free by selecting and starting a firmware?
On the other side: I have no problems with other firmwares with the Multiboot...
I think, this is the place in your code, which generate the error:
// Prepare SD-Card
esp_err_t r = odroid_sdcard_open(SD_BASE_PATH);
if (r != ESP_OK)
{
odroid_display_show_sderr(ODROID_SD_ERR_NOCARD);
abort();
}
Hmm, found
viewtopic.php?t=31823 with the same error. Maybe it's my SD-Card in this special Case.
Will try it with an Samsung 32GB instead of the Sony 32GB...
Ah YES! This does the trick! Bad Sony, bad, bad guy!
Thanks for the tip, Johannes!