Shop OBEX P1 Docs P2 Docs Learn Events
Serial Cable needs to be unplgged b4 BSII code runs? — Parallax Forums

Serial Cable needs to be unplgged b4 BSII code runs?

Vern GranerVern Graner Posts: 337
edited 2007-08-30 22:00 in BASIC Stamp
I recently updated from a Dell C400 laptop running Windows XP Pro, to a Dell D620 laptop running Windows XP Pro. I used the Basic Stamp editor version 2.3.0 on both systems.

In the past, I used the C400's DB9 com port through a 9 pin serial cable to program my BSII projects (i.e. BOE, Homework board etc). I would download the code fine, then the code would run on the stamp.

However, now that I have my new notebook, I noticed that after I download the code, the BSII seems to "lock up" until I physically unplug the serial cable from the stamp board (i.e. remove the cable from the DB9 connector on the BOE). Until I do that, the BSII is "Stuck" and will not execute anything.

Any ideas how I can correct this issue?

ADVthanksANCE! smile.gif

Vern

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
Senior Systems Engineer    | obviously incompetent so why are we
Texas Information Services | paying you? Of course,if the network
http://www.txis.com        | is up, then we obviously don't need
Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG

Comments

  • cyplesmacyplesma Posts: 76
    edited 2007-08-30 18:27
    do you have another serial device you could try and use to check the port with?

    other then that double check your comm port settings.

    from some of my own troubleshooting stamp and comm port, there is something in the help files about adjusting the fifo size or speed. (speaking from memory)

    make sure you flow control is set to none. just a guess
  • Vern GranerVern Graner Posts: 337
    edited 2007-08-30 21:53
    cyplesma said...
    do you have another serial device you could try and use to check the port with?
    Yes. I just tested w/an old 14.4k USR external modem and it worked fine with hyperterm.
    cyplesma said...
    other then that double check your comm port settings. From some of my own troubleshooting stamp and comm port, there is something in the help files about adjusting the fifo size or speed. (speaking from memory)
    Got FIFO set as suggested, (see attached)
    cyplesma said...
    make sure you flow control is set to none. just a guess
    It is set to 8/n/1 9600 flow control="none". (See attached for details)

    I'm at a loss now. I have had good luck working with the USB to serial adapter that Parallax sells, but I would prefer to not have to tie up one of these nifty devices if I can get things working with the native serial port. Any other ideas?

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
    637 x 575 - 45K
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-08-30 22:00
    Do you have this problem when there's a DEBUG statement in your program?

    -Phil
Sign In or Register to comment.