Error when flashing
Posted: Wed Nov 06, 2024 10:37 am
On a custom board based on a ESP32-S3-WROOM-1 (shema attached), I do not success to flash an application which works on a dev board.
See the message below. I am surprised as many things seem to work : the chip is detected and even its MAC address is found but th flash stops.
What do I miss ?
Thanks for any help.
P.Couderc
The command is :
esptool.py --chip esp32s3 -p /dev/ttyACM0 -b 9600 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 20m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 virtual.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin
and the stdout output :
esptool.py v4.8.dev4
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
MAC: 74:4d:bd:2a:97:e8
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00145fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
SHA digest in image updated
Compressed 21088 bytes to 13051...
Writing at 0x00000000... (100 %)
Wrote 21088 bytes (13051 compressed) at 0x00000000 in 0.3 seconds (effective 622.7 kbit/s)...
Hash of data verified.
Compressed 1267008 bytes to 729885...
Writing at 0x00010000... (2 %)
Lost connection, retrying...
Waiting for the chip to reconnect
Connecting....
Uploading stub...
Running stub...
Stub running...
Compressed 1267008 bytes to 729885...
Writing at 0x00010000... (2 %)
A serial exception error occurred: Could not configure port: (5, 'Input/output error')
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
See the message below. I am surprised as many things seem to work : the chip is detected and even its MAC address is found but th flash stops.
What do I miss ?
Thanks for any help.
P.Couderc
The command is :
esptool.py --chip esp32s3 -p /dev/ttyACM0 -b 9600 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 20m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 virtual.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin
and the stdout output :
esptool.py v4.8.dev4
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
MAC: 74:4d:bd:2a:97:e8
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00145fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
SHA digest in image updated
Compressed 21088 bytes to 13051...
Writing at 0x00000000... (100 %)
Wrote 21088 bytes (13051 compressed) at 0x00000000 in 0.3 seconds (effective 622.7 kbit/s)...
Hash of data verified.
Compressed 1267008 bytes to 729885...
Writing at 0x00010000... (2 %)
Lost connection, retrying...
Waiting for the chip to reconnect
Connecting....
Uploading stub...
Running stub...
Stub running...
Compressed 1267008 bytes to 729885...
Writing at 0x00010000... (2 %)
A serial exception error occurred: Could not configure port: (5, 'Input/output error')
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html