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
Error when flashing
Error when flashing
- Attachments
-
- virtual.pdf
- (329.54 KiB) Downloaded 61 times
-
- Posts: 196
- Joined: Sun Jun 23, 2024 6:18 pm
Re: Error when flashing
Test with a lower baud rate.
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Error when flashing
Mostly those things work for you which don't require much time. The error indicates that the board has disappeared during flashing (e.g. the power supply is not stable) or there is some other issue with the USB. This looks to me a design issue with your board. See https://www.espressif.com/en/contact-us ... ign-review
Re: Error when flashing
Yes, I feel there is some design error. I have tried to use your link to espressif team , but it does not work !!!
Who is online
Users browsing this forum: morgana2313 and 98 guests