ESP32 Failed to connect to Espressif device after changing baudrate to 460800
Posted: 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):
2- After this, I am unable to connect to ESP32.
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):
- ...
- File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 690, in read_reg
- val, data = self.command(
- File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 376, in command
- p = self.read()
- File "/home/jfcliche/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/esptool/loader.py", line 308, in read
- return next(self._slip_reader)
- StopIteration
- esptool.py -p COM5 -b 115200 erase_flash
- esptool.py v3.3.2
- Serial port COM5
- Connecting......................................
- A fatal error occurred: Failed to connect to Espressif device: No serial data received.
- For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html