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!
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:
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.
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!
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.