"invalid head of packet" & "wrong chip id 0x791c" Huzzah ESP

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mickk
 
Posts: 3
Joined: Thu Apr 29, 2021 12:32 pm

"invalid head of packet" & "wrong chip id 0x791c" Huzzah ESP

Post by mickk »

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!

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah

Post by mikeysklar »

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.

User avatar
mickk
 
Posts: 3
Joined: Thu Apr 29, 2021 12:32 pm

Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah

Post by mickk »

mikeysklar 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.
Sure thing
Screenshot 2021-04-30 105713.png
Screenshot 2021-04-30 105713.png (38.45 KiB) Viewed 78 times
IMG-3498.jpg (1).png
IMG-3498.jpg (1).png (905.91 KiB) Viewed 78 times
IMG-3497.jpg (1).png
IMG-3497.jpg (1).png (843.71 KiB) Viewed 78 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah

Post by mikeysklar »

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.

User avatar
mickk
 
Posts: 3
Joined: Thu Apr 29, 2021 12:32 pm

Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah

Post by mickk »

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?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: "invalid head of packet" & "wrong chip id 0x791c" Huzzah

Post by mikeysklar »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”