Shop OBEX P1 Docs P2 Docs Learn Events
Interesting problem with programming BS2 — Parallax Forums

Interesting problem with programming BS2

ArchiverArchiver Posts: 46,084
edited 2001-12-18 07:32 in General Discussion
Gentlemen,

I have a small problem when I am trying to program a BS2. I have not used
this setup in a while but the last time I used it, things worked properly.

Anyway, I am trying to program a BS2 in a circuit and I have all the same
equipment as last time (about 2 months ago). The cables are the same, etc.
It is the only cable I have to program these chips.

What is happening is when I go to program the chip, it 'shorts' it out for a
short period of time (the meter on the power supply goes to 2.5A) and then
it returns to normal. The chip takes the program and works properly before
and after.

The really interesting thing is that I got a new laptop (Dell) and it
actually has a com port, not strictly USB. When I just hook up the cable to
it, it 'shorts' out the power supply too. I cannot get it to work at all on
the new one. It 'shorts' the chip out whenever you try to program, or even
hook it up.

Does anyone have any ideas? I am stumped and I really wanted to use my new
laptop.

Thanks,

Mark

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-12-17 21:14
    Does your new laptop have Windows XP, 2000, or NT? NT
    used to act nasty with some popular UPS's because it
    would look for a mouse on the serial port. Just one
    possible clue.

    Bob Pence


    --- Mark Adams <madams@a...> wrote:
    > Gentlemen,
    >
    > I have a small problem when I am trying to program a
    > BS2. I have not used
    > this setup in a while but the last time I used it,
    > things worked properly.
    >
    > Anyway, I am trying to program a BS2 in a circuit
    > and I have all the same
    > equipment as last time (about 2 months ago). The
    > cables are the same, etc.
    > It is the only cable I have to program these chips.
    >
    > What is happening is when I go to program the chip,
    > it 'shorts' it out for a
    > short period of time (the meter on the power supply
    > goes to 2.5A) and then
    > it returns to normal. The chip takes the program
    > and works properly before
    > and after.
    >
    > The really interesting thing is that I got a new
    > laptop (Dell) and it
    > actually has a com port, not strictly USB. When I
    > just hook up the cable to
    > it, it 'shorts' out the power supply too. I cannot
    > get it to work at all on
    > the new one. It 'shorts' the chip out whenever you
    > try to program, or even
    > hook it up.
    >
    > Does anyone have any ideas? I am stumped and I
    > really wanted to use my new
    > laptop.
    >
    > Thanks,
    >
    > Mark
    >
    >
    > 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/
    >
    >


    __________________________________________________
    Do You Yahoo!?
    Check out Yahoo! Shopping and Yahoo! Auctions for all of
    your unique holiday gifts! Buy at http://shopping.yahoo.com
    or bid at http://auctions.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-17 21:25
    It has Win 2000 on it... the old one has Win95

    Original Message
    From: Pence Bob [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mZJ2gctDpHiJrGQeF6ADDNEfuJVDVrx5f_dlUOzokYmjGjXvMEuqlg8B_fdJpMefvQj8e_ieBBCAe3N8-7kA5f2c]bobpence_2000@y...[/url
    Sent: Monday, December 17, 2001 3:15 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Interesting problem with programming BS2


    Does your new laptop have Windows XP, 2000, or NT? NT
    used to act nasty with some popular UPS's because it
    would look for a mouse on the serial port. Just one
    possible clue.

    Bob Pence


    --- Mark Adams <madams@a...> wrote:
    > Gentlemen,
    >
    > I have a small problem when I am trying to program a
    > BS2. I have not used
    > this setup in a while but the last time I used it,
    > things worked properly.
    >
    > Anyway, I am trying to program a BS2 in a circuit
    > and I have all the same
    > equipment as last time (about 2 months ago). The
    > cables are the same, etc.
    > It is the only cable I have to program these chips.
    >
    > What is happening is when I go to program the chip,
    > it 'shorts' it out for a
    > short period of time (the meter on the power supply
    > goes to 2.5A) and then
    > it returns to normal. The chip takes the program
    > and works properly before
    > and after.
    >
    > The really interesting thing is that I got a new
    > laptop (Dell) and it
    > actually has a com port, not strictly USB. When I
    > just hook up the cable to
    > it, it 'shorts' out the power supply too. I cannot
    > get it to work at all on
    > the new one. It 'shorts' the chip out whenever you
    > try to program, or even
    > hook it up.
    >
    > Does anyone have any ideas? I am stumped and I
    > really wanted to use my new
    > laptop.
    >
    > Thanks,
    >
    > Mark
    >
    >
    > 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/
    >
    >


    __________________________________________________
    Do You Yahoo!?
    Check out Yahoo! Shopping and Yahoo! Auctions for all of
    your unique holiday gifts! Buy at http://shopping.yahoo.com
    or bid at http://auctions.yahoo.com

    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-12-17 22:08
    Ok.. update. I have figured it out to differences in the laptops. The new
    one will program a chip that is out of the circuit perfectly. The old one
    will program the chip in the circuit, but it shorts the source out for the
    period of time while it is programming, then works fine after that.

    Question: Do the pins of the stamp revert to some default input or output
    during programming?

    The last observation is the new laptop (win 2000) shorts the souce out
    immediately by just hooking up the cable.

    I appreciate everyone's help on this one.

    Mark



    Original Message
    From: Pence Bob [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=7ZiKsE3IdZgLYObM82vl5bvBpJH5TxU4ziyAtFbU_0tkXxk0clhNj2_r7A-ZJcJr0nq_VFtf2r5IJa9mbHV4jJBE]bobpence_2000@y...[/url
    Sent: Monday, December 17, 2001 3:15 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Interesting problem with programming BS2


    Does your new laptop have Windows XP, 2000, or NT? NT
    used to act nasty with some popular UPS's because it
    would look for a mouse on the serial port. Just one
    possible clue.

    Bob Pence


    --- Mark Adams <madams@a...> wrote:
    > Gentlemen,
    >
    > I have a small problem when I am trying to program a
    > BS2. I have not used
    > this setup in a while but the last time I used it,
    > things worked properly.
    >
    > Anyway, I am trying to program a BS2 in a circuit
    > and I have all the same
    > equipment as last time (about 2 months ago). The
    > cables are the same, etc.
    > It is the only cable I have to program these chips.
    >
    > What is happening is when I go to program the chip,
    > it 'shorts' it out for a
    > short period of time (the meter on the power supply
    > goes to 2.5A) and then
    > it returns to normal. The chip takes the program
    > and works properly before
    > and after.
    >
    > The really interesting thing is that I got a new
    > laptop (Dell) and it
    > actually has a com port, not strictly USB. When I
    > just hook up the cable to
    > it, it 'shorts' out the power supply too. I cannot
    > get it to work at all on
    > the new one. It 'shorts' the chip out whenever you
    > try to program, or even
    > hook it up.
    >
    > Does anyone have any ideas? I am stumped and I
    > really wanted to use my new
    > laptop.
    >
    > Thanks,
    >
    > Mark
    >
    >
    > 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/
    >
    >


    __________________________________________________
    Do You Yahoo!?
    Check out Yahoo! Shopping and Yahoo! Auctions for all of
    your unique holiday gifts! Buy at http://shopping.yahoo.com
    or bid at http://auctions.yahoo.com

    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-12-17 22:24
    At 04:08 PM 12/17/2001 -0600, you wrote:
    >Ok.. update. I have figured it out to differences in the laptops. The new
    >one will program a chip that is out of the circuit perfectly. The old one
    >will program the chip in the circuit, but it shorts the source out for the
    >period of time while it is programming, then works fine after that.
    >
    >Question: Do the pins of the stamp revert to some default input or output
    >during programming?
    The pins are cleared and set as follows, upon reset of the Stamp. From page
    numbered 47 in Stamp Manual Version 2.0C :

    quote

    When the BASIC Stamp is powered up, or reset, all memory locations are
    cleared to 0, so all pins are inputs (DIRS = %0000000000000000). Also, if
    the PBASIC program sets all the I/O pins to outputs (DIRS =
    %1111111111111111), then they will initially output low, since the output
    latch (OUTS) is cleared to all zeros upon power-up or reset, as well.

    end quote

    >The last observation is the new laptop (win 2000) shorts the souce out
    >immediately by just hooking up the cable.
    >
    >I appreciate everyone's help on this one.
    >
    >Mark
    >
    >
    >
    >
    Original Message
    >From: Pence Bob [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=qinQFC8d_FkTLQdR_0jtWHS8xEKKDpXeztLETrP_Qgyn05aQvLdOTp6UkDDS3M6sXClc3coQ9_zxWX9jhqzMEIc]bobpence_2000@y...[/url
    >Sent: Monday, December 17, 2001 3:15 PM
    >To: basicstamps@yahoogroups.com
    >Subject: Re: [noparse][[/noparse]basicstamps] Interesting problem with programming BS2
    >
    >
    >Does your new laptop have Windows XP, 2000, or NT? NT
    >used to act nasty with some popular UPS's because it
    >would look for a mouse on the serial port. Just one
    >possible clue.
    >
    >Bob Pence
    >
    >
    >--- Mark Adams <madams@a...> wrote:
    > > Gentlemen,
    > >
    > > I have a small problem when I am trying to program a
    > > BS2. I have not used
    > > this setup in a while but the last time I used it,
    > > things worked properly.
    > >
    > > Anyway, I am trying to program a BS2 in a circuit
    > > and I have all the same
    > > equipment as last time (about 2 months ago). The
    > > cables are the same, etc.
    > > It is the only cable I have to program these chips.
    > >
    > > What is happening is when I go to program the chip,
    > > it 'shorts' it out for a
    > > short period of time (the meter on the power supply
    > > goes to 2.5A) and then
    > > it returns to normal. The chip takes the program
    > > and works properly before
    > > and after.
    > >
    > > The really interesting thing is that I got a new
    > > laptop (Dell) and it
    > > actually has a com port, not strictly USB. When I
    > > just hook up the cable to
    > > it, it 'shorts' out the power supply too. I cannot
    > > get it to work at all on
    > > the new one. It 'shorts' the chip out whenever you
    > > try to program, or even
    > > hook it up.
    > >
    > > Does anyone have any ideas? I am stumped and I
    > > really wanted to use my new
    > > laptop.
    > >
    > > Thanks,
    > >
    > > Mark
    > >
    > >
    > > 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/
    > >
    > >
    >
    >
    >__________________________________________________
    >Do You Yahoo!?
    >Check out Yahoo! Shopping and Yahoo! Auctions for all of
    >your unique holiday gifts! Buy at http://shopping.yahoo.com
    >or bid at http://auctions.yahoo.com
    >
    >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/
    >
    >
    >
    >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-12-18 07:32
    Hi,

    Regarding your last observation:
    Did you check your boards connector (DB9 socket I presume)
    Some times the socket pins get a bit worn out and if there
    is a bit too much solder plugging in a cable could lead
    to shorting pins to other tracks which could explain the
    increase in current. Do check it out and wiggle your cable
    and see (on the solder side of the connector) how the connector behaves.
    Also check your cable, just to be sure.

    Regards peter


    Oorspronkelijk bericht
    Van: Mark Adams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=VZvvlrEbaksjFwm1G1UwSPSubXw6YK1jVLygGDy0RbMgZ3bf591gqyMTGFKI7jmyEWAo8KBQIrVI]madams@a...[/url
    Verzonden: maandag 17 december 2001 14:09
    Aan: basicstamps@yahoogroups.com
    Onderwerp: RE: [noparse][[/noparse]basicstamps] Interesting problem with programming BS2

    Ok.. update. I have figured it out to differences in the laptops. The new
    one will program a chip that is out of the circuit perfectly. The old one
    will program the chip in the circuit, but it shorts the source out for the
    period of time while it is programming, then works fine after that.

    Question: Do the pins of the stamp revert to some default input or output
    during programming?

    The last observation is the new laptop (win 2000) shorts the souce out
    immediately by just hooking up the cable.

    I appreciate everyone's help on this one.

    Mark



    Original Message
    From: Pence Bob [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=rMNdgTP1klhRtofS7_uXDktJHCktIdYNNV-o4uuXK1HpjW4j_CFG2kR1aB3GF4_t0zfdxiqTcNjPzOpjmHtF]bobpence_2000@y...[/url
    Sent: Monday, December 17, 2001 3:15 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Interesting problem with programming BS2


    Does your new laptop have Windows XP, 2000, or NT? NT
    used to act nasty with some popular UPS's because it
    would look for a mouse on the serial port. Just one
    possible clue.

    Bob Pence


    --- Mark Adams <madams@a...> wrote:
    > Gentlemen,
    >
    > I have a small problem when I am trying to program a
    > BS2. I have not used
    > this setup in a while but the last time I used it,
    > things worked properly.
    >
    > Anyway, I am trying to program a BS2 in a circuit
    > and I have all the same
    > equipment as last time (about 2 months ago). The
    > cables are the same, etc.
    > It is the only cable I have to program these chips.
    >
    > What is happening is when I go to program the chip,
    > it 'shorts' it out for a
    > short period of time (the meter on the power supply
    > goes to 2.5A) and then
    > it returns to normal. The chip takes the program
    > and works properly before
    > and after.
    >
    > The really interesting thing is that I got a new
    > laptop (Dell) and it
    > actually has a com port, not strictly USB. When I
    > just hook up the cable to
    > it, it 'shorts' out the power supply too. I cannot
    > get it to work at all on
    > the new one. It 'shorts' the chip out whenever you
    > try to program, or even
    > hook it up.
    >
    > Does anyone have any ideas? I am stumped and I
    > really wanted to use my new
    > laptop.
    >
    > Thanks,
    >
    > Mark
    >
    >
    > 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/
    >
    >


    __________________________________________________
    Do You Yahoo!?
    Check out Yahoo! Shopping and Yahoo! Auctions for all of
    your unique holiday gifts! Buy at http://shopping.yahoo.com
    or bid at http://auctions.yahoo.com

    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/



    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/
Sign In or Register to comment.