I've just got this UNO R4 WiFi and there is a problem. I can't upload to it. I have tried everything already before I came here. Probably spent around 4/5 hours on it.
Here's a screenshot. I've tried everything, different data cables, settings, drivers, re-installing, rebooting... Old R3 UNO works fine. Tried disconnecting all other serial devices, still always the same. When I plug in the UNO R3 it says Arduino UNO (COM6) in the device manager. But, when plugging in the UNO R4 it just always says USB Serial Device (COM7) (could this be a clue?)
Yes. The Arduino R4 does not use a USB to serial chip, it communicates directly with the USB interface in your computer. That is why it is showing up like it does.
Ok I will be able to tell you more when my R4 arrives. Just ordered it and the Web site says it starts shipping the first week in July, which is just the other end of the weekend.
It could be that your Windows machine has some sort user restriction and you don't have the permission to access this serial port Brian.
Read this thread. None of the steps suggested worked. I have ordered 2 premium USB type C data cables form Amazon on the chance it might be the cables, although I'm not that confident that is the problem. Of the 3 cables I have tested, one of them is what I use with my audio device which should work since it's a high speed data cable.... But I don't know.
Kicking myself for NOT noticing the UNO R4 was USB type C when I ordered it (too excited), I probably would have not got it...
Yeah, I also managed to get something uploaded using the legacy IDE. Although, the first time I did try it it did not work, but anyway. Happy now I know it wasn't my leads or a faulty board.
I too have the Upload problem with both of my R4 Wifi Uno boards. I followed the instructions to delete the file folders of Bossac and dfu-util. I then deleted the 1.0.1 version of the board definitions for the R4 boards. I answered 'Yes' to the
"dpinst-amd64.exe" install message because when I said NO on a different install of 1.0.1 there was no change in the outcome. I also rebooted the PC before doing the re-install of the R4 board files. Bossac now has ver 1.9.1-arduino5 in it and dfu-util has 0.11.0-arduino5 in it now also. There was no change as the programs fail to upload with Error 1 being the code for the failure. However, choosing tools, port will show Com6 (Arduino Uno R4 Wifi) and the same shows up in the lower right hand corner of the IDE. Both never change even when trying to upload and remain after the failure. Here is a Pic of my USB Ports on my Windows 11 machine.
I have the same problem under Windows 10 = cannot upload to the UNO R4 WiFi (or the Minima).
The upload process causes a momentary disconnection and then Windows sees it as being on a different COM port when it reconnects.
The upload starts during the disconnection and then times out because the board virtually moved ports.
Even hitting the reset button causes a momentary disconnection with my laptop.
Hi @flynace. We are aware of the problem with uploading to the UNO R4 WiFi. However, I haven't seen any reports of upload problems with the UNO R4 Minima.
Despite the other similarities, there is a significant difference in the USB interface of the UNO R4 Minima and UNO R4 WiFi boards because the ESP32 WiFi module is used as a USB interface on the UNO R4 WiFi, whereas the Renesas RA4M1 microcontroller is used directly as the USB interface on the UNO R4 Minima.
Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.
I ask for this information because I want to give you the appropriate instructions for the IDE version you are using.
Hi @ptillisch - IDE 2.1.0
For the Minima I get the following error message when trying to upload Blink:
Sketch uses 33576 bytes (12%) of program storage space. Maximum is 262144 bytes.
Global variables use 2524 bytes (7%) of dynamic memory, leaving 30244 bytes for local variables. Maximum is 32768 bytes.
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
Cannot open DFU device 2341:0069 found on devnum 42 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74
This is similar to what I am seeing on the GIGA R1.
The error message for the UNO R4 WiFi is different:
No device found on COM12
Failed uploading: uploading error: exit status 1
I would like to add to the list of users having problems with the upload of sketches to the UNO R4 WiFi. I'm using Arduino IDE 2.1.0 on a Dell XPS 9520 laptop running the latest Windows 11 Pro (22H2). I've used different cables attached to different USB ports (both direct and thru a hub). These connections worked fine for a Sparkfun Redboard Artemis. Connections with UNO R3 work fine as well (with a different cable).
When I try to compile and upload the example "GameOfLife.ino", I get the following in the Output window:
Sketch uses 44968 bytes (17%) of program storage space. Maximum is 262144 bytes.
Global variables use 3488 bytes (10%) of dynamic memory, leaving 29280 bytes for local variables. Maximum is 32768 bytes.
Performing 1200-bps touch reset on serial port COM10
"C:\Users\dklim\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino5/bossac" -d --port=COM10 -U -e -w "C:\Users\dklim\AppData\Local\Temp\arduino\sketches\884D8A1A2CA738FAE2C645F77671B637/GameOfLife.ino.bin" -R
Set binary mode
Send auto-baud
Set binary mode
No device found on COM10
Failed uploading: uploading error: exit status 1
This was after I manually changed the COM port to COM10. I previously got the same message with the automatically assigned COM5 (No device found on COM5).
Thank you for the massive amount of patience and support in helping us track this issue.
We spent the whole day patching and releasing a patch fix to IDE 2.1
If you check for updates you'll see 2.1.1 available.
That contains a new version of the Arduino CLI that fixes the serial reset flow and should now work for every windows user.
If the update doesn't show up just head here and download IDE 2.1.1 manually.
I'm beyond sorry for the inconvenience, I know exactly what it means to have a new toy and wanting to just play with it.
Eternally thankful for the good words and the time you spent with us.