Hi,
The board I used is a TTGO T8 v1.7.1 with an “ESP PSRAM32H” chip (8MB). I used the Arduino IDE v1.8.19, all libraries and board updates were downloaded and installed for the IDE.
Additionally I activated the following defines in the code:
#define lisplibrary
#define lineeditor
#define vt100
Compiling/flashing was no problem and the infos given by the compiler did not indicate and shortness of the
resources.
In the Arduino IDE I choosed the
ESP32 DEV board with the following settings:
custom_CPUFreq=esp32_240
custom_CrystalFreq=generic_26
custom_DebugLevel=esp32_none
custom_EventsCore=esp32_1
custom_FlashFreq=esp32_80
custom_FlashMode=esp32_qio
custom_FlashSize=esp32_8M
custom_LoopCore=esp32_1
custom_PSRAM=esp32_enabled
custom_PartitionScheme=esp32_default
After reconnecting the board and starting a terminal program I got this endless loop:
Rebooting…
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (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:1
load:0x3fff0030,len:1324
ho 0 tail 12 room 4
load:0x40078000,len:13508
load:0x40080400,len:3604
entry 0x400805f0
E (267) spi_flash: Detected size(4096k) smaller than the size in the binary image header(8192k). Probe failed.
assert failed: do_core_init startup.c:298 (flash_ret == ESP_OK)
Backtrace:0x40083805:0x3ffe3aa00x4008cff5:0x3ffe3ac0 0x40092341:0x3ffe3ae0 0x400e708e:0x3ffe3c10 0x4008309a:0x3ffe3c40 0x40079202:0x3ffe3c90 |<-CORRUPTED
ELF file SHA256: 0000000000000000
Rebooting…
What went wrong here? How can I fix the problem?