uC seems to be communicating then stops

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
ScherzkeCks
Posts: 2
Joined: Thu Dec 20, 2012 4:54 pm

uC seems to be communicating then stops

Post by ScherzkeCks » Thu Dec 20, 2012 4:59 pm

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

declan smith
Rank 1
Rank 1
Posts: 32
Joined: Fri Nov 02, 2012 3:26 pm

Re: uC seems to be communicating then stops

Post by declan smith » Fri Dec 21, 2012 12:14 am

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

ScherzkeCks
Posts: 2
Joined: Thu Dec 20, 2012 4:54 pm

Re: uC seems to be communicating then stops

Post by ScherzkeCks » Fri Dec 21, 2012 11:12 am

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

Post Reply