I have the exact same problem on my Mint Linux system but when I use my Dell Laptop running Windows 10 both boards work fine. Both are new boards I received today. I prefer my desk top Linux system so I don't consider the problem solved. I tried different cables and different USB ports - same results. I tried the double tap on the Minima - no help.
Hi @deneville. I'm going to ask you to post the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compilation in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
Open a forum reply here by clicking the Reply button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Arduino: 1.8.19 (Linux), Board: "Arduino Uno R4 Minima"
Archiving built core (caching) in: /tmp/arduino_cache_237965/core/core_arduino_renesas_uno_minima_3ff564542a82811bef8c4df5910557c4.a
Sketch uses 40960 bytes (15%) of program storage space. Maximum is 262144 bytes.
Global variables use 3716 bytes (11%) of dynamic memory, leaving 29052 bytes for local variables. Maximum is 32768 bytes.
/home/dave/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util --device 0x2341:0x0069,:0x0369 -D /tmp/arduino_build_2383/Wire128x64.ino.bin -a0 -Q
dfu-util 0.11-arduino4
dfu-util: Cannot open DFU device 2341:0069 found on devnum 2 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
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 http://sourceforge.net/p/dfu-util/tickets/
the selected serial port
does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
In order for Arduino IDE to upload to the Arduino board, your user account must have write permission for that device. Standard user accounts don't have this permission by default. This error can occur when you attempt an upload without the necessary permissions. So it is necessary to configure your system to allow the upload. This is done by creating a special file.
GreyLimit already shared such a file, which should solve the problem once you do something like logging out and back in after creating it.
Alternatively, Arduino provides an equivalent script that will create and activate the file for you.
I'll provide instructions you can follow to run that script:
Thanks! This solution worked for me. In fact I tried your earlier solution first but uploading required the double tap of the reset button to get the upload to work. Puzzling if both methods accomplish the same thing but problem solved thanks again!
Thank You All,
This has solved problem for me...
I recently purchased Arduino Uno R4 Minima I was having same problems when it's connected to my Linux Mint PC but I managed to resolve the issue when using it on a Windows PC.
Through this post I managed to resolve the issue (I think on Linux PC) before I download any sketches I need to press the reset button twice, this will put the Uno R4 minima into DFU Mode then it will upload sketches in this case the 'blink'.
I've also changed the blink rate on the sketch to confirm the program works. I think with some of the other boards like ESP32's reset button has to be pressed before uploading any sketches.
It should be added in large notes to the official tutorial. As it is now, the official tutorial is unusable (at least for Linux).
EDIT: after moving this post to a new topic my comment doesn't make sense, unless I link the post I referred to
BTW, it is normally the case that in Linux USB devices needs to be manually added to the udev rules if not done by some installer (maybe we should suggest to add this as an option for the IDE, for instance?).