-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
The script 'rebuild-esp32s3-linux-wifi.sh' runs successfully to competion, but the flash step fails.
(This can be fixed by removing the baud rate setting)
When run, the USB port (/dev/ttyUSB0) is correctly detected, but I get the following error..
esptool.py --chip esp32s3 -p /dev/ttyUSB0 -b 2000000 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 bootloader/bootloader.bin 0x10000 network_adapter.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded Flash 8MB (GD)
Crystal is 40MHz
MAC: 64:e8:33:64:c7:a8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 2000000
Changed.
A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
I was able to fix this by installing esptool (with venv) and rerunning the command above without the baud setting.
cd ./build/esp-hosted/esp_hosted_ng/esp/esp_driver/network_adapter/build/
esptool.py --chip esp32s3 -p /dev/ttyUSB0 -b 2000000 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 bootloader/bootloader.bin 0x10000 network_adapter.bin 0x8000 partition_table/partition-table.bin
Metadata
Metadata
Assignees
Labels
No labels