Shop OBEX P1 Docs P2 Docs Learn Events
Program Download need Debug? — Parallax Forums

Program Download need Debug?

ArchiverArchiver Posts: 46,084
edited 2003-04-19 03:13 in General Discussion
Newbie question.

I use a Dell Inspiron laptop to program my Boe-Bot and a BS2 OEM stamp. Things
work fine, provided I include a debug statement (seemingly any debug statement)
within my program.

If I don't have a debug command, the program seems to download, but it won't
execute on the stamp.

I include a two-second freqout tone to a piezo to indicate program initiation.
If I don't have a debug command in the program, I get a half second chirp from
the piezo, and then nothing happens. If I have a debug statement in the
program, I get the full tone, and then the remaining program executes ok.

Seems pretty weird to me. Any ideas?

Thanks.

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-04-18 14:47
    My Inspiron 5000e does it too... I think someone mentioned this happens with
    some computers, and I'm pretty certain I did a bug report when the second to
    last version of the editor came out.

    I usually have a debug statement in the program anyway just so I know the
    processor fired up and is not resetting constantly.

    Original Message

    > I use a Dell Inspiron laptop to program my Boe-Bot and a BS2 OEM stamp.
    Things work fine, provided I include a debug statement (seemingly any debug
    statement) within my program.
    >
    > If I don't have a debug command, the program seems to download, but it
    won't execute on the stamp.
    >
    > I include a two-second freqout tone to a piezo to indicate program
    initiation. If I don't have a debug command in the program, I get a half
    second chirp from the piezo, and then nothing happens. If I have a debug
    statement in the program, I get the full tone, and then the remaining
    program executes ok.
    >
    > Seems pretty weird to me. Any ideas?
  • ArchiverArchiver Posts: 46,084
    edited 2003-04-19 03:13
    If you hang a RS232 tester(LEDs) on the port you will probably see that when it
    is
    idle(no DEBUG holding it open) the laptop turns off the drivers. They
    occasionaly
    blip on as W2K polls the port. This causes a reset(DTR line).

    > Newbie question.
    >
    > I use a Dell Inspiron laptop to program my Boe-Bot and a BS2 OEM
    > stamp. Things work fine, provided I include a debug statement
    > (seemingly any debug statement) within my program.
    >
    > If I don't have a debug command, the program seems to download, but it
    > won't execute on the stamp.
    >
    > I include a two-second freqout tone to a piezo to indicate program
    > initiation. If I don't have a debug command in the program, I get a
    > half second chirp from the piezo, and then nothing happens. If I have
    > a debug statement in the program, I get the full tone, and then the
    > remaining program executes ok.
    >
    > Seems pretty weird to me. Any ideas?
Sign In or Register to comment.