PowerSwitch not recognized by Windows

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

PowerSwitch not recognized by Windows

Post by Guest » Fri May 18, 2007 5:26 pm

Hi,

I'm clueless. After pluging in the device, nothing happens. There is some talk one the D+ D- lines - few longer dips (a reset?) and the usual differential signal, but still the same error "device malfunctioned". I'm using the Atmega16 chip. Fuse bits are programmed correctly. Idle state is 2.88 V D- and 55mV D+. Any ideas ?

m23402027

Same thing happens to me.

Post by m23402027 » Sat May 19, 2007 9:39 am

I've made the powerswitch with same circuit diagram except those relays and transistors. I didn't use LE33 but two diodes configured serially to drop the supply from 5v to 3.6 volt.
The crystal oscillator is ok, supply line is clean. But nothing works and windows still barking usb malfunctioned.
Any suggestion?

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

Post by christian » Sun May 20, 2007 11:00 pm

If Windows complains about a malfunctioning device, there's most likely a very fundamental problem. Your postings suggest that you have checked the supply voltage and that the device is actually running at the external crystal clock, not internal RC oscillator.

Since the circuit is very simple, there's not much left to check. Have you verified that the connector is wired correctly? And that the interrupt is also connected to D+? You mentioned that you use an ATMega16. Have you changed the definitions in usbconfig.h according to your circuit? And have you recompiled the source code instead of using the supplied hex file?

Post Reply