RPi Pico W USB Device Malfunctioned

I am having RPi pico w which was working properly but now i dont know how and why whenever i connect it it gives the error USB Device malfunctioned, i have seen some videos on youtube which says that you should go to the device managers and uninstall the device driver but i am not getting uninstalling option as well , i pressed the BOOTSEL button and then plugged in the RPi that also gave me the error USB device malfunctioned, and lastly the code which i uploaded the very last time before this error cam into picture is running properly

when I had problems with the Pico the following worked

boot problems

  1. disconnect the Pico USB, press BOOTSEL connect the Pico USB
    2 Tools>Port displays UF2 board select it and upload program
    3.after a time UF2 should change to a COM port - select it

if above does not work try unplugging device
COM port appears in Windows device manager
Tools>port select it

very tricky but once COM port is open it programs OK etc

my port is not showing at all when i connect the RPi to my pc and it is not going into the boot mode as well

as i plug in my RPi pico w windows throws the error that usb device malfunctioned

if you run windows device manager and hold BOOTSEL down as you plug the USB in does it show anything?
have you got any devices connected to the Pico? if so remove them all

no it doesnt show anything and there are no devices connected to it as well

try a different USB cable?
differ USB port?
reboot PC?
reinstall the IDE, drivers, etc

do other devices connect OK?

you may have a dead Pico??

i have done everything, yes other devices are connecting

now the situation is bit different , what i did after this was unistalled the usb drivers from device manager and then restarted my pc , after that i was able to program my pi pico w using micropython but as soon as i tried to go into the boot mode via bootsel button or via code it throws the same error and if i reconnect it multiple times then also the same error starts again then again i have to uninstall and reinstall the usb drivers

I don't use Python or micropython unless I have no option
could you post a program which illustrates the problem?

today when i first connected my pico w to my pc it was working fine everything was working correctly then i formatted my pico w and then reuploaded the uf2 file
now i am getting new error
Unable to connect to COM35: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

If you have serial connection to the device from another program, then disconnect it there first.

Process ended with exit code 1.

i dont think it is he problem of a program i think either the pico is dead or it is getting stuck in the bootloader , now my question is if i is dead then how is it possible that it is running the last uploaded program

it is showing port in the device manager but not getting recognized by the thonny ide

can you load a simple program such as blink?

try the RPi Pico Forum

all of a sudden it started working properly, but i would like to know what can be the problem ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.