Shop OBEX P1 Docs P2 Docs Learn Events
Hyperterminal to display debug ? — Parallax Forums

Hyperterminal to display debug ?

ArchiverArchiver Posts: 46,084
edited 2001-11-23 16:27 in General Discussion
Greetings,

Should I be able to use Hperterminal to see the same debug results
as the editor debug screen does ?

I have tried this but it doesn't seem to work.

Run program

start:
Debug " hello world",cr
pause 500
goto start

Start Hyperterminal, set com port and baud rate etc

but nothing ?

Thanks for your help

Barney

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-11-22 12:34
    For Barney

    I use HyperT extensively to display Stamp programs. Anything you want Hyper
    to display must be sent with a serout command using pin 16 and 9600 baud. In
    addition, after the program is loaded into your Stamp, you must exit the
    Stamp editor before trying to open HyperT. If you still can't get it to work
    let me know and I can send you the Hyper file I use.

    Sid
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-22 14:06
    Hi Barney

    If You are using the natural port of the stamp Pins 0,Pins 1, Pins 2 Then
    you must disconect the att. line Pins 2, or the hyperterm will not
    acknowledge.(dose not see a connection)

    Lawrence C. Windrem
    lwindrem@p...
    lwindrem@g...

    Original Message
    From: Barney <developer@e...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, November 22, 2001 2:54 AM
    Subject: [noparse][[/noparse]basicstamps] Hyperterminal to display debug ?


    > Greetings,
    >
    > Should I be able to use Hperterminal to see the same debug results
    > as the editor debug screen does ?
    >
    > I have tried this but it doesn't seem to work.
    >
    > Run program
    >
    > start:
    > Debug " hello world",cr
    > pause 500
    > goto start
    >
    > Start Hyperterminal, set com port and baud rate etc
    >
    > but nothing ?
    >
    > Thanks for your help
    >
    > Barney
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-23 01:59
    Thanks for your help I have had a play and am going well.

    I have played around on a board of education

    Unfortunately though I've used a Stamp 2 carrier board in my
    project and the carrier board can't use pin 16 or SIN and SOUT
    at run time so I can't incorporate this into my program.

    Does anyone know how to convert a carrier board so that it can make use of
    serin and serout using pin 16 ie pin 1 SOUT and pin 2 SIN.

    Thanks

    Barney
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-23 02:29
    At 02:59 PM 11/23/2001 +1300, you wrote:
    >Thanks for your help I have had a play and am going well.
    >
    >I have played around on a board of education
    >
    >Unfortunately though I've used a Stamp 2 carrier board in my
    >project and the carrier board can't use pin 16 or SIN and SOUT
    >at run time so I can't incorporate this into my program.
    >
    >Does anyone know how to convert a carrier board so that it can make use of
    >serin and serout using pin 16 ie pin 1 SOUT and pin 2 SIN.

    From Page numbered 105 in the Stamp manual:

    quote

    DEBUG is actually a special case of the SEROUT instruction. It is set for
    inverted (RS-232-compatible) serial output through the programming
    connector (the SOUT pin) at 9600 baud, no parity, 8 data bits, and 1 stop
    bit.

    end quote

    Check in the manual for further examples using pin port 16.

    >Thanks
    >
    >Barney
    >
    >Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-23 16:27
    Yes,
    Connect a 0.1 uf cap between the serial connector and the ATTN pin of the BS2
    IC (you have to cut the trace on the carrier PCB) also a second 0.1 uf cap
    from this pin to gnd. This allows the STAMP to still be programmed and also
    lets you use P16 to communicate with serial devices (hyperterminal). This
    technique is well documented and works well! Hope it helps!
Sign In or Register to comment.