kdschlosser / lvgl_micropython

LVGL module for MicroPython
MIT License
42 stars 11 forks source link

ESP32_C3 firmware is permanently rebooting no REPL #63

Open getznerh opened 1 week ago

getznerh commented 1 week ago

I use the last build and comile for ESP32_C3 with python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_C3 DISPLAY=st7789 firmware compiles without error, upload to board without error python -m esptool --chip esp32c3 --port COM11 -b 921600 --before default_reset --after no_reset --no-stub write_flash --flash_mode dio --flash_size 4MB --flash_freq 80m 0x0 "lvgl_micropy_ESP32_GENERIC_C3-4.bin"

after board-reset: ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT) Saved PC:0x40048b82 SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5820,len:0x1028 load:0x403cc710,len:0xa08 load:0x403ce710,len:0x2c08 entry 0x403cc710 E (24) flash_parts: partition 0 invalid magic number 0xfdcc E (24) boot: Failed to verify partition table E (24) boot: load partition table error!

kdschlosser commented 1 week ago

OK this is an issue with the flash memory. I probably have the wrong mode set for it.