ESPHOME on ESP32 display 5" LCD
Hello,
I bought the ESP32 LCD Display 5" to install esphome, as it's propose on the web site.
But I tried to install with both "esp32 S3" type of board (esp32s3box and esp32-s3-devkitc-1) , but it doesn't work. I have the message below. How can I do, because I don't want to use the arduino IDE (It takes too much time)
Thank you for your return.
[12:44:34]Rebooting... [12:44:34]ESP-ROM:esp32s3-20210327 [12:44:34]Build:Mar 27 2021 [12:44:34]rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) [12:44:34]Saved PC:0x4037743c WARNING Decoded 0x4037743c: esp_restart_noos at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/port/soc/esp32s3/system_internal.c:143 (discriminator 1) [12:44:34]SPIWP:0xee [12:44:34]mode:DIO, clock div:1 [12:44:34]load:0x3fce3808,len:0x43c [12:44:34]load:0x403c9700,len:0xbec [12:44:34]load:0x403cc700,len:0x2a3c [12:44:34]entry 0x403c98d8 [12:44:34]E (179) spi_flash: Detected size(4096k) smaller than the size in the binary image header(8192k). Probe failed. [12:44:34] [12:44:34]assert failed: do_core_init startup.c:298 (flash_ret == ESP_OK) [12:44:34] [12:44:34] [12:44:34]Backtrace:0x40377832:0x3fceb1800x4037cb2d:0x3fceb1a0 0x40382a29:0x3fceb1c0 0x420239f6:0x3fceb2f0 0x4037719d:0x3fceb320 0x403cd6ef:0x3fceb350 0x403cd9ae:0x3fceb380 0x403c992d:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED WARNING Found stack trace! Trying to decode it WARNING Decoded 0x40377832: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402 WARNING Decoded 0x4037cb2d: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128 WARNING Decoded 0x40382a29: __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85 WARNING Decoded 0x420239f6: do_core_init at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/startup.c:290 (inlined by) start_cpu0_default at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/startup.c:401 WARNING Decoded 0x4037719d: call_start_cpu0 at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/port/cpu_start.c:648 [12:44:35] [12:44:35] [12:44:35] [12:44:35] [12:44:35]ELF file SHA256: 0000000000000000 [12:44:35]
Comments
Hello Steph,
I'm sorry that our software engineer is also facing this problem. And it hasn't been resolved yet. Once we have any progress, I will get back to you ASAP.
Best regards,
Elecrow Team.
I would also like to make my 7" display work with ESPHome, but I haven't tried it yet. However, I have been experimenting with my display and then wanted to reinstall the factory demo program. It took a lot of effort and looking at various web pages before I found that you need to have the exactly correct settings in the Arduino IDE to upload the sketch. I got the same error as you did until I got the settings right. So you might want to give it a try and see if you still get the error.
Here are the settings in the Tools menu that worked for the factory demo (also a large program):
USB CDC On Boot: "Disabled"
CPU Frequency: "240MHz (WiFi)"
Core Debug Level: "None"
USB DFU On Boot: "Disabled"
Events Run On: "Core 1"
Flash Mode: "QIO 80MHz"
Flash Size: "4MB (32Mb)"
Arduino Runs On: "Core 1"
USB Firmware MSC On Boot: "Disabled"
Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" PSRAM: "OPI PSRAM"
Upload Mode: "UARTO / Hardware CDC"
Upload Speed: "921600"
USB Mode: "Hardware CDC and JTAG"