Page 1 of 1

ESP32-WROOM-32UE connected LCD causing a problem.

Posted: Sat Apr 15, 2023 9:38 pm
by last_not_used_login
Hello,

Firstly I wan't to apologies if I'm asking the question in wrong place or I'm breaking some rule - I'm new here.

I'm developing a air monitor and filter control for my 3d printer. Everything was great until I decide to order bigger LCD screec (20x4).
I bought Youmile IIC/I2C/TWI Serial 2004 20 x 4 LCD (connection details: GND-GND; VCC-VCC; SDA–A4; SCL–A5).

This one: https://www.amazon.pl/dp/B099F2KPR4?psc ... ct_details

When I connect LCD than I can't upload image

Code: Select all

Stub running...
Changing baud rate to 460800
Changed.
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00054fff...
Compressed 17408 bytes to 12112...

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
*** [upload] Error 2
When I disconnect LCD, upload my image, start monitor, reconnect LCD and restart my ESP32
I can see only this error in the monitor:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
I created empty project and disconnected all sensors to test my LCD. Just want to mention that 2-lines LCDs work.
LCD is connected to SDA/SDL pins. I tried with and without pull up resistors.

Could you advise?

Thanks!

Re: ESP32-WROOM-32UE connected LCD causing a problem.

Posted: Mon Apr 17, 2023 1:34 am
by ESP_Sprite
What specific GPIOs is that connected to? It looks like you're connecting to GPIOs that also occupy the flash pins (or something else is wrong with those GPIOs - shorted or something), which would stop the ESP from being able to communicate with its flash.