@@ -13,47 +13,47 @@ https://github.com/arduino/FirmwareUploader/releases/latest
13
13
Extract the zip file and run (for example, NINA -> WiFi1010)
14
14
15
15
```
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
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
17
17
```
18
18
19
19
To flash a MKR1000:
20
20
21
21
```
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
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
23
23
```
24
24
25
25
To update a MKRNB1500:
26
26
27
27
```
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
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
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: ` ./FirmwareUploader -h `
34
34
35
35
```
36
- Usage of ./ FirmwareUploader:
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)
45
- -get_available_for string
46
- Ask for available firmwares matching a given board
47
- -model string
48
- module model (winc, nina or sara )
49
- -port string
50
- serial port to use for flashing
51
- -programmer string
52
- path of programmer in use (avrdude/bossac)
53
- -read
54
- read all firmware and output to stdout
55
- - restore_binary string
56
- firmware upload binary (precompiled for the right target )
36
+ FirmwareUploader ( FirmwareUploader).
37
+
38
+ Usage:
39
+ FirmwareUploader [flags]
40
+
41
+ Examples:
42
+ ./FirmwareUploader <command> [flags...]
43
+
44
+ Flags:
45
+ --address strings address (host:port) to fetch and flash root certificate for, multiple values allowed
46
+ --certs string root certificate directory
47
+ --firmware string firmware file to flash
48
+ --flasher string firmware upload binary (precompiled for the right target )
49
+ --get_available_for string Ask for available firmwares matching a given board
50
+ -h, --help help for FirmwareUploader
51
+ --model string module model (winc, nina or sara)
52
+ --port string serial port to use for flashing
53
+ --programmer string path of programmer in use (avrdude/bossac)
54
+ --read read all firmware and output to stdout
55
+ -- restore_binary string binary to restore after the firmware upload (precompiled for the right target)
56
+ --retries int Number of retries in case of upload failure (default 9 )
57
57
```
58
58
59
59
## How to build the tools from source file
0 commit comments