ASF3 samv71-xplained usb enumeration fails sometimes

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

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.

 

Last Edited: Thu. May 26, 2022 - 05:58 PM