BS2 - Linux - USB
bryanwilkerson
Posts: 2
Hi all,
I have the Board of Education kit with USB interface. My computer is running Linux (Ubuntu edgy - 2.6.20-16-generic #2 SMP).
When I plug the board into my computer I can see the device being recognized as a USB->serial converter and it make a new device for it ttyUSB0. My understanding is that this device can be used just like a serial port device. So following the instructions from the bstamp linux tools (http://bstamp.sourceforge.net/) i created a symbolic link
$ sudo ln -s /dev/ttyUSB0 /dev/bstamp
I can cat and tail and redirect stuff to the device but the bstamp_run commnd gives me this:
bryan@F117A:~/src/bstamp$ cat pbasic_examples/hello.bs2 | bstamp_tokenize | bstamp_run
PBASIC Tokenizer Library version 1.23
Error: No BASIC Stamp identified!
Probably the stamp isn't connected, perhaps your stamp version isn't supported?
Try looking at the help, try 'bstamp_run -h' for more information.
How do I check the stamp version if I can't connect - the stamp has a marking: Rev G
Thanks,
-bryan
I have the Board of Education kit with USB interface. My computer is running Linux (Ubuntu edgy - 2.6.20-16-generic #2 SMP).
When I plug the board into my computer I can see the device being recognized as a USB->serial converter and it make a new device for it ttyUSB0. My understanding is that this device can be used just like a serial port device. So following the instructions from the bstamp linux tools (http://bstamp.sourceforge.net/) i created a symbolic link
$ sudo ln -s /dev/ttyUSB0 /dev/bstamp
I can cat and tail and redirect stuff to the device but the bstamp_run commnd gives me this:
bryan@F117A:~/src/bstamp$ cat pbasic_examples/hello.bs2 | bstamp_tokenize | bstamp_run
PBASIC Tokenizer Library version 1.23
Error: No BASIC Stamp identified!
Probably the stamp isn't connected, perhaps your stamp version isn't supported?
Try looking at the help, try 'bstamp_run -h' for more information.
How do I check the stamp version if I can't connect - the stamp has a marking: Rev G
Thanks,
-bryan
Comments
I recompiled bstamp_run with -DDEBUG to see what was going on and now everything works. Yay.