I'm using asf3 with sam7x and using the usb vendor client example as base to usb communication.
I'm using linux, sometimes it works, sometimes dmesg gives:
usb 7-2: device not accepting address 59, error -71
unable to enumerate USB device
I think the problem is in how udc uses udd or in udd?
Any simple fix to this or better ideas where the problem is?
For alternatives I know I could switch to mplab harmony 3 or there is tinyusb library (sam support based on asf4?) but I would rather get this current code robust.