Arduino Uno R4 Wi-Fi Repeatedly Disconnecting - Unable to Upload Sketch

Hi everyone,

I'm having trouble with an Arduino Uno R4 Wi-Fi I bought new. When I connect it to my PC via USB-C, it initially plays the "connected" sound but then repeatedly plays the "disconnect" sound (in a 3-4 second interval) without playing the reconnecting sound again. When trying to upload a sketch, I get this error:

Failed uploading: upload error, exit status 2
Error code: could not open COM4 (port doesn’t exist)

It does show the Port in the Arduino Ide though.
I've tried several USB-C cables with no luck and I also tried it with a different computer. Is there any troubleshooting advice, or could this indicate that the board is broken? I’m not sure if there’s an alternate way to connect to my PC, as it only has the one USB-C port. Thanks in advance for any help!

I'm not familiar with your board or its troubleshooting.

  1. Is anything connected to your board? Disconnect it all.
  2. You can observe the behaviour of the board in Windows device manager while the board is connecting/disconnecting etc. What does it show?

There is a dedicated category for the Uno R4 WiFi; I've moved your topic there.

Thank you for moving it. Its my first post and I didn’t notice the dedicated category!

Nothing is connected to the board. I checked the device manager, and it shows this error in the device history:

"The device USB\VID_2341&PID_0043\75839313930351108242 was not migrated due to a partial or ambiguous match.

Last device instance ID: USB\VID_1017&PID_6002\5&1e7d8db7&0&8
Class GUID: {36fc9e60-c465-11cf-8056-444553540000}
Location path: PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(8)
Migration rank: 0xF000FFFFFFFF0013
Present: false"

That helped! I figue it is a driver problem then. I'll look for a solution.
Thank you again for helping me look into this!

There seems to be some confusion in Windows about your board.

From devicehunt.com USB\VID_1017

Does this ring any bells on your system (ignore the fact that it's a linux link)? Speedy Industrial Supplies M625 [Vendor: DELUX]

Thank you. On your first link, it said that there are no drivers for this device and I could not figure out what you meant me to do on the second website. But I tried a lot to fix it if it was a driver issue. I tried to get this driver working (in case it is a driver problem), but it's still not cooperating.
I noticed that every time the device disconnects and reconnects, it throws the following error in the admin event console:

Error staging metadata. Result=0x80070490 for container "{549AC612-
E3E0-585C-BD10-ECFBA78..."

According to this link, this issue is reportedly linked to a Microsoft server problem and was supposedly fixed back in February. (I can also not see how that would have affected my pc connecting to the board)

From what I can tell, it seems like the device connects, starts initializing, but then disconnects partway through, causing it to reattempt the initialization in a loop. Here’s what I’ve tried so far:

  1. Manually setting up the driver from Arduino’s GitHub repository. (GitHub - arduino/ArduinoCore-renesas)
  2. Changing the Cable
  3. Testing it on a MacBook
  4. I also ran a sfc /scannow on the drivers

Another odd thing: the board isn’t being recognized as an "Arduino Uno R4 WiFi" but as an "ESP family device" (I also installed the ESP board packages just to be sure).

May there be an issue with the board’s core software itself?

I often use devicehunt.com to find out what a specific USB VID/PID combination is. The last link indicates that the Speedy is a mouse. It looks to me like your Windows system is seeing it like that but I do not know why.

I know there is an ESP32 on the board but I can't possibly tell you why Windows would see it like that.

Sorry for not being able to help further.

Maybe one of the Arduino employees can explain things and help further.

I tried finding similar posts and there actually are people with similar problems[Device Not Showing in COM Port - #89 by ptillisch] but their fix doesen't work for me. It says when i open the .bat file proposed there:

Cannot enumerate, try direct open
No board connected
Cannot put the board in ESP mode. (via 'unor4wifi-reboot')
Press any key . . .

Additional information (it might help):
the led marked L on the board is continously blinking and the rx led is randomly flashing.

Thank you for taking your time looking into it!

is there another way to connect it to my pc but via cabel?

There are other way to upgrade the esp32 module, maybe any of these methods would work.
Can you share also pictures of your board?

Hello @robix_xx,

Are you still experiencing this issue with your Arduino Uno R4 Wi-Fi? If you haven’t tried it yet, please try to put the board into bootloader mode by quickly pressing the RST button twice. This should make the LED start a fading effect, which may help to recognize your board.

If you tried the steps suggested by @mario-r but the problem continues, you can also reach out to us directly by submitting a ticket through the Contact Us form for further troubleshooting steps.

Thank you very much for your cooperation, and I look forward to your response!

Hello jorgetrujilloroman and mario-r,

Thanks for the support and suggestions! I’ll definitely give the methods proposed by @mario-r a try. I have tried the bootloader reset with the RST button and it did not work. If mario-r's suggestion doesn’t resolve the issue, I’ll reach out through the Contact Us form as suggested.

I appreciate everyone’s help! Than you.

thanks a lot, flashing the firmware fixed the issue!

1 Like

Hi @robix_xx
How are you able to flash the firmware if it keeps disconnecting? im having the same problem

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.