Unable to upload to esp8266
Posted: Fri Oct 21, 2022 2:28 am
I bought esp-01s for my research. I connected it with arduino uno, but it compiles but does not upload. I will show you the output results and the connection environment. I am stuck. Please help me.
arduino uno R3
esp-01s esp8266
TX --> TX
RX --> RX
EN --> 3.3V
3v3 --> 3.3V
GND --> GND
GPIO0 --> GND
GPIO2 --> 3.3V
Traceback (most recent call last):
File "C:\Users\sora3\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Failed uploading: uploading error: exit status 1
arduino uno R3
esp-01s esp8266
TX --> TX
RX --> RX
EN --> 3.3V
3v3 --> 3.3V
GND --> GND
GPIO0 --> GND
GPIO2 --> 3.3V
Traceback (most recent call last):
File "C:\Users\sora3\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/sora3/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Failed uploading: uploading error: exit status 1