Page 1 of 1

uC seems to be communicating then stops

Posted: Thu Dec 20, 2012 4:59 pm
by ScherzkeCks
Hi there,

I am new to V-USB and build up this circuit:
Image

I am just trying to turn on and off an LED (basically the first example project).

Now if I look with an Oscilloscope at D+ and D- I see the following for about half a minute:

Image

after that D- (yellow) just goes to 3.12V and D+ to 0V

At no time the device shows up in my Systeminfo.

I probably should mention that my host machine is a Mac and I am trying to access my Device using libusb but I don't even get that far because my System doesn't recognize my uC.


Greetings
Stefan

Re: uC seems to be communicating then stops

Posted: Fri Dec 21, 2012 12:14 am
by declan smith
Hi Stefan,
Please post the full schematics of the AVR example project that you worked with, I'll try to post the hexfile to make sure there's no hardware issues.

Troubleshooting according to V-USB website:
http://vusb.wikidot.com/troubleshooting

Re: uC seems to be communicating then stops

Posted: Fri Dec 21, 2012 11:12 am
by ScherzkeCks
Thank you very much, but I just found it.

I accidentaly put the usbPoll() before my main-Loop. It's embarrasing...

Thanks for your offer

Greetings

Stefan