Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17
Hey guys, I can't make it work! I get the "Error: No BASIC Stamp identified!" error, although I have done all the steps, including "sudo ln -s /dev/ttyUSB0 /dev/bstamp". My ...
  1. #11
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    Hey guys, I can't make it work!
    I get the "Error: No BASIC Stamp identified!" error, although I have done all the steps, including "sudo ln -s /dev/ttyUSB0 /dev/bstamp".

    My dmesg gives
    Code:
    [ 3830.536104] usb 4-1: new full speed USB device using uhci_hcd and address 10
    [ 3830.700882] usb 4-1: configuration #1 chosen from 1 choice
    [ 3830.705536] ch341 4-1:1.0: ch341-uart converter detected
    [ 3830.730779] usb 4-1: ch341-uart converter now attached to ttyUSB0
    which means ttyUSB0 is the correct port.

    Any suggestions?
    (Using Ubuntu 8.10 and a usb to serial converter)

    Thanks

  2. #12
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7
    What ever happened with this?

  3. #13
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    I let it sit aside for so long...

    I may re-try when I get the time...

  4. #14
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7

    Connecting to Basic STamp using tokenizer in Ubuntu Jaunty 9.04

    First, make sure you go through all of the install details on bstamp.sourceforge.net BASIC Stamp Tools for Linux

    I was running into the same problems of the stamp not being detected. For all of your looking for a possible solution. This worked for me:

    check to see if the stamp is connected (mine is via USB). If you have a USB version of the stamp you'll see a port assigned sort of like "ttyUSB0"

    Code:
    dmesg | tail

    cd to /dev (you have to be a su to run the following command)

    Code:
    ln -s ttyUSB0 bstamp

    Now try running your *.*tok file using bstamp_run yourfile.tok and see if it connects.

  5. #15
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    Quote Originally Posted by mr805newbie View Post
    First, make sure you go through all of the install details on bstamp.sourceforge.net BASIC Stamp Tools for Linux

    I was running into the same problems of the stamp not being detected. For all of your looking for a possible solution. This worked for me:

    check to see if the stamp is connected (mine is via USB). If you have a USB version of the stamp you'll see a port assigned sort of like "ttyUSB0"

    Code:
    dmesg | tail

    cd to /dev (you have to be a su to run the following command)

    Code:
    ln -s ttyUSB0 bstamp

    Now try running your *.*tok file using bstamp_run yourfile.tok and see if it connects.

    Thanks so much for the guidance!
    I did what you said (installed the tools, tokenized code, linked USB to /dev/bstamp) but:

    Code:
    $ bstamp_run test.tok
    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.
    When I connect the usb2serial adapter, dmesg gives:
    Code:
    [84464.000145] usb 5-1: new full speed USB device using uhci_hcd and address 3
    [84464.166281] usb 5-1: configuration #1 chosen from 1 choice
    [84464.187102] usbcore: registered new interface driver usbserial
    [84464.187119] USB Serial support registered for generic
    [84464.292237] usbcore: registered new interface driver usbserial_generic
    [84464.292245] usbserial: USB Serial Driver core
    [84464.296393] USB Serial support registered for ch341-uart
    [84464.296433] ch341 5-1:1.0: ch341-uart converter detected
    [84464.309275] usb 5-1: ch341-uart converter now attached to ttyUSB0
    [84464.309314] usbcore: registered new interface driver ch341
    I can't see why it can't see it...
    Even tried the bstamp_run command under sudo.
    Any ideas?

    Thanks for your time!

    EDIT: I should note, that when I start the bstamp_run command, even if another program is running, it stops. I think this is normal for the stamp, but it still does not transfer the new program correctly...

  6. #16
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7
    I'm not a Linux expert, I just know what I tweaked to get my stamp working.

    Do you see "ttyUSB0" in your /dev directory after connecting and powering it on your USB port? If so, then try removing using rm ttyUSB0 and run the ln -s ttyUSB0 bstamp again.

  7. #17
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    Yeah, ttyUSB0 work great.
    I tried Putty and it can communicate with another computer's com port.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...