Been working on debugging a bizarre issue with the whitewhale. When compiling the software myself, plugging in a 128 kit the whitewhale works and everything is dandy. When I plug in my m64 (2007) none of the FTDI install or MIDI uhc code runs.
When it works on the 128 usb enumeration ends up throwing the following debug statements:
usb device connection: 00000A9C , 1
... snip FTDI install stuff...
usb enumerated: 00000A9C , 00000000
When the 64 fails:
usb device connection: 00000A9C , 1
usb enumerated: 00000A9C , 00000002
So basically something is happening that’s preventing the usb device from registering successfully. Not a super strong C programmer, but I think the code path I’m hitting is https://github.com/monome/libavr32/blob/master/conf/conf_usb_host.h#L55 for the enumeration callback and the status code enums listed here https://github.com/monome/libavr32/blob/ec718209606be5df516496c474df9ae82df179ee/asf/common/services/usb/uhc/uhc.h#L179 indicate an overcurrent.
I’m curious is this is something related to my power supply of if there’s something else I need to tweak to get it to register properly?
Using the most recent compiled firmware from the github release works fine with the 64.