You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wifinina/README.md
+19-27Lines changed: 19 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,24 +8,13 @@ The way this driver works is by using the SPI interface of your microcontroller
8
8
9
9
For information on how to use this driver, please take a look at the examples located in the [examples/wifinina](../examples/wifinina) directory.
10
10
11
-
## WiFiNINA Firmware Installation
11
+
## nina-fw Firmware
12
12
13
-
**PLEASE NOTE: New Arduino Nano33 IoT boards already have the WiFiNINA firmware pre-installed, so you should not need to install the firmware yourself.**
13
+
**PLEASE NOTE: New Arduino Nano33 IoT boards most likely already have a recent version of the nina-fw firmware pre-installed, so you should not need to install the firmware yourself.**
14
14
15
-
In order to use this driver, you must have the WiFiNINA firmware installed on the ESP32 chip. If it is already installed, you can just use it. You do not need to build and flash the firmware again.
15
+
In order to use this driver, you must have the nina-fw firmware installed on the ESP32 chip. If it is already installed, you can just use it. You do not need to flash the firmware again.
16
16
17
-
### Building the WifiNINA firmware
18
-
19
-
We have provided a Dockerfile that can build the needed firmware.
20
-
21
-
```shell
22
-
docker build -t wifinina ./wifinina/
23
-
docker run -v "$(pwd)/build:/src/build" wifinina
24
-
```
25
-
26
-
This will put the firmware files into the `build` directory. Now you can flash them to the ESP32 chip.
27
-
28
-
### Installing esptool to flash WifiNINA firmware
17
+
### Installing esptool to flash nina-fw firmware
29
18
30
19
In order to flash the firmware, you need to use Python to install the `esptool` package.
31
20
@@ -35,24 +24,27 @@ pip install esptool
35
24
36
25
Once you have installed `esptool` you can follow the correct procedure for flashing your board.
37
26
38
-
### Installing on Arduino Nano33 IoT
27
+
### Updating the Arduino Nano33 IoT
39
28
40
-
The Arduino Nano33 IoT board has the WiFiNINA firmware flashed onto the onboard NINA-W102 chip out of the box.
29
+
In the `updater` directory we have a precompiled binary of the "passthrough" code you will need to flash first, in order to update the ESP32 co-processor on your board.
41
30
42
-
Flashing the firmware is only necessary on the Arduino Nano33 IoT in order to upgrade or if other firmware was installed previously.
31
+
This is what needs to be done. There is also a bash script that performs the same steps also located in the `updater` directory.
43
32
44
-
If you do want to install the firmware on the Arduino Nano33 IoT board's built-in NINA-W102 chip, you will need to first build the firmware as described above.
33
+
```shell
34
+
mkdir -p ../build
45
35
46
-
To flash this firmware on the Arduino Nano33 IoT you will need to follow the following procedure using the Arduino IDE software:
36
+
# reset board into bootloader mode using 1200 baud
37
+
stty -F /dev/ttyACM0 ispeed 1200 ospeed 1200
47
38
48
-
- Install _Arduino SAMD Boards_ from the Boards Manager.
49
-
- Install _WiFiNINA_from the Library Manager.
50
-
- Using the normal Arduino software, load the `SerialNINAPassthrough` sketch on to the board (in File -> Examples -> WiFiNINA-> Tools).
39
+
# flash the passthru binary to the SAMD21 using bossac
40
+
# code from https://github.com/arduino-libraries/WiFiNINA/blob/master/examples/Tools/SerialNINAPassthrough/SerialNINAPassthrough.ino
You only need to do this one time, and then the correct WiFiNINA firmware will be on the NINA chip, and you can just flash the Arduino Nano33 IoT board using TinyGo. We should be able to remove some of these steps in a future release of this software.
50
+
You only need to do this one time, and then the correct nina-fw firmware will be on the NINA ESP32 chip, and you can just flash the Arduino Nano33 IoT board using TinyGo.
0 commit comments