Hi @Heelix. When you run the update.command
script during the firmware update process, it puts the UNO R4 WiFi board into a "bootloader mode". It is necessary to power cycle the board in order to get it out of that mode and back in to the normal mode.
Please do this:
- Unplug the USB cable of the UNO R4 WiFi board from your computer.
- Unplug any non-essential USB devices from your computer.
- Connect the UNO R4 WiFi board to your computer with the 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.
- Unzip the downloaded file.
- Control-click on the unzipped
unor4wifi-update-macos
folder.
A context menu will open. - Select "New Terminal at Folder" from the context menu.
A terminal window will open. - Type the following command in the Terminal window:
chmod a+x update.command && sudo xattr -d com.apple.quarantine bin/espflash && sudo xattr -d com.apple.quarantine bin/unor4wifi-reboot-macos && ./update.command
- 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 port of the UNO R4 WiFi board from the list and then press the Enter key.Start flashing firmware [2023-07-11T08:55:51Z INFO ] Detected 6 serial ports [2023-07-11T08:55:51Z INFO ] Ports which match a known common dev board are highlighted [2023-07-11T08:55:51Z 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.usbmodem2214101 - USB JTAG_serial debug unit /dev/tty.usbmodem2214101 - USB JTAG_serial debug unit
- 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:
[2023-07-11T08:59:44Z INFO ] Serial port: '/dev/cu.usbmodem2214101' [2023-07-11T08:59:44Z INFO ] Connecting... [2023-07-11T08:59:45Z 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:14] [========================================] 689/689 0x0
- Close the Terminal window.
- Disconnect the USB cable of the UNO R4 WiFi board from your computer.
- Connect the UNO R4 WiFi board to your computer with the USB cable again.
Now try using the board with Arduino IoT Cloud again, as you did before. But this time when you get to the "Launch your UNO into the IoT World" dialog, ignore the instructions there (because you already updated the firmware by following my instructions above) and instead just click the "BOARD ALREADY UPDATED" at the bottom of the dialog:
After that, the device should be successfully created and you should be able to use your UNO R4 WiFi with Arduino IoT Cloud as well as Arduino IDE.
Please let me know if you have any questions or problems while following those instructions.