-->
Page 1 of 1

ESP8266-01 flashed from Arduino Uno problem

PostPosted: Mon Jul 08, 2019 9:55 pm
by Jean-MichelL
I did everthing here.

https://tttapa.github.io/Pages/Arduino/ESP8266/Flashing/Flashing-With-an-Arduino.html

In the Serial Monitor, I get response from the AT Commands when the ESP8266 Generic module is selected.

When I try to upload Bare minimum code (setup and loop only), I always get this error message.

esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM10
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\Jm\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in <module>
esptool.main(fakeargs)
File "C:/Users/Jm/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2653, in main
esp.connect(args.before)
File "C:/Users/Jm/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 468, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0xF0)
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0xF0)