Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Device descriptor stall on windows, works on linux microchip mla

  • Please log in to reply
1 reply to this topic

#1 fight


  • Members
  • 2 posts
  • Local time:01:15 PM

Posted 03 July 2017 - 03:17 AM

I'm designing a USB device with Microchip's MLA v2015-08-10 on a PIC24FJ128GB202(http://www.kynix.com/Parts/158263/PIC24FJ128GB202-I%2FSP.html). The device works as expected on my Fedora 23 Linux system. It enumerates and is recognized as a HID device.

On Windows it does not enumerate. I tried a Windows 10 laptop and Windows 7 in a virtual machine on my Linux system. Both say: "A request for the USB device descriptor failed." (Code 43)

When I analyze the traffic with Microsoft Message Analyzer I find this error: Get Device Descriptor - USBD_STATUS_STALL_PID

I find no solutions online and have no idea where to look next. I assume my code on the PIC is working fine since it runs on Linux. It's clearly not a driver issue since I can't even get the device descriptor. And it isn't a problem with the system since it fails on different devices with different Windows versions.

Does anybody have an idea where to continue my search? An explanation of the differences in USB device enumeration between Windows and Linux might already help a lot.

BC AdBot (Login to Remove)


#2 SleepyDude


  • Malware Response Team
  • 3,083 posts
  • Gender:Male
  • Location:Portugal
  • Local time:06:15 AM

Posted 03 July 2017 - 03:43 AM



May this link https://msdn.microsoft.com/en-us/library/windows/hardware/hh450799%28v=vs.85%29.aspx have some useful information for you...

• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

Proud graduate of GeekU and member of UNITE


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users