Open lyusupov opened 1 year ago
Thank you, I think it's suitable for projects that need to be updated via USB all the time. But in my project it uses upload only first time. Next, update via web browser or via OTA in the settings menu on the device.
Please, notice that I wrote above:
Further batches of the product may come with the bootloader been pre-installed from the factory.
Lewis from LilyGO confirmed to me earlier this year that the factory is ready to pre-install the Adafruit UF2 bootloader. You were unlucky to receive the board from very first batch that did not have the bootloader yet.
But in my project it uses upload only first time.
The pre-installed bootloader helps to install a firmware from very first try. OpenRTX project is using the bootloader already: https://openrtx.org/#/hardware/ttwrplus?id=flashing
Bootloader+Firmware suitable for productions. Development work that requires changing the memory structure. This project can update the firmware in three ways.
OTA easy to end user, No computer required No need to connect USB.
Example clipt OTA Update
https://github.com/nakhonthai/ESP32APRS_T-TWR/assets/16043758/d68e66be-8420-41ed-9f93-28a09685b6e7
Please, be aware that T-TWR Plus board (both current V2.0 and upcoming V2.1) is already supported by Adafruit TinyUF2 bootloader: 1) https://github.com/adafruit/tinyuf2/tree/master/ports/espressif 2) https://github.com/adafruit/tinyuf2/releases
Further batches of the product may come with the bootloader been pre-installed from the factory.
Thus, it could make sense to deploy not only the bare .bin binaries, but the UF2 one as well.
Converting an ESP32-S3 'application' binary file info UF2 format is as simple as:
Please, read https://github.com/microsoft/uf2 for more details.
Instructions on how to install an ESP32-S3 firmware with assistance of TinyUF2 bootloader