Uploading pre‐compiled OTA binaries - GuruSR/Watchy_GSR GitHub Wiki

The Bin folder contains files necessary for uploading the firmware's current version:

Regular OTA:

    Watchy Versions 1.0 to 2.0: GSR.ino.esp32.bin     Watchy Version 3.0 ONLY:   GSR.ino.esp32s3.bin

    OTA Bin files are used by Watchy GSR's OTA Website, where you can upload future bin files directly to the Watchy (over WiFi).

Merged Bin File for full upload:

    Watchy Versions 1.0 to 2.0: GSR.ino.esp32.merged.bin     Watchy Version 3.0 ONLY:   GSR.ino.esp32s3.merged.bin

To use OTA Bin files:

  1. With Watchy GSR, go to Options -> OTA Website.
  2. Browse to the OTA Website, you can select to Upload Firmware.
  3. Select the downloaded bin for your Watchy version.
  4. Click Upload to upload the firmware.
  5. Once the upload has finished all Watchy versions will automatically reboot when the upload is complete.

For those who DO NOT WANT TO COMPILE:

  1. Download the Merged Bin file for your version.
  2. Visit using a Chromium based browser Adafruit ESPTool
  3. Plug in your Watchy (if not already done).
  4. V3 Users, hold the top two buttons down for at least 4 seconds, then release the top left one.
  5. Click Connect and pick your Watchy and click Connect again.
  6. You should see 4 "Choose a file..." buttons, press the first one, pick the Merged Bin you downloaded.
  7. Once you've selected the file, the Program button will be present.
  8. Click the Program button to upload the firmware.
  9. Once the upload has finished all Watchy versions will automatically reboot when the upload is complete.

What to do when the above fails:

  1. KEEP the Merged Bin file from above!
  2. Visit ESPTOOL and download the version for your system.
  3. Extract the downloaded archive to a location you can remember.
  4. Open a terminal/shell/command line and change the current path to the location where you extracted the archive.
  5. If you're archive has esptool.py in it, you need to have the .py on the end of the command.
  6. If you're flashing a V3, you need to add s3 to the chip name.
  7. Use the command in 10 to flash the firmware, be sure to note the [] & () segments to fill them with the necessary information.
  8. Remove the [s3] section if you don't have an V3 Watchy and you're not using esptool.py [.py].
  9. Remove the [ and ] surrounding anything you do need. Do not include the ( or ) in your final command.
  10. esptool[.py] -p (PORT) --before default_reset --after hard_reset --chip esp32[s3] write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 (location and filename of your downloaded Merged Bin)
  11. Once it flashes, V1 to V2 will reboot on their own, V3 requires releasing the top right button after holding both top buttons for ~5 seconds.

So, you're here and after doing the above 1 to 11, V1 to V2 won't reboot and the V3 resets to nothing:

  1. Don't get discouraged.
  2. Remove the merged bin you downloaded.
  3. Download the regular OTA bin for your version.
  4. Download the "manual upload" file for your version.
  5. Extract the downloaded "manual upload" to the same place as the OTA bin you downloaded.
  6. Follow the instructions to use the esptool as in the previous above section at #4 to #9.
  7. Instead of the #10 command, use #9 below. There are 4 files that require the path to be added if you're not at that location.
  8. Change (path to file) to the path and include the separator (\ or /) after the path for your OS.
  9. esptool[.py] --chip esp32[s3] --p (PORT) --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_size detect --flash_freq 80m 0x[100]0 (path to file)GSR.ino.bootloader.bin 0x8000 (path to file)GSR.ino.partitions.bin 0xe000 (path to file)boot_app0.bin 0x10000 (path to file)GSR.ino.esp32[s3].bin
  10. The [100] on #9, is to try it at 0x1000, if it does not work, try it at 0x0.
  11. Once it flashes fully, follow #11 above to when it should finish! Remember, future bin files (OTA) can be uploaded directly to the Watchy via OTA Website.