VBScript to flash ESP32 over USB in the field when OTA isn't available
Posted: Sat Dec 23, 2023 3:16 pm
Hello everyone!
I've been using these VBscripts for years, and thought it was time to share them, as I've seen many people ask how this can be done easily.
For details, please see: https://github.com/HankLloydRight/FlashESP32 (This is my 2nd public repository.)
I created a couple of VBScripts to be run in Windows by end-users to allow you to push new firmware to devices installed in the field when OTA isn't available. The scripts detect which COM port the ESP32 is using and allows the user to select which firmware they want to upload.
I distribute these scripts and all the necessary drivers and files in a compressed folder, and give the users simple instructions on how to install the required driver and update their device over USB.
Disclaimer: I am not a VBScript developer and cobbled this together from other open-source code . So please go easy on me. I'm open to suggestions and improvements. I just wanted to make firmware updates easier for my end-users.
I hope this might help other people in the same situations when you can't do an OTA update for whatever reason, and don't want to ship ESP32 modules back and forth just to update the firmware. It also allows code distribution without shipping source code and libraries with the Arduino IDE or VSC.
I've been using these VBscripts for years, and thought it was time to share them, as I've seen many people ask how this can be done easily.
For details, please see: https://github.com/HankLloydRight/FlashESP32 (This is my 2nd public repository.)
I created a couple of VBScripts to be run in Windows by end-users to allow you to push new firmware to devices installed in the field when OTA isn't available. The scripts detect which COM port the ESP32 is using and allows the user to select which firmware they want to upload.
I distribute these scripts and all the necessary drivers and files in a compressed folder, and give the users simple instructions on how to install the required driver and update their device over USB.
Disclaimer: I am not a VBScript developer and cobbled this together from other open-source code . So please go easy on me. I'm open to suggestions and improvements. I just wanted to make firmware updates easier for my end-users.
I hope this might help other people in the same situations when you can't do an OTA update for whatever reason, and don't want to ship ESP32 modules back and forth just to update the firmware. It also allows code distribution without shipping source code and libraries with the Arduino IDE or VSC.