Arduino Batch Flashing Tool

Arduino Banner

Sometimes, or in my case, “quite often” when working with Arduinos (Arduinae?) I end up having to flash a whole bunch of boards with the same software, as is the case when working with my RS485 Boards.

This can be quite laborious using the IDE, as each flash requires changing the port in the tools menu to the correct device, changing the board type as you do – somewhat less than ideal, so via the new-ish additions to the IDE as of version 1.0, I’ve thrown together a tool to automate this process.

A batch job tool for the Arduino IDE

A batch job tool for the Arduino IDE

This allows you to connect any number, of any type of Arduino to your computer and flash them all with a single button press! It requires no modification to the IDE, instead running as an embedded tool in your “~/sketchbook/tools/” folder, and gets loaded into the Arduino IDE as a button under the “Tools” menu.

At the moment, the tool uses some fairly fragile hacks to get the required resources inside the IDE (at the moment, the API has no way of changing the board target from inside a tool, without reflection hackery – hopefully this will change).

To try it out, create a “tools” folder in your sketchbook folder, then unzip the archive below in to it, so that the folders look like this: “sketchbook/tools/Batch/tool/Arduino-Batch.jar” and you’re ready to go!


Any feedback as to how useful (or not) this is is greatly appreciated, and can be sent by e-mail (look on my site for the address) or via the comments section below.

This Post Has Been Viewed 534 Times