Shop OBEX P1 Docs P2 Docs Learn Events
No sign on life in a chip... — Parallax Forums

No sign on life in a chip...

ArchiverArchiver Posts: 46,084
edited 2004-02-19 23:56 in General Discussion
I just recieved the breadboard for the 2p40 chip i have from a while
back and upon updating an older 2p40, i go to load the sw into the
chip and the software says it was successfull.
Problem is one of the commands is to make mainau pin15 on but the led
does not light up.
I assume that if it loaded the sw the chip is not toast right?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 15:36
    At 02:42 PM 2/6/04 +0000, the_0utsider1 wrote:
    >I just recieved the breadboard for the 2p40 chip i have from a while
    >back and upon updating an older 2p40, i go to load the sw into the
    >chip and the software says it was successfull.
    >Problem is one of the commands is to make mainau pin15 on but the led
    >does not light up.
    >I assume that if it loaded the sw the chip is not toast right?
    Generally true, but one port may be blown and the rest of the chip may be okay.
    Did you use the appropriate AUXIO or MAINIO command in the program ? Is the LED
    connected correctly ?

    You might also want to change the port assignment and try a different I/O port
    to see if Port 15 is indeed blown. You may additionally want to add a DEBUG
    statement as the first thing in the program: DEBUG "Executing" to ensure that
    program execution has begun.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 15:40
    to my knowledge of the BS2p40 15 is not an Auxiliary I/O 0-15 main I/O and
    16-31 aux I/O. could you post your program? if not just simply do the
    following
    i always use the debug command when using outputs. it kind of prevents the
    stamp from going to sleep.
    also make sure the LED is good.


    Debug cls

    main
    high 15
    end

    Regards,

    Gary




    At 02:42 PM 2/6/2004 +0000, you wrote:
    >I just recieved the breadboard for the 2p40 chip i have from a while
    >back and upon updating an older 2p40, i go to load the sw into the
    >chip and the software says it was successfull.
    >Problem is one of the commands is to make mainau pin15 on but the led
    >does not light up.
    >I assume that if it loaded the sw the chip is not toast right?
    >
    >
    >
    >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.
    >
    >Yahoo! Groups Links
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 15:46
    For clarification, you don't need to use DEBUG to keep the Stamp from
    going to sleep, but you may need to use it on your laptop computer to
    keep the serial port from going to sleep.

    The BS2p40 has two groups of pins: MAINIO and AUXIO. You must first
    select the group, then pin fuctions will work in that group thereafter.
    So, if you want to turn on AUXIO P15, you would do this:

    Test:
    AUXIO
    HIGH 15
    STOP

    And yes, make sure your LED is good before assuming you've got a duff
    Stamp.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Gary Denison [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MRsYnYwvpLG35KfwptFBOItXEcsUaimKFOc8uawm1PPzzxunJjh_JXIX5oxQRO1JD0jp]gdii@c...[/url
    Sent: Friday, February 06, 2004 9:41 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...


    to my knowledge of the BS2p40 15 is not an Auxiliary I/O 0-15 main I/O
    and
    16-31 aux I/O. could you post your program? if not just simply do the
    following
    i always use the debug command when using outputs. it kind of prevents
    the
    stamp from going to sleep.
    also make sure the LED is good.


    Debug cls

    main
    high 15
    end

    Regards,

    Gary




    At 02:42 PM 2/6/2004 +0000, you wrote:
    >I just recieved the breadboard for the 2p40 chip i have from a while
    >back and upon updating an older 2p40, i go to load the sw into the chip

    >and the software says it was successfull. Problem is one of the
    >commands is to make mainau pin15 on but the led does not light up.
    >I assume that if it loaded the sw the chip is not toast right?
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 16:04
    ok but essentially, what i have is i loaded the following program into the chip:

    mainio
    output 15

    test:
    out15=1
    pause 1000
    out15=0
    pause 1000
    goto test

    Then i put the volt meter to the pin15 and it read 0 volts for a few minutes.
    It send the commands into the chip successfully and that is why i wonder if the
    chip itself is hosed.

    Thanks

    Jon Williams <jwilliams@p...> wrote:
    For clarification, you don't need to use DEBUG to keep the Stamp from
    going to sleep, but you may need to use it on your laptop computer to
    keep the serial port from going to sleep.

    The BS2p40 has two groups of pins: MAINIO and AUXIO. You must first
    select the group, then pin fuctions will work in that group thereafter.
    So, if you want to turn on AUXIO P15, you would do this:

    Test:
    AUXIO
    HIGH 15
    STOP

    And yes, make sure your LED is good before assuming you've got a duff
    Stamp.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Gary Denison [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=y62TgixU4yGvOo7Jyuveeb_bw_9_3HsEIb-GfQ6M2GnWNFS03ZqlxAi48Bb7aS7Lhhjw]gdii@c...[/url
    Sent: Friday, February 06, 2004 9:41 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...


    to my knowledge of the BS2p40 15 is not an Auxiliary I/O 0-15 main I/O
    and
    16-31 aux I/O. could you post your program? if not just simply do the
    following
    i always use the debug command when using outputs. it kind of prevents
    the
    stamp from going to sleep.
    also make sure the LED is good.


    Debug cls

    main
    high 15
    end

    Regards,

    Gary




    At 02:42 PM 2/6/2004 +0000, you wrote:
    >I just recieved the breadboard for the 2p40 chip i have from a while
    >back and upon updating an older 2p40, i go to load the sw into the chip

    >and the software says it was successfull. Problem is one of the
    >commands is to make mainau pin15 on but the led does not light up.
    >I assume that if it loaded the sw the chip is not toast right?


    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.

    Yahoo! Groups Links






    Do you Yahoo!?
    Yahoo! Finance: Get your refund fast by filing online

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 16:06
    Gary,

    Pins 16-31 are addressed as pin 0-15 as well. You have to add the AUXIO
    command to access them, then remember to include a MAINIO command when you
    want to address the main pins after having used the AUXIO command.
    Forgetting the MAINIO or AUXIO has buggered me more than once.

    Jonathan

    www.madlabs.info

    Original Message
    From: "Gary Denison" <gdii@c...>
    To: <basicstamps@yahoogroups.com>
    Sent: Friday, February 06, 2004 7:40 AM
    Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...


    > to my knowledge of the BS2p40 15 is not an Auxiliary I/O 0-15 main I/O
    and
    > 16-31 aux I/O. could you post your program? if not just simply do the
    > following
    > i always use the debug command when using outputs. it kind of prevents the
    > stamp from going to sleep.
    > also make sure the LED is good.
    >
    >
    > Debug cls
    >
    > main
    > high 15
    > end
    >
    > Regards,
    >
    > Gary
    >
    >
    >
    >
    > At 02:42 PM 2/6/2004 +0000, you wrote:
    > >I just recieved the breadboard for the 2p40 chip i have from a while
    > >back and upon updating an older 2p40, i go to load the sw into the
    > >chip and the software says it was successfull.
    > >Problem is one of the commands is to make mainau pin15 on but the led
    > >does not light up.
    > >I assume that if it loaded the sw the chip is not toast right?
    > >
    > >
    > >
    > >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.
    > >
    > >Yahoo! Groups Links
    > >
    > >
    > >
    > >
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 17:04
    gotcha !! thanks


    At 08:06 AM 2/6/2004 -0800, you wrote:
    >Gary,
    >
    >Pins 16-31 are addressed as pin 0-15 as well. You have to add the AUXIO
    >command to access them, then remember to include a MAINIO command when you
    >want to address the main pins after having used the AUXIO command.
    >Forgetting the MAINIO or AUXIO has buggered me more than once.
    >
    >Jonathan
    >
    >www.madlabs.info
    >
    >
    Original Message
    >From: "Gary Denison" <gdii@c...>
    >To: <basicstamps@yahoogroups.com>
    >Sent: Friday, February 06, 2004 7:40 AM
    >Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...
    >
    >
    > > to my knowledge of the BS2p40 15 is not an Auxiliary I/O 0-15 main I/O
    >and
    > > 16-31 aux I/O. could you post your program? if not just simply do the
    > > following
    > > i always use the debug command when using outputs. it kind of prevents the
    > > stamp from going to sleep.
    > > also make sure the LED is good.
    > >
    > >
    > > Debug cls
    > >
    > > main
    > > high 15
    > > end
    > >
    > > Regards,
    > >
    > > Gary
    > >
    > >
    > >
    > >
    > > At 02:42 PM 2/6/2004 +0000, you wrote:
    > > >I just recieved the breadboard for the 2p40 chip i have from a while
    > > >back and upon updating an older 2p40, i go to load the sw into the
    > > >chip and the software says it was successfull.
    > > >Problem is one of the commands is to make mainau pin15 on but the led
    > > >does not light up.
    > > >I assume that if it loaded the sw the chip is not toast right?
    > > >
    > > >
    > > >
    > > >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.
    > > >
    > > >Yahoo! Groups Links
    > > >
    > > >
    > > >
    > > >
    > >
    > >
    > >
    > > 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.
    > >
    > > Yahoo! Groups Links
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >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.
    >
    >Yahoo! Groups Links
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-06 22:14
    for what it is worth.
    all of the stamp I/O lines are OPEN COLLECTOR. A pull up resistor 1k to 10k
    should be fine, MUST be used to achieve valid logic states.

    the_0utsider1 <the_0utsider1@y...> wrote:
    I just recieved the breadboard for the 2p40 chip i have from a while
    back and upon updating an older 2p40, i go to load the sw into the
    chip and the software says it was successfull.
    Problem is one of the commands is to make mainau pin15 on but the led
    does not light up.
    I assume that if it loaded the sw the chip is not toast right?



    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.

    Yahoo! Groups Links






    Do you Yahoo!?
    Yahoo! Finance: Get your refund fast by filing online

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-09 13:44
    This is NOT CORRECT; the Stamp IO pins are not open-collector. The
    BASIC Stamp is capable of sinking and sourcing current.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: PHILIP GAMBLIN [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Qd6K62Ri14t7DFT__YzrcljoiCVjEzFlYF8a8BMLreSu35s8ShYEdjGdsUZjSQ4_rhZbltV6XE9J_3k]gremlin8650@y...[/url
    Sent: Friday, February 06, 2004 4:15 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...


    for what it is worth.
    all of the stamp I/O lines are OPEN COLLECTOR. A pull up resistor 1k to
    10k should be fine, MUST be used to achieve valid logic states.
  • ArchiverArchiver Posts: 46,084
    edited 2004-02-19 23:56
    Thanks. Guess I need to figure out what to do with all my pullup resistors.

    Jon Williams <jwilliams@p...> wrote:This is NOT CORRECT; the Stamp IO
    pins are not open-collector. The
    BASIC Stamp is capable of sinking and sourcing current.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: PHILIP GAMBLIN [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=eOjffAt2Pdqmphj0PYtH5N2BvW_t84m2McpWRH36xqOp-3e-dqa5fCOYhZLhsmgVWfkOWXmlRcRqgc4ISPo]gremlin8650@y...[/url
    Sent: Friday, February 06, 2004 4:15 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] No sign on life in a chip...


    for what it is worth.
    all of the stamp I/O lines are OPEN COLLECTOR. A pull up resistor 1k to
    10k should be fine, MUST be used to achieve valid logic states.


    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.

    Yahoo! Groups Links







    Do you Yahoo!?
    Yahoo! SiteBuilder - Free web site building tool. Try it!

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.