UNO R4 Wifi is not recognized or wrong recognized

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:

  1. Unplug the USB cable of the UNO R4 WiFi board from your computer.
  2. Unplug any non-essential USB devices from your computer.
  3. Connect the UNO R4 WiFi board to your computer with the USB cable.
  4. 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
  5. Click the "unor4wifi-update-macos.zip"download link under the "Assets" section of the release page:
  6. Wait for the download to finish.
  7. Unzip the downloaded file.
  8. Control-click on the unzipped unor4wifi-update-macos folder.
    A context menu will open.
  9. Select "New Terminal at Folder" from the context menu.
    A terminal window will open.
  10. 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
    
  11. Press the Enter key.
    A "Password" prompt will appear in the Terminal window.
  12. Type your macOS user password.
  13. Press the Enter key.
  14. The terminal window might now show a list of the serial ports present on your computer.
    For example:
    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
    
    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.
  15. The terminal window will now show the following prompt:
    ? Remember this serial port for future use? (y/n) ›
    
    Press the N key on your keyboard.
  16. 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
    
  17. Close the Terminal window.
  18. Disconnect the USB cable of the UNO R4 WiFi board from your computer.
  19. 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.