Pages: [1]   Go Down
Author Topic: Q: USB -analysis tools documents  (Read 432 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Rob Tillaart

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

Offline Offline
Edison Member
*
Karma: 9
Posts: 1018
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Rob Tillaart

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

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18722
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Nick,

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

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

Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: