The Arduino Uno R4 wifi board is recognized as an ESP board when connected to Arduino IDE.
Please tell me the solution.
Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.
Your topic has been moved.
Hi @endlessuuu. When you update the firmware on the UNO R4 WiFi board, it is put into a special mode. While it is in that mode it will be identified as a random ESP32-based board. The board remains in this mode after the firmware update process finishes.
You should be able to put the board into the normal mode where it is once more detected as an UNO R4 WiFi by power cycling the board.
Please try this:
- Disconnect the USB cable of the UNO R4 WiFi board from your computer.
- Connect the UNO R4 WiFi to your computer with the USB cable.
After doing that, the board should be identified as an UNO R4 WiFi once more. If it doesn't, add a reply here on this forum thread to let us know and we'll provide further assistance in recovering the board.
Thank you for answer.
We proceeded as above, but it is the same.
Please tell me how to restore the board.
Please add a forum reply here to tell us which operating system you are using (e.g., "Windows")?
I ask because I would like to give you the appropriate instructions for your operating system.
I'm using Windows.
thank you
This indicates the standard firmware on the "bridge" module of the UNO R4 WiFi board has been replaced or corrupted. That could happen if you accidentally uploaded a sketch while the bridge module was in the boot mode (as happens when you do a firmware update), or perhaps if the firmware update procedure failed.
The board can be recovered by flashing the standard firmware to the bridge module. The tools we normally use for updating the firmware can't be used when the board is in this state, so it is necessary to use a command line procedure.
I'll provide instructions you can follow to do that:
- 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-windows.zip" download link under the "Assets" section of the release page:
- Wait for the download to finish.
- Extract the downloaded file.
- Start Windows "File Explorer".
- Open the
unor4wifi-update-windows
folder that was created when you extracted the downloadedunor4wifi-update-windows.zip
file at the previous step in the instructions. - In the folder listing of the
unor4wifi-update-windows
folder, hold the Shift key while clicking the right hand button on the mouse. - From the context menu, click "Open PowerShell window here".
Windows PowerShell will now open. - Type the following command at the Windows PowerShell window command prompt:
bin\espflash write-bin -b 115200 0x0 (Get-Item .\firmware\UNOR4-WIFI-S3-*.bin).FullName
- Press the Enter key.
- The PowerShell 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-11T06:39:09Z INFO ] Detected 2 serial ports [2023-07-11T06:39:09Z INFO ] Ports which match a known common dev board are highlighted [2023-07-11T06:39:09Z INFO ] Please select a port ❯ COM1 COM42- USB Serial Device (COM42)
- 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:
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:15] [========================================] 826/826 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.
Hi, could you give me the solution for the same problem on mac?
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-macos
folder.
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.usbmodem2114101
in 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.