@@ -13,53 +13,53 @@ https://github.com/arduino/FirmwareUpdater/releases/latest
13
13
Extract the zip file and run (for example, NINA -> WiFi1010)
14
14
15
15
```
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
+ ./$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
17
17
```
18
18
19
19
To flash a MKR1000:
20
20
21
21
```
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
+ ./$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
23
23
```
24
24
25
25
To update a MKRNB1500:
26
26
27
27
```
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
+ ./$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
29
29
```
30
30
31
31
### Command line options
32
32
33
33
The full list of command line options can be obtained with the ` -h ` option: ` ./updater -h `
34
34
35
35
```
36
- Usage of ./distrib/linux64/updater:
37
- -address value
38
- address (host:port) to fetch and flash root certificate for, multiple values allowed
39
- -certs string
40
- root certificate directory
41
- -firmware string
42
- firmware file to flash
43
- -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
45
- -model string
46
- module model (winc or nina)
47
- -port string
48
- serial port to use for flashing
49
- -programmer string
50
- path of programmer in use (avrdude/bossac)
51
- -read
52
- read all firmware and output to stdout
53
- -restore_binary string
54
- firmware upload binary (precompiled for the right target) -> if not provided it will try to restore the original firmware
36
+ Usage of ./distrib/linux64/updater:
37
+ -address value
38
+ address (host:port) to fetch and flash root certificate for, multiple values allowed
39
+ -certs string
40
+ root certificate directory
41
+ -firmware string
42
+ firmware file to flash
43
+ -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
45
+ -model string
46
+ module model (winc or nina)
47
+ -port string
48
+ serial port to use for flashing
49
+ -programmer string
50
+ path of programmer in use (avrdude/bossac)
51
+ -read
52
+ read all firmware and output to stdout
53
+ -restore_binary string
54
+ firmware upload binary (precompiled for the right target) -> if not provided it will try to restore the original firmware
55
55
```
56
56
57
57
## How to build the tools from source file
58
58
59
59
From the sources root directory run:
60
60
61
61
```
62
- go build -o updater
62
+ go build -o updater
63
63
```
64
64
65
65
This will create the ` updater ` executable.
0 commit comments