Shop OBEX P1 Docs P2 Docs Learn Events
bs2<->rs232<->PC — Parallax Forums

bs2<->rs232<->PC

ArchiverArchiver Posts: 46,084
edited 2002-05-07 07:08 in General Discussion
I'm attempting communication with bs2 stamp send
commands to Stamp bs2, have it receive it. act on it
and send back info back to the pc when done.Leaving it
in a variable.
I downloaded an experimental small term program of
Jon Williams Qterm.bas for rs232 pc to stamp
communications. When I use it I get buffer overflow
when it gets to the INPUT$ from stamp and no
communiction with the stamp. I changed the settings to
9600, No Parity, 8 bits, 1 stop,and to match in the
stamp
serin 16, 16468, 100, NONE, char
(branches to NONE: when not receiving.)

The serout in the stamp works with debug to the pc.
serout 16, 16468, 100, [noparse][[/noparse]"works"].
prints works to the screen.
Nothing else connected to com1 or com2, using com1,
can load and run to bs2

I also tried. bioscom() example in c programming
language , no works there either.

Any ideas???? thanks

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-07 07:06
    I'm attempting communication with bs2 stamp send
    commands to Stamp bs2, have it receive it. act on it
    and send back info back to the pc when done.Leaving it
    in a variable.
    I downloaded an experimental small term program of
    Jon Williams Qterm.bas for rs232 pc to stamp
    communications. When I use it I get buffer overflow
    when it gets to the INPUT$ from stamp and no
    communiction with the stamp. I changed the settings to
    9600, No Parity, 8 bits, 1 stop,and to match in the
    stamp
    serin 16, 16468, 100, NONE, char
    (branches to NONE: when not receiving.)

    The serout in the stamp works with debug to the pc.
    serout 16, 16468, 100, [noparse][[/noparse]"works"].
    prints works to the screen.
    Nothing else connected to com1 or com2, using com1,
    can load and run to bs2

    I also tried. bioscom() example in c programming
    language , no works there either.

    Any ideas???? thanks

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Health - your guide to health and wellness
    http://health.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-07 07:08
    I'm attempting communication with bs2 stamp send
    commands to Stamp bs2, have it receive it. act on it
    and send back info back to the pc when done.Leaving it
    in a variable.
    I downloaded an experimental small term program of
    Jon Williams Qterm.bas for rs232 pc to stamp
    communications. When I use it I get buffer overflow
    when it gets to the INPUT$ from stamp and no
    communiction with the stamp. I changed the settings to
    9600, No Parity, 8 bits, 1 stop,and to match in the
    stamp
    serin 16, 16468, 100, NONE, char
    (branches to NONE: when not receiving.)

    The serout in the stamp works with debug to the pc.
    serout 16, 16468, 100, [noparse][[/noparse]"works"].
    prints works to the screen.
    Nothing else connected to com1 or com2, using com1,
    can load and run to bs2

    I also tried. bioscom() example in c programming
    language , no works there either.

    Any ideas???? thanks

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Health - your guide to health and wellness
    http://health.yahoo.com
Sign In or Register to comment.