"Unknown Device" detected in WinXP

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
mw

"Unknown Device" detected in WinXP

Post by mw » Sun Feb 04, 2007 12:23 am

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

Grendel
Rank 4
Rank 4
Posts: 167
Joined: Sat Dec 16, 2006 9:53 pm
Location: Oregon, USA
Contact:

Post by Grendel » Sun Feb 04, 2007 1:22 am

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.)

christian
Objective Development
Objective Development
Posts: 1442
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Sun Feb 04, 2007 3:02 pm

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.

mw

Post by mw » Sun Feb 04, 2007 4:59 pm

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.

Post Reply