Shop OBEX P1 Docs P2 Docs Learn Events
reliable communications with pc? — Parallax Forums

reliable communications with pc?

ArchiverArchiver Posts: 46,084
edited 2001-08-19 21:20 in General Discussion
Could someone tell me how to get reliable comm with pc? I am using a
bs2e (scenix sx28ac processor) with stampw_v1_096 tools. I am using
comm 2 port, 9600 baud, 8 bits, no parity, 1 stop bit and no flow
control. I have the debugger in the stamp set up the same way.
Transfers between the pc and the stamp board is about 90% accurate
however there are times when data gets "garboggled" (inadvertent
ascii characters). I have tried slowing down the baud, changing the
flow control, etc. to no avail. Does anyone have any clues.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-08-19 19:18
    For wenner

    Try using Hyperterminal. Easy to use, dependable, and you can capture text
    and data from the Stamp for later recall to view or print. No modifications
    whatsoever, just your usual serial cable from Stamp to PC.

    Sid
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-19 20:44
    --- In basicstamps@y..., Newzed@a... wrote:
    > For wenner
    >
    > Try using Hyperterminal. Easy to use, dependable, and you can
    capture text
    > and data from the Stamp for later recall to view or print. No
    modifications
    > whatsoever, just your usual serial cable from Stamp to PC.
    >
    > Sid

    Sid,
    I am a little lost here. How do I set up hyperterminal to be the
    default debug terminal within the stampw_v1_096 environment. If I
    open hyperterminal on the comm port I conflict with the software, and
    within the software there is nothing that allows me to set up a
    different debug terminal than what the software uses.


    Steve
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-19 21:19
    In a message dated 8/19/01 2:46:06 PM Central Daylight Time,
    wenner@m... writes:


    > I am a little lost here. How do I set up hyperterminal to be the
    > default debug terminal within the stampw_v1_096 environment.

    You can't in the current software. It's something we've talked about
    internally, but haven't been able to implement yet. Perhaps in a future
    version of the software.

    -- Jon Williams
    -- Applications Engineer, Parallax




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-19 21:20
    For wenner

    Hyperterminal is not a debugger. It is solely a communication window to the
    Stamp. You set up Hyper "Direct to Com1" ( or whatever port you are using.)
    If you want the Stamp to talk to Hyper use serout. If you want Hyper to talk
    to Stamp use the serin in the Stamp program. I am in the process of moving
    and have dismantled my Stamps, but I seen to remember if you execute a debug
    statment in Stamp it will appear on the Hyper screen. After all the debug
    statement is really a serout command executed transparently by Stamp.

    Just try it. You will be amazed what you can do. For instance, when running
    my train, I would tell Stamp to start Train 1, when the "Start Train 1" route
    had been executed, Stamp responded with "Train 1 up to speed".{All
    pre-programmed of course).
    I am moving but will be online for just another week or so, so if I can help
    I will. Again, just try it.

    Sid
Sign In or Register to comment.