v-usb on ATMega168PA
Posted: Thu Jun 24, 2010 9:10 pm
I am running an ATMega168PA at 3.3v with v-usb. I have 100ohm resistors in the d+ and d- lines. d- is ont PD4, and d+ on PD2(INT0). I have read the post about P series chips and have mad changes accordingly so that usbconfig.h has AND usbdrvasm16.S has line 60 modified to be INT0 as well. However when i connect the device to the computer it does not connect. I have tried ALL of the examples and not one of them works. Upon further inspection i found the following output form dmesg(I'm running ubuntu 9.10 also if that helps):
I am at a loss as to what my be going on here any suggestions would be much appreciated.
Code: Select all
#define USB_INTR_VECTOR INT0_vect
Code: Select all
[ 2496.010020] usb 4-2: new low speed USB device using uhci_hcd and address 34
[ 2496.155038] usb 4-2: device descriptor read/all, error 16
[ 2496.280022] usb 4-2: new low speed USB device using uhci_hcd and address 35
[ 2496.425037] usb 4-2: device descriptor read/all, error 16
[ 2496.540037] usb 4-2: new low speed USB device using uhci_hcd and address 36
[ 2496.569036] usb 4-2: device descriptor read/all, error 16
[ 2496.690020] usb 4-2: new low speed USB device using uhci_hcd and address 37
[ 2496.719038] usb 4-2: device descriptor read/all, error 16
[ 2496.721038] hub 4-0:1.0: unable to enumerate USB device on port 2
I am at a loss as to what my be going on here any suggestions would be much appreciated.