Upload failed to R4 Minima on Windows 11

I've been through many of the topics on this board looking for a solution to my issue before posting here. When I attempt to upload to my Minima board, I get the following error message:

Sketch uses 42560 bytes (16%) of program storage space. Maximum is 262144 bytes.
Global variables use 4544 bytes (13%) of dynamic memory, leaving 28224 bytes for local variables. Maximum is 32768 bytes.
"C:\Users\johnp\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5/dfu-util" --device 0x2341:0x0069,:0x0369 -D "C:\Users\johnp\AppData\Local\arduino\sketches\4EDAE1BFBE1A63C6CD379CE91F36BF97/ArduinoLEDTest.ino.bin" -a0 -Q
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 http://sourceforge.net/p/dfu-util/tickets/

Cannot open DFU device 2341:0069 found on devnum 1 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74

If I double tap the reset button to go into bootloader mode, I get the following:

Sketch uses 42560 bytes (16%) of program storage space. Maximum is 262144 bytes.
Global variables use 4544 bytes (13%) of dynamic memory, leaving 28224 bytes for local variables. Maximum is 32768 bytes.
"C:\Users\johnp\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5/dfu-util" --device 0x2341:0x0069,:0x0369 -D "C:\Users\johnp\AppData\Local\arduino\sketches\4EDAE1BFBE1A63C6CD379CE91F36BF97/ArduinoLEDTest.ino.bin" -a0 -Q
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 http://sourceforge.net/p/dfu-util/tickets/

Cannot open DFU device 2341:0369 found on devnum 1 (LIBUSB_ERROR_NOT_SUPPORTED)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74

I've reinstalled the IDE a few times, restarting Windows several times, un/reinstalled the board package several times. I've even attempted to install the driver package from ./arduino/hardware/renesas_uno/1.6.0/drivers/ When attempting to install the drivers manually (as an administrator), the installation failed several times. From the INF file, I saw that the driver installation was failing because the certificate wasn't in the Trusted Root Cert Auth. I added the certificate from the renesas.cat file to both my User and Computer TRCA. Relevant section of setupapi.dev.log here:

     sto:      {DRIVERSTORE IMPORT VALIDATE} 23:10:17.766
     sig:           Driver package catalog is valid.
     sig:           {_VERIFY_FILE_SIGNATURE} 23:10:17.778
     sig:                Key      = renesas.inf
     sig:                FilePath = C:\Windows\System32\DriverStore\Temp\{7ee79527-59cc-754b-93d5-474921d00c50}\renesas.inf
     sig:                Catalog  = C:\Windows\System32\DriverStore\Temp\{7ee79527-59cc-754b-93d5-474921d00c50}\renesas.cat
!    sig:                Verifying file against specific (valid) catalog failed.
!    sig:                Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 23:10:17.838
     sig:           {_VERIFY_FILE_SIGNATURE} 23:10:17.839
     sig:                Key      = renesas.inf
     sig:                FilePath = C:\Windows\System32\DriverStore\Temp\{7ee79527-59cc-754b-93d5-474921d00c50}\renesas.inf
     sig:                Catalog  = C:\Windows\System32\DriverStore\Temp\{7ee79527-59cc-754b-93d5-474921d00c50}\renesas.cat
!    sig:                Verifying file against specific Authenticode(tm) catalog failed.
!    sig:                Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 23:10:17.851
!!!  sig:           Driver package catalog file certificate does not belong to Trusted Root Certificates, and Code Integrity is enforced.
!!!  sig:           Driver package failed signature validation. Error = 0x800B0109
     sto:      {DRIVERSTORE IMPORT VALIDATE: exit(0x800b0109)} 23:10:17.852
!!!  sig:      Driver package failed signature verification. Error = 0x800B0109
!!!  sto:      Failed to import driver package into Driver Store. Error = 0x800B0109

I went as far as to disable SecureBoot on my machine to installed the drivers as if they were unsigned which allowed me to get that driver package installed, but did not fix the issue. Attempting to reinstall the driver again (as admin) results in the wizard saying the installation didn't change anything because it is already installed.

Attempting to update the driver from Device Manager and pointing to the folder with the drivers fails because Windows does not see any drivers in the folder for the "Santiago DFU" device I'm updating.

At this point, I'm at a complete loss and could use a little bit of support. I've been banging my head on this and have not made any headway. This is a fresh board out of the box. My user account is a local admin and full permissions on the device.

ANY sort of help would be appreciated. I had an R4 Wifi board that worked sporadically on this machine, but had issues with that board so switched to the Minima thinking it would be easier.

Hi @johnnypark78. As you probably already learned from your research, this error usually occurs when the drivers have not been installed. I understand that you have already managed to install the driver, but since you had quite a bit of trouble doing so it is possible that it didn't end up getting installed in the required manner.

So my suggestion is to reinstall the "Arduino UNO R4 Boards" platform that adds support to Arduino IDE for the UNO R4 Minima board. The drivers are automatically installed along with the platform, so doing this will result in a standard driver installation, which is expected to result in the ability to upload to the board without any additional action.

I'll provide instructions you can follow to do that:

  1. Start Arduino IDE.
    :red_exclamation_mark: Start it as your standard user account, not using the "Run as administrator" method offered by Windows.

  2. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.

  3. Find the "Arduino UNO R4 Boards" entry in the list of boards platforms.

  4. Hover the mouse pointer over the "Arduino UNO R4 Boards" entry.
    You will see a ●●● icon appear at the top right corner of the entry.

  5. Click the ●●● icon.
    A menu will open.

  6. Select "Remove" from the menu.
    An "Uninstall" dialog will open.

  7. Click the "YES" button in the "Uninstall" dialog.
    The dialog will close.

  8. Wait for the uninstall process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully uninstalled platform ...

  9. Click the "INSTALL" button at the bottom of the "Arduino UNO R4 Boards" entry.

  10. The installation operation will now begin. After some time, a "User Account Control" dialog about "dpinst-amd64.exe" will appear, click the "Yes" button in the dialog:

  11. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

Now try uploading a sketch to the UNO R4 Minima board again, just as you did before when you encountered the error. Hopefully everything will work as expected this time.

I am getting the same error message as before.

Sketch uses 39008 bytes (14%) of program storage space. Maximum is 262144 bytes.
Global variables use 3940 bytes (12%) of dynamic memory, leaving 28828 bytes for local variables. Maximum is 32768 bytes.
"C:\Users\johnp\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5/dfu-util" --device 0x2341:0x0069,:0x0369 -D "C:\Users\johnp\AppData\Local\arduino\sketches\108574542D861915065AD9F4BC84F05D/Blink.ino.bin" -a0 -Q
dfu-util 0.11-arduino4Cannot open DFU device 2341:0069 found on devnum 1 (LIBUSB_ERROR_NOT_FOUND)
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/

Failed uploading: uploading error: exit status 74

I've uninstalled/reinstalled the board package several times over the last day.

This is what I see in Device Manager:

If I double tap to go into bootloader, I see:

Also while in bootloader, If I attempt to connect to the board, I see no port discovered in the IDE:

Hi @johnnypark78 ,
Welcome to the forum..
Just got a new R4 Minima also Windows 11..
Installed board package was prompted about installing the driver, I said yes..
Plugged in the R4, 2 new devices show up in device manager..
DFU-RT port and a USB Serial Port..
Uploaded no issues..
I will say this, had some troubles a while back installing some ftdi drivers..
Under Device Security -> Core Isolation, had to turn off Memory Integrity..
Then I was able to install those drivers, I still have that option turned off in my system..
good luck.. ~q

Attempted to do that. Turned off Memory Integrity, rebooted, uninstalled drivers, reinstalled... same error.

Thank you for the recommendation though.

OK, this definitely does indicate a problem with the drivers. These devices should be shown under the "Universal Serial Bus devices" section of the Device Manager tree, and without the :warning: icon.

You shared some logs in post #1:

Are those logs from before or after your resolution of the certificate problem?:

The setupapi.dev.log snippet is from before resolving the certificate issue. It's odd that the installer didn't automatically add the cert to the store as part of set up.

Even after installing the drivers by disabling SecureBoot and treating the drivers as unsigned, there is no change in what I'm seeing in the rest of the post.

FWIW, I dusted off an old Surface tablet, installed the IDE, plugged it in and everything worked first time. Not an ideal situation, but it's been functional.