Page 1 of 1

"Unknown Device" detected in WinXP

Posted: Sun Feb 04, 2007 12:23 am
by mw
Hello,

I'm trying to get ANY of the USB projects working, so far I've tried PowerSwitch, SNES Gamepad, and USB-LCD and I can't get windows to load the right driver for any of them. I get an "Unkonown Device" warning saying that it is malfunctioning. I have tried using the power line of the usb cable as well as an external source, I've used 3.6v zeners on the data lines, and I also tried using an LM317 to get the right voltage, but nothing seems to be working. I have the following uC's on hand which I can use to try different projects:

at90s2313
attiny2313
atmega48
atmega88
atmega16
atmega128
at90s2323
attiny11

Can anybody help me out here? Thanks,

Mark

Posted: Sun Feb 04, 2007 1:22 am
by Grendel
In windows an unknown, malf device means that the speed resitor is active but the device is not reacting or sending garbage. Invalid usbconfig.h entries or fuse/config bits set wrong are a good source for this error (assuming the hardware is wired right.)

Posted: Sun Feb 04, 2007 3:02 pm
by christian
My first guess would be that you have not programmed the fuse bits correctly and the AVR is running on the internal RC oscillator. As Grendel already pointed out, an unknown or malfunctioning device usually indicates that the AVR is not sending any useful data at all.

Posted: Sun Feb 04, 2007 4:59 pm
by mw
I got USB-LCD working by playing with the values of the resistors for the LM317. I guess my laptop is picky with the voltages. I'll proceed from here using this hardware setup. Thanks for your help.