Easiest way to flash a new unit from a .bin file?
-
Hi all,
I'm planning on rolling out a few hundred M5 Basics for a project, and I'm hoping to be able to offload as much of the grunt work as possible to the junior techs (lol). If I export my code as a .bin file, what's the easiest way to get them to flash it onto brand new units? I was thinking I could just make them a little bundle with the .bin, esptool, and a batch file for them to run. I don't want to have them install the Arduino IDE and give them the source, just in case someone accidentally entered some characters, or there was a library that changed.
If they could flash multiple simultaneously, that would be even better.
Thanks in advance!
-
Hello@aezero
There is SD-Updater as a way to flash with .bin.
lovyan03/M5Stack_LovyanLauncher
Application startup by SD-Updater
https://github.com/lovyan03/M5Stack_LovyanLauncherYoutube : M5Stack Lovyan Launcher - Ultimate Menu System
https://www.youtube.com/watch?v=2MyFKLZKJ2A
:
M5Stack-SD-Updater : 2018.03.12
https://macsbug.wordpress.com/2018/03/12/m5stack-sd-updater/
:
Github : tobozo/M5Stack-SD-Updater
https://github.com/tobozo/M5Stack-SD-Updater
Youtube : tobozo tagada : M5Stack Apps loaded from SD Card
https://www.youtube.com/watch?time_continue=13&v=myQfeYxyc3o -
The problem is that esptool requires certain python versions and so they need to have that as well.
An alternative is a docker package which has everything in it ready.