-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Operating System
win11
Esptool Version
5.1.0
Python Version
3.14 but not necessarily what's used
Chip Description
ESP32-C6 rev0.2 QFN40 16MB flash
Device Description
Fails to successfully read the full 16mb.
Using command:
esptool.exe --baud 115200 read-flash 0x0 0x1000000 nesso-n1.bin
Also tried with 460800, 921600, and not specifying baud rate.
Fetching just 4mb of flash was able to succeed at least once (although done via esptool-js).
Attempting to fetch the full 16mb failed on every occasion with current data transfer at random percentages.
Changing to the worlds shortest USB-C cable made no difference.
Hardware Configuration
It's a plain stock Arduino Nesso-N1.
https://store.arduino.cc/products/nesso-n1
How is Esptool Run
esptool.exe from a powershell windows terminal session
Full Esptool Command Line that Was Run
esptool.exe --baud 115200 read-flash 0x0 0x1000000 nesso-n1.bin
Esptool Output
C:\Users\tyeth> esptool.exe read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Configuring flash size...
Reading from 0x00824000 [==============> ] 50.9% 8536064/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Packet content transfer stopped
C:\Users\tyeth> esptool.exe read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Configuring flash size...
Reading from 0x002c2000 [====> ] 17.2% 2891776/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xf0a bytes.
C:\Users\tyeth> esptool.exe read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Configuring flash size...
Reading from 0x0075a000 [============> ] 45.9% 7708672/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xd23 bytes.
C:\Users\tyeth> esptool.exe --baud 115200 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Configuring flash size...
Reading from 0x0019c000 [==> ] 10.1% 1687552/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xe7e bytes.
C:\Users\tyeth> esptool.exe --baudrate 115200 read-flash 0x0 0x1000000 nesso-n1.bin
Usage: esptool [OPTIONS] COMMAND [ARGS]...
Try 'esptool -h' for help
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such option: --baudrate Did you mean --baud? │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
C:\Users\tyeth> esptool.exe --baud 916200 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Changing baud rate to 916200...
Changed.
Configuring flash size...
Reading from 0x00678000 [===========> ] 40.4% 6782976/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xc9d bytes.
C:\Users\tyeth> esptool.exe --baud 460800 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Reading from 0x00290000 [===> ] 16.0% 2686976/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xe1a bytes.
C:\Users\tyeth> esptool.exe --baud 921600 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Changing baud rate to 921600...
Changed.
Configuring flash size...
Reading from 0x00238000 [===> ] 13.9% 2326528/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xd87 bytes.
C:\Users\tyeth> esptool.exe --baud 921600 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Changing baud rate to 921600...
Changed.
Configuring flash size...
Reading from 0x003ea000 [======> ] 24.5% 4104192/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xf2d bytes.
C:\Users\tyeth> esptool.exe --baud 115200 read-flash 0x0 0x1000000 nesso-n1.bin
esptool v5.1.0
Connected to ESP32-C6 on COM101:
Chip type: ESP32-C6 (QFN40) (revision v0.2)
Features: Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:ff:fe:50:2c:a8
BASE MAC: 58:8c:81:50:2c:a8
MAC_EXT: ff:fe
Stub flasher running.
Configuring flash size...
Reading from 0x0041b000 [======> ] 25.7% 4304896/16777216 bytes...
Hard resetting via RTS pin...
A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0xf93 bytes.More Information
No response
Other Steps to Reproduce
No response
I Have Read the Troubleshooting Guide
- I confirm I have read the troubleshooting guide.