@@ -6,63 +6,67 @@ Use this tool to update the firmware and/or add SSL certificates for any WINC, N
66
77You can download the Firmware/Certificates updater here:
88
9- https://github.com/arduino/FirmwareUpdater /releases/latest
9+ https://github.com/arduino/FirmwareUploader /releases/latest
1010
1111## Usage
1212
1313Extract the zip file and run (for example, NINA -> WiFi1010)
1414
1515```
16- ./$your_os/updater -flasher firmwares/NINA/FirmwareUpdater.mkrwifi1010.ino.bin -firmware firmwares/NINA/1.2.1/NINA_W102.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac
16+ ./FirmwareUploader -flasher firmwares/NINA/FirmwareUpdater.mkrwifi1010.ino.bin -firmware firmwares/NINA/1.2.1/NINA_W102.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac
1717```
1818
1919To flash a MKR1000:
2020
2121```
22- ./$your_os/updater -flasher firmwares/WINC1500/FirmwareUpdater.mkr1000.ino.bin -firmware firmwares/WINC1500/19.5.4/m2m_aio_3a0.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac
22+ ./FirmwareUploader -flasher firmwares/WINC1500/FirmwareUpdater.mkr1000.ino.bin -firmware firmwares/WINC1500/19.5.4/m2m_aio_3a0.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac
2323```
2424
2525To update a MKRNB1500:
2626
2727```
28- ./$your_os/updater -flasher firmwares/SARA/SerialSARAPassthrough.ino.bin -firmware firmwares/SARA/5.6A2.00-to-5.6A2.01.pkg -port /dev/ttyACM0 -restore_binary firmwares/SARA/SerialSARAPassthrough.ino.bin -programmer {runtime.tools.bossac}/bossac
28+ ./FirmwareUploader -flasher firmwares/SARA/SerialSARAPassthrough.ino.bin -firmware firmwares/SARA/5.6A2.00-to-5.6A2.01.pkg -port /dev/ttyACM0 -restore_binary firmwares/SARA/SerialSARAPassthrough.ino.bin -programmer {runtime.tools.bossac}/bossac
2929```
3030
3131### Command line options
3232
33- The full list of command line options can be obtained with the ` -h ` option: ` ./updater -h `
33+ The full list of command line options can be obtained with the ` -h ` option: ` ./FirmwareUploader -h `
3434
3535```
36- Usage of ./distrib/linux64/updater :
36+ Usage of ./FirmwareUploader :
3737 -address value
3838 address (host:port) to fetch and flash root certificate for, multiple values allowed
3939 -certs string
4040 root certificate directory
4141 -firmware string
4242 firmware file to flash
4343 -flasher string
44- firmware upload binary (precompiled for the right target) -> if not provided it will expect FirmwareUpdater sketch to be already flashed on the board
44+ firmware upload binary (precompiled for the right target)
45+ -get_available_for string
46+ Ask for available firmwares matching a given board
4547 -model string
46- module model (winc or nina )
48+ module model (winc, nina or sara )
4749 -port string
4850 serial port to use for flashing
4951 -programmer string
5052 path of programmer in use (avrdude/bossac)
5153 -read
5254 read all firmware and output to stdout
5355 -restore_binary string
54- firmware upload binary (precompiled for the right target) -> if not provided it will try to restore the original firmware
56+ firmware upload binary (precompiled for the right target)
5557```
5658
5759## How to build the tools from source file
5860
59- From the sources root directory run:
61+ To build we use [ task ] ( https://taskfile.dev/ ) for simplicity. From the sources root directory run:
6062
6163```
62- go build -o updater
64+ task dist:<OS>_<ARCH>
6365```
6466
65- This will create the ` updater ` executable.
67+ Where <OS > could be one of: ` macOS ` ,` Windows ` ,` Linux ` . And <ARCH >: ` 32bit ` , ` 64bit ` , ` ARM ` or ` ARM64 `
68+
69+ This will create the ` FirmwareUploader ` executable.
6670
6771## Security
6872
@@ -86,4 +90,4 @@ details.
8690You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the
8791Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
8892
89- [ security-policy ] : https://github.com/arduino/FirmwareUpdater /security/policy
93+ [ security-policy ] : https://github.com/arduino/FirmwareUploader /security/policy
0 commit comments