Shop OBEX P1 Docs P2 Docs Learn Events
BS2 - Linux - USB — Parallax Forums

BS2 - Linux - USB

bryanwilkersonbryanwilkerson Posts: 2
edited 2007-07-10 22:52 in BASIC Stamp
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

Comments

  • bryanwilkersonbryanwilkerson Posts: 2
    edited 2007-07-10 22:52
    Never mind.

    I recompiled bstamp_run with -DDEBUG to see what was going on and now everything works. Yay.
Sign In or Register to comment.