-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to erase_flash for ESP32-S3-WROOM-1-N4R2 bare module (ESPTOOL-723) #906
Comments
upgraded esptool to 4.6.2 and python to 3.10.11 and still same issue output is: A fatal error occurred: Failed to connect to ESP32-S3: No serial data received. |
Hello @whatdtech,
|
Hi @radimkarnis thank you for your reply. I'm Powering it through 12 volts 10 amps SMPS stepping down using LM2596. Using TX /RX pins not GPIO 19/20 |
Thanks for the info.
Are you also seeing the Let's try to analyze the problem. The chip is manually pulled into the download mode (because GPIO0 is pulled low), that means esptool doesn't see the But that's just an explanation why we are not seeing any info about what's going on. The ESP chip successfully sends data to the host computer, but doesn't receive any sync commands sent by |
. this is the output in serial monitor. I will try to implement auto reset circuit. What is the difference between TX/RX & GPIO 19/20 usage. Now im using TX/RX with ch340g chip. For GPIO 19/20 can I connect them directly to micro usb? |
So you can see the boot log, therefore, the ESP->PC comms work. Do you have a way to verify the PC->ESP line (maybe with a logic analyzer)?
Exactly, the 19/20 pins can be connected directly to the D+/D- USB lines. The USB-to-UART chip and auto-reset circuitry are then not needed. You can read more information about this feature here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/usb-serial-jtag-console.html |
@radimkarnis thank you. I shall implement usb route and let you know the output. |
@radimkarnis . Tried with usb and getting error as Unknown USB Device(Device descriptor request failed). What kind of a driver needs to be installed. And how to specify port for using with esptool? |
It should enumerate and show itself like
The necessary drivers can be installed with the IDF installer fo Windows.
you can use the |
Closing for inactivity. I do believe this is a HW issue with your connections. Please try some more debugging and feel free to reopen this issue if needed! Thank you. |
Operating System
windows 10
Esptool Version
3.0
Python Version
3.10
Chip Description
ESP32-S3-WROOM-1-N4R2
Device Description
Bare module. product link is https://www.digikey.in/en/products/detail/espressif-systems/ESP32-S3-WROOM-1-N4R2/16162643
Hardware Configuration
GPIO 0 & GPIO 46 are grounded as per documentation. Nothing else connected.
How is Esptool Run
command prompt
Full Esptool Command Line that Was Run
esptool.py --port COM7 erase_flash, esptool.py --chip esp32s3 --port COM7 erase_flash, esptool.py --chip esp32s3beta2 --port COM7 erase_flash
Esptool Output
esptool.py v3.0 Serial port COM7 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header
More Information
Before flash serial output is:
rst:0x1 (POWERON),boot:0x3 (DOWNLOAD(USB/UART0))
Other Steps to Reproduce
No response
I Have Read the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: