Skip to content

Unable to flash esp32 devkitc via direct connection to the TX/RX pins (ESPTOOL-1197) #1131

@fabianmejia

Description

@fabianmejia

Operating System

Windows 11

Esptool Version

esptool.py v4.8.1

Python Version

Python 3.11.2

Chip Description

ESP32-WROOM 32E

Device Description

ESP32-DevKitC V4 using esp32-wroom 32E,
Waveshare usb-to-ttl

Hardware Configuration

  • TX/RX pins
  • ground pin
  • 3v3 pin

How is Esptool Run

vscode extension via terminal

Full Esptool Command Line that Was Run

esptool.py -p COM3 -b 9600 chip_id

Esptool Output

esptool.py v4.8.1
Serial port COM3
Connecting......................................

A fatal error occurred: Failed to connect to Espressif device: No serial data received

More Information

I can successfully flash the esp32 devkitc board using the usb connection.
However, I want to move forward, and flash it directly via TX/RX on the PCB I will integrate the wroom-32 with other components. That pcb will not include a usb port and will not include the cp2102, but it will be powered by 3v3.
I made the connections as described above. I can see that the board enters flashing mode by:

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

When I tried the command described above, I get the error "No serial data received".
I can confirm that the usb-to-ttl device is working after doing a loopback test.
Also, I can see the board output from the same usb-to-ttl.
So, I assume that:

  • The usb-to-ttl is working
  • The board can enter flash mode

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

  • I confirm I have read the troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions