Hi all,
I've designed my own board with a 32U4 running at 16 MHz and am currently trying to get LUFA running on it, but I've run into some problems. I'm fairly confident board design is not the issue, as it's mostly lifted straight off the Leonardo design.
I'm running Atmel Studio 6, with the LUFA ASF extension.
I've tried compiling several of the example programs, including the CDC Virtual Serial, Generic HID Device, Keyboard, and USB Device Template. For each of these examples, I've confirmed that F_CPU and F_USB are set to 16000000UL, and my device is set to the 32U4. I've been using 'none' or 'user' for the board configuration, but I don't think it particularly matters.
All of these examples compile and program fine, but the device fails to enumerate on my computers.
Windows reports "USB device not recognized", and the Device Manager says that the "Device Descriptor Request Failed".
Does anyone have any idea as to what may be going wrong? Would this error mean that there is something wrong with the USB connection itself, or is it some sort of software/configuration issue?
One thought I had was that I may not have been compiling the project correctly, so I tried loading the Arduino Leonardo bootloader, but came across the same issue. I haven't looked at the USB differential signals on a scope yet, which is probably what I will try next.
Any input would be greatly appreciated!
-Edward