Hello,
I have just started using the ESP8266 Wifi module and am having some issues loading the program. I get the below error message. I am not sure where to start with this... I have been looking around online, and have tried all the different baud rates. No luck. I have been doing this with the TX/RX pins disconnected as I could not load it with them connected.
I can post the main code, along with the .h files I am using, if needed. I was having issues getting the .h files saved and put into the library, but believe that has been solved. I ended up using another .h file and put my code into that and saved it off with the new name. Wasn't entirely certain on how to save it as a type .h.
Thanks in advance.
Arduino: 1.8.9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Build options changed, rebuilding all
Sketch uses 280484 bytes (56%) of program storage space. Maximum is 499696 bytes.
Global variables use 28524 bytes (34%) of dynamic memory, leaving 53396 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM4
Connecting......
Traceback (most recent call last):
File "C:\Users\keith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in
esptool.main(fakeargs)
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2663, in main
print("Chip is %s" % (esp.get_chip_description()))
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 968, in get_chip_description
efuses = self.get_efuses()
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 964, in get_efuses
self.read_reg(0x3ff00054) << 32 |
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 475, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 332, in command
p = self.read()
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 277, in read
return next(self._slip_reader)
File "C:/Users/keith/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 1889, in slip_reader
raise FatalError('Invalid head of packet (0x%s)' % hexify(b))
esptool.FatalError: Invalid head of packet (0x01)
esptool.FatalError: Invalid head of packet (0x01)
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.