Welcome! Log In Create A New Profile

Advanced

detect-boards.sh -- a friendlier wrapper for poke

Posted by jmarsden 
detect-boards.sh -- a friendlier wrapper for poke
January 05, 2008 03:26AM
Earlier, I said:

> I have written a little shell script wrapper called "detect-boards.sh"
> which runs poke like this for each standard SNAP address and
> reports what it finds in a more "friendly" way than poke does.
> I'll commit it tonight and post it here.

This is now committed to subversion (in firmware/tools ).

Run it by

cd firmware/tools # Or whereever you put it!
./detect-boards.sh

and it tries to "poke" each board in turn and tells you what happens,
it a somewhat more human-friendly way that the raw poke output.

If you do not use /dev/ttyS0 (the default serial port), tell it which
port you *do* use, like this:

./detect-boards.sh /dev/ttyUSB0 # Use the right port name of course

and it will "do the right thing". Well, I hope it will :-)

Feedback on whether this slight improvement in comms testing
friendliness is useful would be welcome, as would any unexpected
results from running it.

Thanks,

Jonathan

[Edited to attach the script!]

Edited 1 time(s). Last edit at 01/05/2008 03:27AM by Jonathan Marsden.



Jonathan
Attachments:
open | download - detect-boards.sh (1.7 KB)
Re: detect-boards.sh -- a friendlier wrapper for poke
January 05, 2008 09:04PM
cool, i'll give this a try on my Arduino boards.
Sorry, only registered users may post in this forum.

Click here to login