-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors flashing Waveshare ESP32-S3-Touch-LCD-7 (ver1.1) #677
Comments
In case it helps, here's the
|
Hi! Which |
I've been using |
2.1 looks the same except |
With
|
There is also a |
Ah thank you, I don't know how I missed that. I'm still checking my work, maybe my offsets are wrong? With lower baud rates I just get a timeout. The cable is known good, I can flash all my other boards with it. But these are the errors I'm currently encountering with esptool: # espflash board-info --no-stub
[2024-09-06T16:05:14Z INFO ] 🚀 A new version of espflash is available: v3.1.1
[2024-09-06T16:05:14Z INFO ] Detected 4 serial ports
[2024-09-06T16:05:14Z INFO ] Ports which match a known common dev board are highlighted
[2024-09-06T16:05:14Z INFO ] Please select a port
[2024-09-06T16:05:15Z INFO ] Serial port: '/dev/cu.usbmodem58750032371'
[2024-09-06T16:05:15Z INFO ] Connecting...
Chip type: esp32s3 (revision v0.2)
Crystal frequency: 40MHz
Flash size: 8MB
Features: WiFi, BLE
MAC address: f0:f5:bd:4b:9f:24
# esptool.py --no-stub --chip esp32s3 --port /dev/cu.usbmodem58750032371 --baud 57600 write_flash \
0x1000 target/xtensa-esp32s3-espidf/release/bootloader.bin \
0x8000 target/xtensa-esp32s3-espidf/release/partition-table.bin \
0x10000 target/xtensa-esp32s3-espidf/release/try-esplash.bin
esptool.py v4.7.0
Serial port /dev/cu.usbmodem58750032371
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: f0:f5:bd:4b:9f:24
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00072fff...
Erasing flash...
Took 0.09s to erase flash block
Writing at 0x00001000... (4 %)
A fatal error occurred: Failed to write to target Flash after seq 0 (result was 01050000: Requested resource not found)
# esptool.py --chip esp32s3 --port /dev/cu.usbmodem58750032371 --baud 57600 write_flash \
0x1000 target/xtensa-esp32s3-espidf/release/bootloader.bin \
0x8000 target/xtensa-esp32s3-espidf/release/partition-table.bin \
0x10000 target/xtensa-esp32s3-espidf/release/try-esplash.bin
esptool.py v4.7.0
Serial port /dev/cu.usbmodem58750032371
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: f0:f5:bd:4b:9f:24
Uploading stub...
A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out) |
Try using the following offsets https://docs.espressif.com/projects/esptool/en/latest/esp32s3/esptool/flashing-firmware.html?highlight=0x8000#id1 (bootloader at 0x0, partition table a 0x8000 and app at 0x10000) |
esptool.py --no-stub --chip esp32s3 --port /dev/cu.usbmodem58750032371 --baud 57600 write_flash \
0x0000 target/xtensa-esp32s3-espidf/release/bootloader.bin \
0x8000 target/xtensa-esp32s3-espidf/release/partition-table.bin \
0x10000 target/xtensa-esp32s3-espidf/release/try-esplash.bin
esptool.py v4.7.0
Serial port /dev/cu.usbmodem58750032371
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: f0:f5:bd:4b:9f:24
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00072fff...
Erasing flash...
Took 0.09s to erase flash block
Writing at 0x00000000... (4 %)
A fatal error occurred: Failed to write to target Flash after seq 0 (result was 01050000: Requested resource not found) |
Do you have any other devkit to try? The fact that both |
I have many dev kits ;) but not of this exact one. I had kind of thought that because it came flashed with the demo firmware, that that proved that with the correct parameters / method, this specific board could be flashed. |
Hi I have a same problem |
I think this is a pretty cool board, so I could get another one to try to verify if it is a hw issue with the original. LMK if that would help. |
@robert-chiniquy But I used to use this board with other system (Ubuntu), Now I am trying to develop on MacOS. |
I resolved this problem on mac. I have installed usb driver. |
Thank you. I was able to install those drivers and it did fix my issue. A new serial device was visible. Definitely wish the installers weren't at an But thank you everybody for the help! I'm sorry I didn't figure this one out on my own! |
Ran into this
MemData
error: #637 and, after adding--no-stub
, am now getting thisFlashDeflData
error:I've experimented with flash mode, no-reset, and baud rates, running out of ideas.
Thanks!
The text was updated successfully, but these errors were encountered: