I recently received an ESP8266 Huzzah feather, and after going thru all the setup required for the Arduino IDE, I could not get code to upload to it - it kept on giving the error "esptool.FatalError: Invalid head of packet (0x46)".
Because this wasn't working I tried directly uploading a .bin file of a simple blink script using esptool.py, which uploaded without errors, but the red light didn't blink even after the upload.
I opened up the Arduino IDE Serial Monitor and the ESP was continuously printing out "wrong chip id 0x791c" and "rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)"
Is this a technical issue, or is there something wrong with my ESP?
Thanks!
"invalid head of packet" & "wrong chip id 0x791c" Huzzah ESP
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mickk
- Posts: 3
- Joined: Thu Apr 29, 2021 12:32 pm
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah
Hello mickk,
Can you post a photos of your Huzzah ESP board top/bottom and a screenshot from your "Tools" menu drop down so I can see the Arduino IDE settings? Typically an incorrect chip id message with a Huzzah means that you might have mixed up your ESP8266 for an ESP32 either in the Arduino IDE, download files or the board itself. It is a common point of confusion.
Can you post a photos of your Huzzah ESP board top/bottom and a screenshot from your "Tools" menu drop down so I can see the Arduino IDE settings? Typically an incorrect chip id message with a Huzzah means that you might have mixed up your ESP8266 for an ESP32 either in the Arduino IDE, download files or the board itself. It is a common point of confusion.
- mickk
- Posts: 3
- Joined: Thu Apr 29, 2021 12:32 pm
Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah
Sure thingmikeysklar wrote:Hello mickk,
Can you post a photos of your Huzzah ESP board top/bottom and a screenshot from your "Tools" menu drop down so I can see the Arduino IDE settings? Typically an incorrect chip id message with a Huzzah means that you might have mixed up your ESP8266 for an ESP32 either in the Arduino IDE, download files or the board itself. It is a common point of confusion.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah
Ah, yeah you are busted. You need to select Huzzah ESP32 for your device not the Huzzah ESP8266 that you have currently selected on the Arduino drop down.
- mickk
- Posts: 3
- Joined: Thu Apr 29, 2021 12:32 pm
Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah
I see, I accidentally bought a different board. It should work anyway, though. Do you know what package the ESP32 is under the board manager?
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah
There are instructions here for installing the appropriate board packages for the ESP32. It is significantly different than the ESP8266.
Since you are in Windows this is the page to follow:
https://github.com/espressif/arduino-es ... windows.md
Since you are in Windows this is the page to follow:
https://github.com/espressif/arduino-es ... windows.md
Please be positive and constructive with your questions and comments.