Skip to content

Commit 94a1a17

Browse files
committed
Update README.md
1 parent 15dee39 commit 94a1a17

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,47 @@ https://github.com/arduino/FirmwareUploader/releases/latest
1313
Extract the zip file and run (for example, NINA -> WiFi1010)
1414

1515
```
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
1717
```
1818

1919
To flash a MKR1000:
2020

2121
```
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
2323
```
2424

2525
To update a MKRNB1500:
2626

2727
```
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
2929
```
3030

3131
### Command line options
3232

3333
The full list of command line options can be obtained with the `-h` option: `./FirmwareUploader -h`
3434

3535
```
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)
5757
```
5858

5959
## How to build the tools from source file

0 commit comments

Comments
 (0)