Hi @capv_23. Here you go:
- Disconnect the USB cable of the UNO R4 WiFi board from your computer.
- Use a jumper wire to connect these two pins ("DOWNLOAD" and "GND") on the 2x3 male header that is near the USB socket on the UNO R4 WiFi board:
📷
Arduino - CC BY-SA 4.0 (cropped)
- Connect the UNO R4 WiFi board to your computer with a USB cable.
- Open the release page for the latest version of the firmware in your web browser:
https://github.com/arduino/uno-r4-wifi-usb-bridge/releases/latest - Click the "unor4wifi-update-macos.zip" download link under the "Assets" section of the release page:
- Wait for the download to finish.
- Extract the downloaded file.
- Unzip the downloaded file.
- Control-click on the unzipped
unor4wifi-update-macosfolder.
A context menu will open. - Select "New Terminal at Folder" from the menu.
A terminal window will open. - Type the following command in the Terminal window:
sudo xattr -d com.apple.quarantine bin/espflash; bin/espflash write-bin -b 115200 0x0 ./firmware/UNOR4-WIFI-S3-*.bin - Press the Enter key.
A "Password" prompt will appear in the Terminal window. - Type your macOS user password.
- Press the Enter key.
- The terminal window might now show a list of the serial ports present on your computer.
For example:
If so, use the ↓ key on your keyboard to select the first "USB JTAG_serial debug unit" port from the list ([2024-04-04T04:54:21Z INFO ] 🚀 A new version of espflash is available: v3.0.0 [2024-04-04T04:54:21Z INFO ] Detected 6 serial ports [2024-04-04T04:54:21Z INFO ] Ports which match a known common dev board are highlighted [2024-04-04T04:54:21Z INFO ] Please select a port ❯ /dev/cu.wlan-debug /dev/tty.wlan-debug /dev/cu.Bluetooth-Incoming-Port /dev/tty.Bluetooth-Incoming-Port /dev/cu.usbmodem2114101 - USB JTAG_serial debug unit /dev/tty.usbmodem2114101 - USB JTAG_serial debug unit/dev/cu.usbmodem2114101in the example above), and then press the Enter key. - The terminal window will now show the following prompt:
Press the N key on your keyboard.? Remember this serial port for future use? (y/n) › - The flashing process should now start. Wait for it to finish, as indicated by output that looks something like this:
[2024-04-04T04:50:38Z INFO ] Serial port: '/dev/cu.usbmodem2114101' [2024-04-04T04:50:38Z INFO ] Connecting... [2024-04-04T04:50:38Z INFO ] Using flash stub Chip type: esp32s3 (revision v0.1) Crystal frequency: 40MHz Flash size: 8MB Features: WiFi, BLE MAC address: dc:54:75:c4:c6:54 [00:00:16] [========================================] 877/877 0x0 - Disconnect the USB cable of the UNO R4 WiFi board from your computer.
It is essential to perform this step. - Disconnect the jumper wire you added at step (2) of the instructions.
- Connect the UNO R4 WiFi board to your computer with the USB cable again.
The board should now be recognized correctly in Arduino IDE once again.
Please let me know if you have any questions or problems while following those instructions.
