🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Easiest way to flash a new unit from a .bin file?

    SOFTWARE
    3
    3
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aezero
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • M
        macsbug
        last edited by macsbug

        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_LovyanLauncher

        Youtube : M5Stack Lovyan Launcher - Ultimate Menu System
        https://www.youtube.com/watch?v=2MyFKLZKJ2A
        0_1678922700273_LovyanLauncher.png

        :
        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

        1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3
          last edited by

          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.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post