No serial data received

Hi there,

I bought an uPesy ESP32 board last week (here Carte uPesy ESP32 Wroom Low Power DevKit), trying to build a project for the first time.
I started a new code with arduinoIDE, and I've quickly been abled to connect and use wifi, show current hour, then display this on my SSD1306 screen and finally connected a battery to make it autonomous. I was having a lot of fun :slight_smile:

Yesterday, i added code to make it go deepsleep after 30s of display, and everything was still fine.

But since I tried to connect a button so that i am able to wake it up, i never been able to upload my code update, facing a connection problem :

"A fatal error occurred: Failed to connect to ESP32: No serial data received."

  • I tried using the BOOT button and or the EN button
  • the COM port appears/disappear correctly when plugging / un plugging device
  • i disconnected everything from my board
  • i uninstalled / reinstalled the driver
  • i changed my usb cable
  • i tried erasing the flash with esptool directly
  • pushing the EN button raise correctly (?) a message on the monitor :

13:53:12.631 -> ets Jul 29 2019 12:21:46
13:53:12.631 ->
13:53:12.631 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
13:53:12.631 -> configsip: 0, SPIWP:0xee
13:53:12.631 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
13:53:12.631 -> mode:DIO, clock div:1
13:53:12.631 -> load:0x3fff0030,len:1344
13:53:12.631 -> load:0x40078000,len:13964
13:53:12.631 -> load:0x40080400,len:3600
13:53:12.631 -> entry 0x400805f0

But i still have the same problem :

esptool.py v4.5.1
Serial port COM3
Connecting.....................................Une erreur est survenue lors du transfert du croquis
.

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

I saw several similar posts, but no solution that unlock me until now...
Could you please help ?

Thanks a lot !!

Are you using a Nano ESP32 ?

Your board does not seem to be a Nano ESP32. hence topic moved to a more suitable location on the forum.

I don't have experience with your board so can't help further.

what Tools>Board have you selected?
I tend to use ESP32 Dev Module with the majority of ESP32 dev kits

I use the "uPesy ESP32 Wroom devkit", the one recommended by the constructor.
It has been working fine for one week...

could be the ESP32 device is damaged
do you have any other microcontrollers you could try?

No i do not have another one.
Is there any other way to know if it is damaged ?

Thanks

off hand cannot think of one - you tried all the obvious fixes such as changing USB cable etc in post 1
I tend to buy several ESP32 NodeMCU devices on EBAY at a time - cost between £6 and £7 - if buying check you have suitable USB cables - newer boards uses USB type C

I finally found a solution !
I tried and found the good EN / BOOT button combination ; pressing BOOT AND EN right after the connection begins and release ONLY EN few seconds after and finally release BOOT few other seconds after.
I tried before a lot of combination and was sure to have already tried this one but this morning it worked.
Thanks a lot for all of you that took time to read and answer my post !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.