ataradov / free-dap

Free and open implementation of the CMSIS-DAP debugger firmware
BSD 3-Clause "New" or "Revised" License
259 stars 62 forks source link

Unknown USB Device (Invalid Configuration Descriptor) #32

Closed urban-achiever closed 11 months ago

urban-achiever commented 11 months ago

Hi Alex!

I'm trying to run this on a SAMV71, but when I connect to my win11 PC the device enumeration fails due to an invalid configuration descriptor. However, connecting to a linux host seems to be working fine. I haven't changed any of the descriptors in the project. Any ideas what might be the issue?

urban-achiever commented 11 months ago

I found the issue, I was using USB in low-power mode, so the max packet size value of 1024 was incorrect. After changing it to 64 the device enuimerates correctly.