1
- = Firmware/Certificates updater for the Arduino WiFi 101 Shield =
1
+ = Firmware/Certificates updater for the WiFi 101 and MKR1000 =
2
2
3
3
Use this tool to update the SSL root-certificates installed on the
4
- WiFi 101 shield.
4
+ Arduino/Genuino WiFi 101 shield or the Arduino/Genuino MKR1000 board .
5
5
6
6
== Usage ==
7
7
8
+ === To update SSL Certificates ===
9
+
8
10
1. Upload the https://github.com/arduino-libraries/WiFi101/tree/master/examples/FirmwareUpdater[FirmwareUpdater]
9
11
sketch onto your board. You need to install the lastest WiFi101 library
10
12
(available through the library manager of the Arduino IDE). The sketch is
11
- included as an example of the library,
12
- ```File -> Examples -> WiFi101 -> FirmwareUpdater```.
13
+ included as an example of the library: `File -> Examples -> WiFi101 -> FirmwareUpdater`
13
14
2. Run "winc1500-uploader-gui".
14
- 3. The tools is able to fetch root certificates directly from the
15
- websites, just write the IP or domain in the text box and click
16
- on the "Fetch" button.
17
- 4. Select the serial port of the board running the "FirmwareUploader"
18
- sketch.
15
+ 3. This tool is able to fetch the SSL Root Certificates directly from the
16
+ target websites, just write the IP or domain in the text box and click
17
+ on the "Fetch" button (you can repeat this step multiple times to add
18
+ more certificates).
19
+ 4. Select the serial port of the board running the "FirmwareUploader" sketch.
19
20
5. Click "Update" button.
20
21
21
- == How to build ==
22
+ **WARNING:** the storage reserved for the certificates is very small. You can load,
23
+ roughly, 10 certificates but the exact number may be lower depending on the size of the
24
+ certificates.
25
+
26
+ === To update firmware ===
27
+
28
+ This is possible using the Command-Line tool:
29
+
30
+ 1. Upload the https://github.com/arduino-libraries/WiFi101/tree/master/examples/FirmwareUpdater[FirmwareUpdater]
31
+ sketch onto your board. You need to install the lastest WiFi101 library
32
+ (available through the library manager of the Arduino IDE). The sketch is
33
+ included as an example of the library: `File -> Examples -> WiFi101 -> FirmwareUpdater`
34
+ 2. Read the label on the top of your WINC1500 in order to determine the model of the WiFi module.
35
+ The last letter should tell if you have a Model A or Model B, for example:
36
+ - `ATWINC1500-MR210PA` -> is a WINC1500 Model A
37
+ - `ATSAMW25H18-MR510PB` -> is a WINC1500 Model B
38
+ 3. Based on your WINC1500 model you must use:
39
+ - `firmware/19.4.4/m2m_aio_2b0.bin` for Model A
40
+ - `firmware/19.4.4/m2m_aio_3a0.bin` for Model B
41
+ 4. Run the following command line
42
+ `./winc1500-uploader -firmware XXX -port YYY`
43
+ replacing `XXX` with your firmware file determined on step 3) and `YYY` with your serial port number. +
44
+ For example:
45
+ `./winc1500-uploader -firmware firmware/19.4.4/m2m_aio_2b0.bin -port /dev/ttyACM0`
46
+
47
+ === Other command line options ===
48
+
49
+ The full list of command line options can be obtained with the `-h` option: `./winc1500-uploader -h`
50
+
51
+ Usage of ./winc1500-uploader:
52
+ -address value
53
+ address (host:port) to fetch and flash root certificate for, multiple values allowed
54
+ -certs string
55
+ root certificate directory
56
+ -firmware string
57
+ firmware file to flash
58
+ -port string
59
+ serial port to use for flashing
60
+ -read
61
+ read all firmware and output to stdout
62
+
63
+ == How to build the tools from source file ==
22
64
23
65
go get go.bug.st/serial
24
66
go build src/github.com/arduino-libraries/WiFi101-FirmwareUpdater/cli/main/winc1500-uploader.go
@@ -32,7 +74,7 @@ WiFi 101 shield.
32
74
33
75
== License ==
34
76
35
- Copyright (c) 2015 Arduino LLC. All right reserved.
77
+ Copyright (c) 2015-2016 Arduino LLC. All right reserved.
36
78
37
79
This library is free software; you can redistribute it and/or
38
80
modify it under the terms of the GNU Lesser General Public
@@ -47,3 +89,4 @@ Lesser General Public License for more details.
47
89
You should have received a copy of the GNU Lesser General Public
48
90
License along with this library; if not, write to the Free Software
49
91
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
92
+
0 commit comments