USB device not recognised False Error How to Fix ?

Prakhar Harne 20 Reputation points
2024-01-26T10:43:00.86+00:00

I have this very weird problem in which when i connect my raspberry pi pico with my computer it connects shows me the drive of the pico and everything is fine and then i flash a uf2 file or a firmware file in it shows this H:\ is not accessible error and starts a connect-disconnect loop as well as after disconnecting it shows this USB device not recognised prompt. So i tried connecting it inside a Virtual Machine of windows 11 on the same computer and it runs and flashes everything just fine whereas while connected to the main computer after flashing whenever i tried to open a folder it would crash. Now i assume this is not a Hardware level issue at all please help me with this situation since using virtual machines all the time is not quite efficient for me.
I even Installed Windows to Go on my pendrive and then booted it on the same computer and then Connected my Pi to it, It was working fine. I guess it is some software drivers interfering with this. I have tried reinstalling drives and rebooting it does not fix this problem.
Image

Image

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,462 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wesley Li 1,865 Reputation points
    2024-02-02T08:11:04.09+00:00

    Hello Here are some potential solutions based on the information you’ve provided and some additional resources:   USB Device Not Recognized Error: This error can occur due to various reasons such as faulty or outdated drivers, power management settings, or hardware issues. Some potential solutions include:   Restarting your computer. Running the Hardware and Devices Troubleshooter. Checking the USB drive for file system errors. Reinstalling the USB drivers. Configuring your PC’s power management settings. Disabling the USB Selective Suspend Setting.   Raspberry Pi Pico Connection Issues: If your Raspberry Pi Pico is not recognized or if it starts a connect-disconnect loop after flashing a UF2 file, it could be due to software drivers or configuration issues. Some potential solutions include:   Resetting the flash memory of your Raspberry Pi Pico. Checking the compatibility of your USB drive’s system/software. Running device diagnostic using PowerShell. Changing the USB drive removal policy to "Better Performance". Disabling USB Selective Suspend Setting. Applying Device Manager and Power Management fixes for the USB drive. Performing a system restore or Windows reset.   Folder Crash After Flashing: If your folder crashes after flashing the Raspberry Pi Pico, it could be due to a bug or an issue with the UF2 file generated by the compiler. You could try creating a new project and see if the issue remains.   Software Drivers Interfering with Connection: If you suspect that software drivers are interfering with the connection, you could try installing a simple solution to develop for Raspberry Pi Pico using C or C++ on Windows.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sagar Joshi 5 Reputation points
    2024-01-26T12:15:10.2233333+00:00

    @Prakhar Hara, Thanks for posting in Q&A. From the information you provided. This is what I found Sometimes, a simple restart can resolve USB-related issues. Restart your computer and check if the USB device is recognized .Ensure that your USB drivers are up to date. You can do this by accessing the Device Manager locating the USB controllers right-clicking selecting "Update driver" Make sure your operating system is up to date. Windows updates may include fixes for USB-related issues. Disable USB selective suspend setting: Go to the Device Manager Expand "Universal Serial Bus controllers" Right-click each USB Root Hub and select "Properties" Go to the "Power Management" tab and uncheck "Allow the computer to turn off this device to save power" If applicable, try using a different USB cable to connect the device. If the USB device is still not recognized, there may be an issue with the USB port or the device itself. Consider testing with another USB device or consulting with the device manufacturer for further assistance.

    1 person found this answer helpful.
    0 comments No comments