Closed shreeve closed 1 year ago
@leeebo and @@Lzw655 - THANK YOU!!! This finally worked. I wasn't able to do it form the Launchpad, but I was able to run this command from macOS
:
esptool.py --chip esp32s3 --baud 115200 --port /dev/cu.usbserial-10 write_flash -z 0 ~/Desktop/usb_otg_fac_1_0_2.bin
Here is what it looked like:
$ esptool.py --chip esp32s3 --baud 115200 --port /dev/cu.usbserial-10 write_flash -z 0 ~/Desktop/usb_otg_fac_1_0_2.bin
esptool.py v4.5.1
Serial port /dev/cu.usbserial-10
Connecting....
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:87:cc:4c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00354fff...
Compressed 3493888 bytes to 1042883...
Wrote 3493888 bytes (1042883 compressed) at 0x00000000 in 93.1 seconds (effective 300.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Are there any plans to update the code so that it can be compiled with ESP-IDF v5.1?
The .bin
file works great, but the source for the factory
example can't be compiled with v5.1+ because of several broken dependencies.
Also, where is it that people go to learn how to use the component libraries? Is there some website somewhere where there is documentation or how to use the code? It seems to me like going from zero/nothing to a working app is a huge amount of work. Am I missing something?
@Lzw655 - Thank you, very helpful!
I accidentally blasted the firmware on my ESP32-S3-USB-OTG board, which had a very cool display on the little built in screen.
I've tried to download what looks like a factory reset
*.bin
file, but it only repeatedly shows a message about having an "Invalid Header", or something like that.I also tried to rebuild the firmware, but it uses ESP-IDF v4.4 and many of the dependencies no longer are able to compile with the tools I have on my machine.
In summary, I'd like to "reset" my ESP32-S3-USB-OTG board to the factory state, but don't know how.
Any tips?