ESP32 Failed to connect to Espressif device after changing baudrate to 460800

hamza-712
Posts: 1
Joined: Tue Mar 14, 2023 9:18 am

ESP32 Failed to connect to Espressif device after changing baudrate to 460800

Postby hamza-712 » Tue Mar 14, 2023 9:37 am

Hi,
I am having trouble connecting to ESP32 after I changed its baudrate to 460800.

System:
Windows 10

I was flashing ESP32-WROOM-32D with micropython firmware.

I had successfully erased flash using
esptool.py --chip esp32 --port COM5 erase_flash

then I ran the following command
esptool.py --chip esp32 --port COM5--baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin


1- It printed changing baudrate to 460800. but after that there was error

Traceback (most recent call last):
  1. ...
  2.   File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 690, in read_reg
  3.     val, data = self.command(
  4.   File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 376, in command
  5.     p = self.read()
  6.   File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 308, in read
  7.     return next(self._slip_reader)
  8. StopIteration
2- After this, I am unable to connect to ESP32.
  1. esptool.py -p COM5 -b 115200 erase_flash
  2. esptool.py v3.3.2
  3. Serial port COM5
  4. Connecting......................................
  5.  
  6. A fatal error occurred: Failed to connect to Espressif device: No serial data received.
  7. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

Who is online

Users browsing this forum: No registered users and 21 guests