Skip to content

Commit b1ddb36

Browse files
committed
Add updater README
1 parent 42a9585 commit b1ddb36

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

unor4wifi-updater/README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
## On Windows
2+
* Extract the zip file
3+
* Disconnect all USB gadgets from your PC
4+
* Connect your UNO R4 WiFi
5+
* Double click on update.bat
6+
* Follow instructions on the terminal window
7+
* Disconnect and connect your UNO R4 WiFi from your PC
8+
9+
On windows `espflash `do not list the board as `Espressif USB JTAG/serial debug unit` but only as generic `COMX` port.
10+
Check the `COMX` properties from the device manager to be sure what to select.
11+
12+
![image](https://github.com/pennam/UnoR4WiFiUpdate/assets/20436476/7c219bc1-d68e-4c61-8b43-ffffbba4955c) ![image](https://github.com/pennam/UnoR4WiFiUpdate/assets/20436476/ff2dbb8f-2d6c-4d6c-aab0-5002bd1a11d9)
13+
14+
If Windows is overprotective click on `More info` and then `Run anyway`
15+
16+
![image](https://github.com/pennam/UnoR4WiFiUpdate/assets/20436476/dbd20f28-c3c5-4194-b509-f728ac6dc0df)
17+
18+
## On Linux
19+
* Extract the zip file
20+
* Disconnect all USB gadgets from your PC
21+
* Connect your UNO R4 WiFi
22+
* From the terminal emulator run `./update.sh`
23+
* Follow instructions on the terminal window
24+
* Disconnect and connect your UNO R4 WiFi from your PC
25+
26+
On some distro may be required to run the script with `sudo`.
27+
28+
## On MacOS
29+
* Extract the zip file
30+
* Disconnect all USB gadgets from your PC
31+
* Connect your UNO R4 WiFi
32+
* Double click on update.command
33+
* Follow instructions on the terminal window
34+
* Disconnect and connect your UNO R4 WiFi from your PC
35+
36+
If MacOS complains about the developer run this commands from the root folder of the extracted .zip file and then double click again on the script.
37+
38+
```
39+
chmod a+x update.command
40+
sudo xattr -d com.apple.quarantine bin/espflash
41+
sudo xattr -d com.apple.quarantine bin/unor4wifi-reboot-macos
42+
```
43+
44+
Running the script from the terminal instead of double click should avoid the commands above.
45+
46+
![image](https://github.com/pennam/UnoR4WiFiUpdate/assets/20436476/dd776469-ba93-4430-9b72-25a6ca75840f)
47+
48+
## Troubleshooting
49+
* If the script report this error: `Cannot put the board in ESP mode. (via 'unor4wifi-reboot')`
50+
51+
### Option 1
52+
Disconnect and connect again your UNO R4 WiFi from your PC and re-run the script.
53+
54+
### Option 2
55+
Manually put the UNO R4 WiFi in ESP mode
56+
57+
1. Disconnect the UNO R4 WiFi from your PC
58+
2. Short the pins highlighted in the image using a jumper wire
59+
60+
![image](https://github.com/pennam/UnoR4WiFiUpdate/assets/20436476/b271759e-5d7b-44f5-954e-15bc0f7feae9)
61+
62+
3. Connect the UNO R4 WiFi to your PC
63+
4. From the root folder of the downloaded .zip file run
64+
65+
#### Linux and MacOS
66+
`./bin/espflash write-bin -b 115200 0x0 firmware/UNOR4-WIFI-S3-0.2.0-rc1.bin`
67+
68+
#### Windows
69+
`bin\espflash write-bin -b 115200 0x0 firmware\UNOR4-WIFI-S3-0.2.0-rc1.bin`
70+
71+
5. Disconnect and connect your UNO R4 WiFi from your PC

0 commit comments

Comments
 (0)