turgu1 / EPub-InkPlate

An EPub Reader for the ESP32 based InkPlate e-Ink devices.
228 stars 8 forks source link

Inkplate 10, continually restarts after upload #10

Closed 0xtheo closed 2 years ago

0xtheo commented 3 years ago

Figured out I had a 64GB sd card which was in ExFat format, when I changed to a 16GB in FAT32 format, then things were working :)

Originally posted by @mhfowler in https://github.com/turgu1/EPub-InkPlate/issues/4#issuecomment-826303732

Having a similar issue as resolved in comment above but with the Inkplate 10.

Using version: release-1.3.1-inkplate_10, no problems running Inkplate_Basic_BW.

After uploading stuck in restart loop, error text below. I've tried multiple FAT32 sd cards of different sizes (64GB, 32GB, 16GB) and same looping reboot text. Any ideas on troubleshooting next steps?

Output from minicom:

ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x32 (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:1580
ho 0 tail 12 room 4
load:0x40078000,len:12692
load:0x40080400,len:3080
entry 0x400805e4
I (730) psram: This chip is ESP32-D0WD
I (732) spiram: Found 64MBit SPI RAM device
I (732) spiram: SPI RAM mode: flash 40m sram 40m
I (733) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (741) cpu_start: Pro cpu up.
I (744) cpu_start: Starting app cpu, entry point is 0x40083b3c
I (737) cpu_start: App cpu up.
I (1633) spiram: SPI SRAM memory test OK
I (1642) cpu_start: Pro cpu start user code
I (1642) cpu_start: cpu freq: 240000000
I (1642) cpu_start: Application information:
I (1645) cpu_start: Project name:     EPub-InkPlate
I (1650) cpu_start: App version:      1.3.1
I (1655) cpu_start: Compile time:     Sep 26 2021 13:44:26
I (1661) cpu_start: ELF file SHA256:  303e9a8a480a7054...
I (1667) cpu_start: ESP-IDF:          4.3.0
I (1673) heap_init: Initializing. RAM available for dynamic allocation:
I (1680) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1686) heap_init: At 3FFC1298 len 0001ED68 (123 KiB): DRAM
I (1692) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1699) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1705) heap_init: At 4009FD28 len 000002D8 (0 KiB): IRAM
I (1711) spiram: Adding pool of 4085K of external SPI memory to heap allocator
I (1721) spi_flash: detected chip: gd
I (1724) spi_flash: flash io: dio
I (1735) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1738) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
This is esp32 chip with 2 CPU core(s), WiFi/BT/BLE, silicon revision 1, 4MB external flash
Minimum free heap size: 4374583 bytes
Heap summary for capabilities 0x00000C06:
  Totals:
    free 0 allocated 0 min_free 0 largest_free_block 0
I (1768) main: EPub-Inkplate Startup.
I (1878) SDCard: Setup SD card
I (1878) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
E (1898) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
assertion "xQueue" failed: file "/home/turgu1/.platformio/packages/framework-espidf/components/freg

abort() was called at PC 0x401f26d4 on core 0

Backtrace:0x4009133e:0x3ffddb40 0x40091b49:0x3ffddb60 0x40099a52:0x3ffddb80 0x401f26d4:0x3ffddbf0 0

ELF file SHA256: 303e9a8a480a7054

Rebooting...
turgu1 commented 3 years ago

Hello 0xtheo,

Some ideas:

Hope this help