ESP32 C6 Not able to program, Packet content transfer stopped

WadoAdi
Posts: 5
Joined: Mon Feb 24, 2025 4:15 pm

ESP32 C6 Not able to program, Packet content transfer stopped

Postby WadoAdi » Fri Jun 13, 2025 9:11 pm

Hi All,
I have up to now been using an ESP32 C6 Zero board from WaveShare and programming it via the Arduino IDE, selecting board as ESP32 C6 Dev Module. I recently had a board made with the ESP32 C6 Chip directly on my board. When programming it, I get the following error:

Sketch uses 223601 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 12784 bytes (3%) of dynamic memory, leaving 314896 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.8.1
Serial port COM9
Connecting....
Chip is ESP32-C6 (QFN40) (revision v0.2)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 40MHz
MAC: 58:8c:81:ff:fe:30:cf:cc
BASE MAC: 58:8c:81:30:cf:cc
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00046fff...
Compressed 20624 bytes to 13135...

A fatal error occurred: Packet content transfer stopped (received 0 bytes)
Failed uploading: uploading error: exit status 2

Running esptool.py --port COM9 flash_id shows:
esptool.py --port COM9 flash_id
esptool.py v4.3
Serial port COM9
Connecting...
Detecting chip type... ESP32-C6
Chip is ESP32-C6 (revision v0.2)
Features: WiFi 6, BT 5
Crystal is 40MHz
MAC: 58:8c:81:30:cf:cc
Uploading stub...
Running stub...

And then the command prompt hangs.

What do I need to do before I can program the chip in the normal way using the IDE, do I need to burn a boot loader or something?

Many thanks for any help or advice.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 C6 Not able to program, Packet content transfer stopped

Postby Sprite » Sat Jun 14, 2025 12:49 pm

That's usually an issue with the flash. Did you design in a flash chip on your board, or are you using an ESP32C6 variant with internal flash?

WadoAdi
Posts: 5
Joined: Mon Feb 24, 2025 4:15 pm

Re: ESP32 C6 Not able to program, Packet content transfer stopped

Postby WadoAdi » Sat Jun 14, 2025 5:50 pm

That’s a great question! I hope it’s internal flash! But now I’m thinking we have the wrong chip!
Attachments
IMG_8211.jpeg
IMG_8211.jpeg (2.06 MiB) Viewed 288 times

WadoAdi
Posts: 5
Joined: Mon Feb 24, 2025 4:15 pm

Re: ESP32 C6 Not able to program, Packet content transfer stopped

Postby WadoAdi » Sat Jun 14, 2025 9:34 pm

So it looks like we used a chip with no onboard flash oooops

Thanks for your help

Who is online

Users browsing this forum: Bing [Bot], Perplexity-User and 4 guests