Skip to content

Cant flash ESP32U: No serial data received (ESPTOOL-1312) #1160

Description

@StrPowKno

Operating System

Windows 11

Esptool Version

4.12.dev1

Python Version

3.12.0

Chip Description

ESP32U

Device Description

Connections

  • i've connected the chip like this:
Prolific wire ESP32U Pins
Red 5V
Black GND (ground)
white RX
Green TX

Note: I used Prolific PL2303 UART to connect them.

Hardware Configuration

  • Nothing is connected to the board

How is Esptool Run

Using VScode and esp extension with windows powershell

Full Esptool Command Line that Was Run

C:\Espressif\tools\python\v5.5.3\venv\Scripts\python.exe C:\esp\v5.5.3\esp-idf\components\esptool_py\esptool\esptool.py -p COM1 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin

Esptool Output

esptool.py v4.12.dev1
Serial port COM1
Connecting......................................

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

 *  The terminal process "C:\Espressif\tools\python\v5.5.3\venv\Scripts\python.exe 'C:\esp\v5.5.3\esp-idf\components\esptool_py\esptool\esptool.py', '-p', 'COM1', '-b', '460800', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '40m', '--flash_size', '2MB', '0x1000', 'bootloader/bootloader.bin', '0x10000', 'hello_world.bin', '0x8000', 'partition_table/partition-table.bin'" terminated with exit code: 2.

More Information

  • since iran internet is kinda weird because of the war i cannot access sites or severs that are 3rd-party or arent related to programming.
  • like i can open visual studio extensions marketplace but i cant open microsoft.com
  • if theres a troubleshooting tutorial of the guide please tell me

Other Steps to Reproduce

Steps

  • Hold the BOOT button
  • Connect the chip while holding the BOOT button and release after two seconds
  • Click Flash
  • When the "Connecting ..." pops up press BOOT again

I Have Read the Troubleshooting Guide

  • I confirm I have read the troubleshooting guide.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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