element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Blog Arduino UNO R4 Minima - Troubleshooting "Unknown USB Device (Device Descriptor Request Failed)"
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: javagoza
  • Date Created: 26 Sep 2023 4:15 PM Date Created
  • Views 14475 views
  • Likes 13 likes
  • Comments 3 comments
  • usb driver
  • troubleshoot
  • bootloader
  • Arduino Uno R4 Minima
  • arduino
Related
Recommended

Arduino UNO R4 Minima - Troubleshooting "Unknown USB Device (Device Descriptor Request Failed)"

javagoza
javagoza
26 Sep 2023
Arduino UNO R4 Minima - Troubleshooting "Unknown USB Device (Device Descriptor Request Failed)"

In July I received an Arduino UNO R4 minima development board and an Arduino UNO R4 WIFI sent by Arduino thanks to tariq.ahmad  from project14. I tried them, I did a small project with the WIFI version, Arduino UNO R4 WIFI - Remote Weather Station Demo , and everything went perfectly.
I was then immersed in the training of Path to Programmable III program and had no more free time. This weekend I returned to the Arduino UNO R4 minima to play around for a while, but I couldn't. When I tried to connect the board to the computer, the driver did not load: "Unknown USB Device (Device Descriptor Request Failed)"

Spoiler: The solution to my problem: "Add a while(!Serial){} after Serial.begin(xxx) "

Table of Contents

  • Troubleshooting "Unknown USB Device (Device Descriptor Request Failed)"
  • Manual installation of Arduino UNO R4 driver
  • Reflash the Bootloader
  • References

Troubleshooting "Unknown USB Device (Device Descriptor Request Failed)"

 I connected the Arduino UNO Minima R4 board to my Microsoft Studio 2 with Windows 11 but the driver did not load correctly. 

"Unknown USB Device (Device Descriptor Request Failed)"

image

I did the same thing on another laptop and exactly the same thing happened.

image

Device USB\VID_0000&PID_0002\6&1a4c1cb9&0&2 had a problem starting.

Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Service: 
Lower Filters: 
Upper Filters: 
Problem: 0x0
Problem Status: 0xC00000E5

Device USB\VID_0000&PID_0002\6&1a4c1cb9&0&2 was configured.

Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Driver Date: 06/21/2006
Driver Version: 10.0.22621.1194
Driver Provider: Microsoft
Driver Section: BADDEVICE.Dev.NT
Driver Rank: 0xFF0000
Matching Device Id: USB\DEVICE_DESCRIPTOR_FAILURE
Outranked Drivers: usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000
Device Updated: false
Parent Device: USB\VID_2109&PID_2813\5&37454925&1&9

First I tried loading the drivers manually. The same result. Later I explain how to load the drivers manually. 

I also changed the cables, both with USB-A host and with USB-C Host but the same thing happened.


Then, discarding the drivers and cables, I went to reload the bootloader. I went to the Renesas website, downloaded the flasher and loaded the latest Arduino bootloader. Below how to load the bootloader again on the Arduino UNO R4 minima. It didn't work either.


Finally I started to think that the Arduino must be sending something through the serial port that was confusing the operating system. So I uploaded a simple BLINK sketch that didn't use the serial port at all.

First I set the the Arduino board to DFU mode (Device Firmware Update). Pressed and released the button marked "RESET" on the Arduino UNO R4 minima board quickly twice. Then the "L" LED started blinking. Then Santiago DFU device is loaded.

image


Then selected the port of the UNO R4 Minima board from the Tools/Port menu in Arduino IDE and then upload a simple BLINK sketch to the board as usual.

After loading the new sketch the driver is correctly loaded:

image

So what was the problem. Apparently I left a sketch uploaded in July that used the serial port to print some values.
Can I reproduce the problem again? Yes indeed, just load a sketch that opens the serial port to cause problems again when loading the driver in Windows.
It can be fixed? I think I have found the solution, as simple as waiting in a loop until the serial port is stable.


void setup() {
Serial.begin(9600);
while(!Serial){}
}

Manual installation of Arduino UNO R4 driver

Install the Arduino UNO R4 Minima board from the Arduino IDE if not yet installed.

Locate the driver installation folder.

Run the installer with administrator privileges: dpinst-amd64.exe in my case.

image

Go to the parent folder and run the post_install.bat also with administrative privileges.

image

You are done!

Reflash the Bootloader

In case you need to flash the bootloader on the UNO R4 Minima, you can follow the steps below:

Install the Renesas core from the Arduino IDE

Navigate to: "C:\Users\YourWindowsUserName\AppData\Local\Arduino15\packages\arduino\hardware\ renesas_uno\1.0.4\bootloaders\UNO_R4"

image

Install the Renesas flash programmer (download page)

image

Step 5 To flash the bootloader:

  • Connect your board.
  • Short the BOOT and GND pin found on the UNO R4 Minima.

Arduino UNO R4 FLASH BOOTLOADER

  • Go to the Connect Settings tab.
  • Select the COM port in the Tool > select the port shown in the IDE.
  • Press start.

image

image

Push Reset twice and short BOOT to GND on the Arduino Uno R4 minima board.

image

Log

Renesas Flash Programmer V3.12.00 [3 July 2023]

Connecting the tool
Tool : COM port (COM3), Interface : 2 wire UART
Connecting to the target device
Setting the target device
Setting the target device
Query the device information.
Signature:
    Device: RA
    Boot Firmware Version: V2.0
    Device Code: 02
Code Flash 1 (Address : 0x00000000,  Size : 256 K,  Erase Size : 2 K)
Data Flash 1 (Address : 0x40100000,  Size : 8 K,  Erase Size : 1 K)
Config Area (Address : 0x01010008,  Size : 44,  Erase Size : 0)

Disconnecting the tool
Operation completed.

Locate the dfu_minima.hex bootloader.

image

Create new project

image

Renesas Flash Programmer V3.12.00 [3 July 2023]

Connecting the tool
Tool : COM port (COM3), Interface : 2 wire UART
Connecting to the target device
Setting the target device
Setting the target device
Query the device information.
Signature:
    Device: RA
    Boot Firmware Version: V2.0
    Device Code: 02
Code Flash 1 (Address : 0x00000000,  Size : 256 K,  Erase Size : 2 K)
Data Flash 1 (Address : 0x40100000,  Size : 8 K,  Erase Size : 1 K)
Config Area (Address : 0x01010008,  Size : 44,  Erase Size : 0)

Disconnecting the tool
Operation completed.

Loading File (C:\Users\ealbertos\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.4\bootloaders\UNO_R4\dfu_minima.hex) CRC-32 : E01B5903

Target device : RA

Connecting the tool
Tool : COM port (COM3), Interface : 2 wire UART
Connecting to the target device

Disconnecting the tool
Error(E3000105): The device is not responding.
The target device is not connected or has not returned a response. Confirm that the connection to the target device and the operating mode are correct. The security functions of the target device may have prevented the connection.
Refer to https://www.renesas.com/rfp-error-guide#no-response, Problems during Operation.

Operation failed.

Loading File (C:\Users\ealbertos\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.4\bootloaders\UNO_R4\dfu_minima.hex) CRC-32 : E01B5903

Target device : RA

Connecting the tool
Tool : COM port (COM3), Interface : 2 wire UART
Connecting to the target device
Setting the target device
Setting the target device
Communication speed : 115.200 bps
Signature:
    Device: RA
    Boot Firmware Version: V2.0
    Device Code: 02

Erasing the selected blocks
  [Code Flash 1] 0x00000000 - 0x0003FFFF     size : 256 K
  [Data Flash 1] 0x40100000 - 0x40101FFF     size : 8 K

Writing data to the target device
  [Code Flash 1] 0x00000000 - 0x00003087     size : 12,1 K
  [Config Area] 0x01010018 - 0x01010033     size : 28

Verifying data
  [Code Flash 1] 0x00000000 - 0x00003087     size : 12,1 K
  [Config Area] 0x01010018 - 0x01010033     size : 28

Disconnecting the tool
Operation completed.

Flash the bootloader

image

Reset the board


image

References

  • https://forum.arduino.cc/t/dfu-port-not-working-for-arduino-uno-and-arduino-uno-r4-minima/1169109
  • https://docs.arduino.cc/resources/datasheets/ABX00080-datasheet.pdf
  • https://github.com/arduino/ArduinoCore-renesas
  • https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui#documents

Ready to power your projects with Arduino? Browse our online stores and discover the full selection of arduino products in one place.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 1 year ago +1
    You made it look easy, but I know better.
  • javagoza
    javagoza over 1 year ago in reply to StefanL38

    In the Arduino Minima you must first 

    • Connect your board.
    • Short the BOOT and GND pin found on the UNO R4 Minima.

    Don't know anything about the Weact.Studio RA4M1-board

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • StefanL38
    StefanL38 over 1 year ago

    Your tutorial can be improved.

    Your tutorial is missing some screenshots.

    As Long as no project is created the Renesas flashing tool looks different.

    I tried to use your tutorial to flash the Arduino UnoMinima-Bootloader into a Weact.Studio RA4M1-board

    which I bought here

    https://de.aliexpress.com/item/1005006103872563.html

    it did not work.

    Here is the screenshot

    image

    I guess I have to use different adjustments

    Your tutorial does not show screenshots of the other tabs.

    It might be that all default options work. Anyway it would be good to add all the screenshots of all tabs

    To what options must the

    - operations tab

    - block settings

    - connect settings

    - unique code

    be set to make it work?

    What do you know how to flash bootloaders in general into Renesas RA4M1-Chips?

    best regards Stefan 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    You made it look easy, but I know better.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube