|
| 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 | +  |
| 13 | + |
| 14 | +If Windows is overprotective click on `More info` and then `Run anyway` |
| 15 | + |
| 16 | + |
| 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 | + |
| 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 | + |
| 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