Shop OBEX P1 Docs P2 Docs Learn Events
Please Help!! — Parallax Forums

Please Help!!

ArchiverArchiver Posts: 46,084
edited 2001-01-23 01:30 in General Discussion
I have 2 BS2's that I bought from a Professor. He called it the
Stamp homebrew. It comprised of a pic programmer, an EEPROM, and an
RS232 interface. I can program the BS2 at work but I cannot at
home. My home computer has a 200MHz Pentium Processor with MMX
technology, a 6x DVD drive, an external US Robotics 56k modem, a 3Com
web camera and a HP printer. I am wondering if maybe I am having a
conflict somewhere. I connect the BS2 to my computer via a serial
port (COM 2). When I try to ID the stamp, it says the it is detected
but not responding on a different COM port. I don't understand that
at all! If anybody has any ideas I would really appreciate some
info. If I have not given enough info, let me know! Thanks a lot!

Jeremy Gassmann

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-06-19 18:52
    Jeremy,
    What exactly is the detect/ non detect message reading?
    The reason I ask is that it is not uncommon for com ports to be
    configured differently, or for your com 2 to be in use already.
    Since COM1 & COM 3 are paired, likewise 2 & 4, I would try COM1
    first, to see if it works the way it does for you at work. If that
    can't be done for some reason, try COM3. If that doesn't work out,
    it's time to start checking IRQ's.
    Chris

    Original Message
    From: Jeremy Gassmann [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Ego6EiI3Q8oEAFUExGTofl6iIQTzlCr1xvhJgamD2ReygezJNV30vhBaqBGHus_VBOBsZe9H4U7kCDdHN0Nq]gassmajd@e...[/url
    Sent: Monday, June 19, 2000 12:52 PM
    To: basicstamps@egroups.com
    Subject: [noparse][[/noparse]basicstamps] Please Help!!


    I have 2 BS2's that I bought from a Professor. He called it the
    Stamp homebrew. It comprised of a pic programmer, an EEPROM, and
    an
    RS232 interface. I can program the BS2 at work but I cannot at
    home. My home computer has a 200MHz Pentium Processor with MMX
    technology, a 6x DVD drive, an external US Robotics 56k modem, a
    3Com
    web camera and a HP printer. I am wondering if maybe I am having a
    conflict somewhere. I connect the BS2 to my computer via a serial
    port (COM 2). When I try to ID the stamp, it says the it is
    detected
    but not responding on a different COM port. I don't understand
    that
    at all! If anybody has any ideas I would really appreciate some
    info. If I have not given enough info, let me know! Thanks a lot!

    Jeremy Gassmann
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-19 23:16
    Chris,
    First off, thanks a lot for taking the time to help me. I am
    pretty new to this and I am trying to learn the ropes. Ok. The
    message that comes up when I try to ID it is: BS2 detected but not
    responding on COM3! Check power supply. When I looked in my mother
    board manual, it tells me that I only have a COM 1 and 2, then 2
    USB ports, and one PS/2 mouse port. But when I look in the device
    manager under ports, it tells me I have a COM 1 and 5 and a printer
    port. So I then tried to have the stamp software detect on COM 5 for
    which it says BS2 not responding on COM5. 1. Check serial cable
    connection. 2. Check power supply. And then I went back and put
    it on auto detect and it says it can't find it anywhere and one of
    the
    messages says to verify loopback connection between RTS and DSR. So
    that is as far as I can get. I really appreciate the help! Thanks a
    lot!!
    Jeremy

    --- In basicstamps@egroups.com, "Chris Loiacono" <chris@a...> wrote:
    > Jeremy,
    > What exactly is the detect/ non detect message reading?
    > The reason I ask is that it is not uncommon for com ports to be
    > configured differently, or for your com 2 to be in use already.
    > Since COM1 & COM 3 are paired, likewise 2 & 4, I would try COM1
    > first, to see if it works the way it does for you at work. If that
    > can't be done for some reason, try COM3. If that doesn't work out,
    > it's time to start checking IRQ's.
    > Chris
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-20 05:28
    Jeremy Gassmann wrote:
    >
    > Chris,
    > First off, thanks a lot for taking the time to help me. I am
    > pretty new to this and I am trying to learn the ropes. Ok. The
    > message that comes up when I try to ID it is: BS2 detected but not
    > responding on COM3! Check power supply. When I looked in my mother
    > board manual, it tells me that I only have a COM 1 and 2, then 2
    > USB ports, and one PS/2 mouse port. But when I look in the device
    > manager under ports, it tells me I have a COM 1 and 5 and a printer
    > port. So I then tried to have the stamp software detect on COM 5 for
    > which it says BS2 not responding on COM5. 1. Check serial cable
    > connection. 2. Check power supply. And then I went back and put
    > it on auto detect and it says it can't find it anywhere and one of
    > the
    > messages says to verify loopback connection between RTS and DSR. So
    > that is as far as I can get. I really appreciate the help! Thanks a
    > lot!!
    > Jeremy
    >
    Jeremy -

    I suspect you may have a motherboard with integrated COM ports on one
    computer, and NOT on the other; thus the COM 5. COM n (past 4) is almost
    Windows specific, and thus is beyond the reach of most standardized
    programs.

    Two questions on the "failing computer" (NOT the Stamp <g>)

    What's on COM1 ?

    Are you using the PS/2 mouseport ?

    If you are intuitive (which I WASN'T), you will see the resolution from
    here. It took me MANY hours of debugging to find the hidden system glith
    here. Contact me offline if you need the answer.

    Regards,

    Bruce

    > --- In basicstamps@egroups.com, "Chris Loiacono" <chris@a...> wrote:
    > > Jeremy,
    > > What exactly is the detect/ non detect message reading?
    > > The reason I ask is that it is not uncommon for com ports to be
    > > configured differently, or for your com 2 to be in use already.
    > > Since COM1 & COM 3 are paired, likewise 2 & 4, I would try COM1
    > > first, to see if it works the way it does for you at work. If that
    > > can't be done for some reason, try COM3. If that doesn't work out,
    > > it's time to start checking IRQ's.
    > > Chris
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-20 08:29
    Hi Jeremy,

    I have had similar problems. If you jump to # 1422 and follow the
    threads from there you might get some tips.
    Keep in mind that with this type of problem nothing should be
    assumed, e.g. it can be as simple as jiggling the connecting cable at
    the port connection. (That worked once for me with a brand new cable).

    Good luck,
    Hans

    --- In basicstamps@egroups.com, "Jeremy Gassmann" <gassmajd@e...>
    wrote:
    > I have 2 BS2's that I bought from a Professor. He called it the
    > Stamp homebrew. It comprised of a pic programmer, an EEPROM, and
    an
    > RS232 interface. I can program the BS2 at work but I cannot at
    > home. My home computer has a 200MHz Pentium Processor with MMX
    > technology, a 6x DVD drive, an external US Robotics 56k modem, a
    3Com
    > web camera and a HP printer. I am wondering if maybe I am having a
    > conflict somewhere. I connect the BS2 to my computer via a serial
    > port (COM 2). When I try to ID the stamp, it says the it is
    detected
    > but not responding on a different COM port. I don't understand
    that
    > at all! If anybody has any ideas I would really appreciate some
    > info. If I have not given enough info, let me know! Thanks a lot!
    >
    > Jeremy Gassmann
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-23 01:30
    the purpose of this code is to read the input from the input
    pins under the mode condition. depending on the mode the
    output is one of three circuits attached to the stamp. the
    circuits are a buzzer (like piezo buzzer), a led and a ISD1000A
    voice playback chip.

    the input modes are from an attached circuit. the detection
    circuits (alarms) are also from external attached circuits
    attached to the specified pins.

    how long is the time duration when i say :
    pause 25
    pause 100
    etc....

    here is the code:

    ; variable declarations
    mode var nibble
    alarm var nibble
    motion var alarm.bit0
    door var alarm.bit1
    glass var alarm.bit2

    ; constant and pin declarations
    mode.bit0 con 5
    mode.bit1 con 6
    mode.bit2 con 7
    mode.bit3 con 8
    alarm.bit0 con 9
    alarm.bit1 con 10
    alarm.bit2 con 11
    alarm.bit3 con 12
    buzz con 13
    light con 14
    pin0 con 15
    pin1 con 16
    pin5 con 17
    pin6 con 18

    ; program
    mode = INA
    GOSUB check1
    end


    Check1:
    BRANCH mode,[noparse][[/noparse]check1, check1, check1, delay, check1, check1,
    check1, check1, check1, check1, check1, check1, check,
    check1, check1, check1]
    alarms = INA
    RETURN

    Delay:
    pause 900
    RETURN

    Check:
    BRANCH alarms,[noparse][[/noparse]check, mess, mess, alarm, mess, alarm, alarm,
    alarm, light, alarm, alarm, alarm, alarm]
    RETURN

    LED:
    low light
    pause 250
    high light
    RETURN

    Mess:
    BRANCH add,[noparse][[/noparse]Mess, A2, A1, Mess]
    RETURN

    A2:
    high pin0
    high pin5
    pause 25
    low pin5
    pause 25
    low pin6
    pause 600
    high pin6
    low pin0
    RETURN

    A1:
    high pin1
    high pin5
    pause 25
    low pin5
    pause 25
    low pin6
    pause 600
    high pin6
    low pin1
    RETURN

    Alarm:
    low buzz
    pause 50
    high buzz
    RETURN
Sign In or Register to comment.