Go Down

Topic: Q: USB -analysis tools documents (Read 487 times) previous topic - next topic

robtillaart

I want to learns more about how to emulate USB devices. For this I recently bought a Teensy2.0 - http://www.pjrc.com/teensy/index.html - which has several USB projects and libraries to get started. Goal is to create a control panel to hook up to a PC application. OK I can build it perfectly with serial but I like to learn to do it the USB way. UNO related info also welcome

Two questions:
Q: What are the must reads (backgrounders) when investigating USB programming? blogs web books etc
     - I've found Jan Axelson's book, It's on my wishlist.

Q: What tooling to use to analyse USB signals / handshakes ? 
     preferably Windows & open source | demo versions.

Thanks,
Rob
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Krodal

I'm sure you know V-USB : http://www.obdev.at/products/vusb/index.html
They have a lots of information and example projects.

The very cheap USBasp programmers on Ebay have such an usb interface. A jumper has to be set, so you can program a USBasp programmer with another USBasp programmer. This way you can test the V-USB library.

But to actually use USB emulation, the Leonardo is easier.

robtillaart

Thanks,
didn't know this site although I think I've seen some projects in the past.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Nick Gammon

About USB itself ...

http://www.beyondlogic.org/usbnutshell/usb1.shtml

http://www.usbmadesimple.co.uk/ums_1.htm

I'm not sure about analyzers. I looked into that a while back, and they weren't cheap.

I did some preliminary work with a logic analyzer and USB 1, which was slow enough to be captured. It's pretty tedious without dedicated analyzers.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

robtillaart

Thanks Nick,

Did some first teensy usb -experiments and it works like a charm!  :) :) :) :)

Like this one - http://www.pjrc.com/teensy/td_midi.html -
And - http://www.pjrc.com/teensy/td_joystick.html -

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up