Skip to content

Commit d2c2b3d

Browse files
committed
Update README.md
1 parent e1be256 commit d2c2b3d

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

README.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -13,53 +13,53 @@ https://github.com/arduino/FirmwareUpdater/releases/latest
1313
Extract 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+
./$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
1717
```
1818

1919
To 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+
./$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
2323
```
2424

2525
To 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+
./$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
2929
```
3030

3131
### Command line options
3232

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

3535
```
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
5555
```
5656

5757
## How to build the tools from source file
5858

5959
From the sources root directory run:
6060

6161
```
62-
go build -o updater
62+
go build -o updater
6363
```
6464

6565
This will create the `updater` executable.

0 commit comments

Comments
 (0)