UNO R4 Wifi is not recognized or wrong recognized

Hi @Heelix and @mauroalfieri. There were some reports of uploads to the UNO R4 WiFi failing with a "No device found on ..." error here:

The developers made a fix in the firmware. There is now a pre-release version of that firmware available and the affected users are reporting that it solved the error for them.

If you would like to give that pre-release version of the firmware a try, I'll provide instructions for installing it:

  1. Unplug any non-essential USB devices from your computer.
  2. Connect the UNO R4 WiFi board to your computer with the USB cable.
  3. 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/tag/0.2.1-rc1
  4. Click the "unor4wifi-update-macos.zip"download link under the "Assets" section of the release page:
  5. Wait for the download to finish.
  6. Unzip the downloaded file.
  7. Control-click on the unzipped unor4wifi-update-macos folder.
    A context menu will open.
  8. Select "New Terminal at Folder" from the context menu.
    A terminal window will open.
  9. 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
    
  10. Press the Enter key.
    A "Password" prompt will appear in the Terminal window.
  11. Type your macOS user password.
  12. Press the Enter key.
  13. 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.
  14. 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.
  15. 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
    
  16. Close the Terminal window.
  17. Disconnect the USB cable of the UNO R4 WiFi board from your computer.
  18. Connect the UNO R4 WiFi board to your computer with the USB cable again.

Please let me know if you have any questions or problems while following those instructions.