Shop OBEX P1 Docs P2 Docs Learn Events
I2C devices and BS2p24 — Parallax Forums

I2C devices and BS2p24

ArchiverArchiver Posts: 46,084
edited 2004-03-28 03:50 in General Discussion
Hello everyone, this is my first time in the group. I recently
purchased the NX-1000-24/40 Development board and can't get my BS2p24
to run the PCF8574 or the DS1621 using the Parallax software nor the
software in the NX-1000 booklet. It runs the DS1307 o.k. My
interpeter on my p24 is V1.2. I am using the latest compiler. Jon's
N+V May 2002 column, "I2C Fun For Everyone" mentioned a BS2p upgrade
that might fix my problem. I've never found it on the Parallax site.
I think I purchased my p24 back in 2001, so maybe my p24 is too
slow? Any comments will be welcome.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-26 22:28
    Doug:

    You do need to get your BS2p upgraded to use the that code. Send a note
    to support@p... and they'll get you sorted out.

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


    Original Message
    From: Doug Wood [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=M7IrI4I58b76-FjU0x-LSurlr4h9Q7-_LaND5__4BUpFPzEqVIiFgbQV9nJ9cXjzBBof7Q77TqY]douglout@m...[/url
    Sent: Friday, March 26, 2004 1:55 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    Hello everyone, this is my first time in the group. I recently
    purchased the NX-1000-24/40 Development board and can't get my BS2p24
    to run the PCF8574 or the DS1621 using the Parallax software nor the
    software in the NX-1000 booklet. It runs the DS1307 o.k. My
    interpeter on my p24 is V1.2. I am using the latest compiler. Jon's
    N+V May 2002 column, "I2C Fun For Everyone" mentioned a BS2p upgrade
    that might fix my problem. I've never found it on the Parallax site.
    I think I purchased my p24 back in 2001, so maybe my p24 is too
    slow? Any comments will be welcome.




    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 13:39
    Thank you, Jon for your help. I had a feeling that was the culprit. Doug
    Original Message
    From: Jon Williams<mailto:jwilliams@p...>
    To: basicstamps@yahoogroups.com<mailto:basicstamps@yahoogroups.com>
    Sent: Friday, March 26, 2004 3:28 PM
    Subject: RE: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    Doug:

    You do need to get your BS2p upgraded to use the that code. Send a note
    to support@p...<mailto:support@p...> and they'll get you
    sorted out.

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


    Original Message
    From: Doug Wood [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AT_b35QxC34088IvgH2snrCIl1OCMmb-NTEvC8CMHaLdJks0y9_ju-9ho4JWtd_WJvatxCEpdlQ]douglout@m...[/url
    Sent: Friday, March 26, 2004 1:55 PM
    To: basicstamps@yahoogroups.com<mailto:basicstamps@yahoogroups.com>
    Subject: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    Hello everyone, this is my first time in the group. I recently
    purchased the NX-1000-24/40 Development board and can't get my BS2p24
    to run the PCF8574 or the DS1621 using the Parallax software nor the
    software in the NX-1000 booklet. It runs the DS1307 o.k. My
    interpeter on my p24 is V1.2. I am using the latest compiler. Jon's
    N+V May 2002 column, "I2C Fun For Everyone" mentioned a BS2p upgrade
    that might fix my problem. I've never found it on the Parallax site.
    I think I purchased my p24 back in 2001, so maybe my p24 is too
    slow? Any comments will be welcome.




    To UNSUBSCRIBE, just send mail to:

    basicstamps-unsubscribe@yahoogroups.com<mailto:basicstamps-unsubscribe@yahoogrou\
    ps.com>
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p...<mailto:abuse@p...>.



    To UNSUBSCRIBE, just send mail to:

    basicstamps-unsubscribe@yahoogroups.com<mailto:basicstamps-unsubscribe@yahoogrou\
    ps.com>
    from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.

    Yahoo! Groups Links







    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 18:31
    > You do need to get your BS2p upgraded to use the that code. Send a note
    > to support@p... and they'll get you sorted out.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    Jon, if upgrades are available, why wouldn't they just make them
    available for download on the website? I have purchased two
    BS2P24's from Parallax. One I purchased ~1.5yrs ago and another
    purchased a few weeks ago. Are there upgrades available for either?
    Thanks,
    Tom Fisher
    BigD
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 18:38
    At 12:31 PM 3/27/04 -0600, tboonefisher wrote:
    >> You do need to get your BS2p upgraded to use the that code. Send a note
    >> to support@p... and they'll get you sorted out.
    >>
    >> -- Jon Williams
    >> -- Applications Engineer, Parallax
    >> -- Dallas Office
    >>
    > Jon, if upgrades are available, why wouldn't they just make them
    >available for download on the website? I have purchased two
    >BS2P24's from Parallax. One I purchased ~1.5yrs ago and another
    >purchased a few weeks ago. Are there upgrades available for either?
    >Thanks,
    >Tom Fisher
    >BigD

    Tom -

    This type of upgrade is done in the processor's workspace, not in the EEPROM
    workspace which is where the applications program (your program) resides. A
    different set of tools are used as well, to download to the processor's
    workspace.

    Regards,

    Bruce Bates





    >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-03-27 19:52
    > This type of upgrade is done in the processor's workspace, not in the
    EEPROM workspace which is where the applications program (your program)
    resides. A
    > different set of tools are used as well, to download to the processor's
    workspace.
    >
    Thanks, Bruce. I understand this is a type of firmware upgrade which
    manufacturers
    do quite frequently. Why wouldn't it be possible to make these tools
    available to
    customers?
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 21:18
    At 01:52 PM 3/27/04 -0600, tboonefisher wrote:
    >> This type of upgrade is done in the processor's workspace, not in the
    >EEPROM workspace which is where the applications program (your program)
    >resides. A
    >> different set of tools are used as well, to download to the processor's
    >workspace.
    >>
    > Thanks, Bruce. I understand this is a type of firmware upgrade which
    >manufacturers
    >do quite frequently. Why wouldn't it be possible to make these tools
    >available to
    >customers?
    >Tom Fisher
    >Dallas,TX
    Tom -

    It could be done, but due to the relative complexity of the process, the
    proprietary nature of the tools and the possibility of completely disabling the
    processor, it often isn't done. The nearest thing that I can think of that is
    permitted on a general basis is flashing the BIOS on a PC. Even that can have
    devastating results if you don't know what you are doing.

    The other thing to consider is the rarity of the process. I can only think of 2
    or 3 occasions over the last 5-6 years when this was even necessary for any
    Parallax product. This show the lengths that Parallax goes through in testing
    new products before they get into the field. This present situation is very
    unusual.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 22:17
    Because it requires changing the firmware in your BS2p (and this cannot
    be done outside our production facility). If you check the version,
    you'll find the newer is 1.3 which is a little "freer" with I2C timing
    (for devices that need to do a bit of work before providing information
    [noparse][[/noparse]like the Devantech compass]). The new firmware also accommodates a
    change that allows you to work with non-address devices (like the
    PCF8574) that don't have internal addresses.

    -- Jon Williams
    -- Parallax



    Original Message
    From: tboonefisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=GqEjAur3HzTgslNceRSJZIhbTQ6DZFTtYC7bRhp8axxpW5qCaKAJRKQgQJurLsUWPbTUFO-3rmvjWkQgWsZZow]tboonefisher@s...[/url
    Sent: Saturday, March 27, 2004 12:32 PM
    To: basicstamps@yahoogroups.com
    Cc: Support
    Subject: Re: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    > You do need to get your BS2p upgraded to use the that code. Send a
    > note to support@p... and they'll get you sorted out.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    Jon, if upgrades are available, why wouldn't they just make them
    available for download on the website? I have purchased two
    BS2P24's from Parallax. One I purchased ~1.5yrs ago and another
    purchased a few weeks ago. Are there upgrades available for either?
    Thanks,
    Tom Fisher
    BigD




    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 22:23
    No, it is not practical to do so -- and if we gave you the binary file
    for the interpreter code you could clone BASIC Stamps all day long.
    That would be the quickest way for us to put ourselves out of business
    ... and leave lots of customers (who appreciate the support we deliver)
    high-and-dry.

    I'm not saying that YOU would every do anything illegal, but just look
    at the number of compilers and work-alikes that use PBASIC.... Even I
    -- as a Parallax employee -- don't have that material (upgrade code)
    because I work outside out main office. Like our customers, I sent my
    BS2p modules back to California for the upgrade.

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


    Original Message
    From: tboonefisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ZD81i5YvHxuZ-5VFofFBIrZhYRaCkbQcxfvn84eUv2y3V9UQm2oRF9TXXbF76_3fo7U4PFKAgMwRgetoVskgEHM]tboonefisher@s...[/url
    Sent: Saturday, March 27, 2004 1:52 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    > This type of upgrade is done in the processor's workspace, not in the
    EEPROM workspace which is where the applications program (your program)
    resides. A
    > different set of tools are used as well, to download to the
    > processor's
    workspace.
    >
    Thanks, Bruce. I understand this is a type of firmware upgrade which
    manufacturers do quite frequently. Why wouldn't it be possible to make
    these tools available to customers? Tom Fisher Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 22:24
    > Because it requires changing the firmware in your BS2p (and this cannot
    > be done outside our production facility). If you check the version,
    > you'll find the newer is 1.3 which is a little "freer" with I2C timing
    > (for devices that need to do a bit of work before providing information
    > [noparse][[/noparse]like the Devantech compass]). The new firmware also accommodates a
    > change that allows you to work with non-address devices (like the
    > PCF8574) that don't have internal addresses.
    >
    Jon, now I understand. If you were to allow this, the firmware would
    become freely available, thus allowing anyone to buy the chips and
    create their own Stamp w/o paying you for the firmware....DUH!<G>
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 22:28
    Your point is valid, Bruce. Since we don't allow interpreter code
    (binary or otherwise) outside out production facility, we go to great
    lengths to make sure it works properly. Now, we are human and as we
    found with the I2C thing, we could improve it and have done so. Mind
    you, it was not a flaw, it just didn't work as well as it could so,
    based on feedback from customers who were really into I2C, we improved
    it.

    I'm thrilled, because I love I2C parts (many more and much easier to
    deal with that 1-Wire for the price of one more IO pin). For those of
    you who haven't seen it, the MCP23016 (a customer told me about it) is a
    great I2C part for IO expansion. I used it to build an I2C LCD terminal
    in my May column for Nuts & Volts (watch for it).

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


    Original Message
    From: Bruce Bates [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=JuwiQMfiAWDxCbsKhPCStI0W-VCTdtIoelv1Hd4ohIs4L_mrcW7qgO3yAMtqOXC39JSYKFto1Icb2qIo]bvbates@u...[/url
    Sent: Saturday, March 27, 2004 3:18 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] I2C devices and BS2p24


    At 01:52 PM 3/27/04 -0600, tboonefisher wrote:
    >> This type of upgrade is done in the processor's workspace, not in the
    >EEPROM workspace which is where the applications program (your program)

    >resides. A
    >> different set of tools are used as well, to download to the
    >> processor's
    >workspace.
    >>
    > Thanks, Bruce. I understand this is a type of firmware upgrade which
    >manufacturers do quite frequently. Why wouldn't it be possible to make
    >these tools available to
    >customers?
    >Tom Fisher
    >Dallas,TX
    Tom -

    It could be done, but due to the relative complexity of the process, the
    proprietary nature of the tools and the possibility of completely
    disabling the processor, it often isn't done. The nearest thing that I
    can think of that is permitted on a general basis is flashing the BIOS
    on a PC. Even that can have devastating results if you don't know what
    you are doing.

    The other thing to consider is the rarity of the process. I can only
    think of 2 or 3 occasions over the last 5-6 years when this was even
    necessary for any Parallax product. This show the lengths that Parallax
    goes through in testing new products before they get into the field.
    This present situation is very unusual.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-27 23:47
    Cool! Its a PCF8574 on steroids 8) 16 I/O with "real" source
    capability. I'll have to see if Digikey or Newark stocks them.

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > For those of
    > you who haven't seen it, the MCP23016 (a customer told me about it)
    is a
    > great I2C part for IO expansion. I used it to build an I2C LCD
    terminal
    > in my May column for Nuts & Volts (watch for it).
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-28 00:04
    Exactly the words I used in my article ... brilliant minds think alike!


    Mouser carries them in Qty for a couple bucks.

    -- Jon Williams
    -- Applications Engineer, Parallax


    Original Message
    From: ghidera2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Fyy3cI5C3XDO_1GYFkl3imezo4ZkkOogNhsDLN3-RgNnish4d4HTjVdQxd4gCt0aSu7o9VrtQol1A8s]ghidera2000@y...[/url
    Sent: Saturday, March 27, 2004 5:48 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: I2C devices and BS2p24


    Cool! Its a PCF8574 on steroids 8) 16 I/O with "real" source
    capability. I'll have to see if Digikey or Newark stocks them.

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > For those of
    > you who haven't seen it, the MCP23016 (a customer told me about it)
    is a
    > great I2C part for IO expansion. I used it to build an I2C LCD
    terminal
    > in my May column for Nuts & Volts (watch for it).
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office




    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-28 03:50
    Hello from Gregg C Levine
    Mine are on order direct from TI, via their samples program methods.
    Since Digikey is a TI preferred vendor, it's very likely that they
    will be in stock. But I ordered mine for a totally different reason
    then for the BS2p24 device. The curious thing, is that all of the
    sample orders have the same physical address that Digikey has, I am
    convinced that's where they come from.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=bYBzr0JLX2Ajg1M-QHyF5P41UMha473lOd_Kb4eaIzeWz5w5JwwGNoOSkUSLxC0GX0hKa_9BX_7AVtq4QjgbW4Y]jwilliams@p...[/url
    > Sent: Saturday, March 27, 2004 7:05 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: I2C devices and BS2p24
    >
    > Exactly the words I used in my article ... brilliant minds think
    alike!
    >
    >
    > Mouser carries them in Qty for a couple bucks.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    >
    >
    >
    Original Message
    > From: ghidera2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=VnQSNH_RmZwmaOu00zpoMHDIvXYJqgiERTjQ9a-FUrN4lHZcyMVnyv5VVpT0F-GNV7NYGz3A4DRLI8Dner4]ghidera2000@y...[/url
    > Sent: Saturday, March 27, 2004 5:48 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: I2C devices and BS2p24
    >
    >
    > Cool! Its a PCF8574 on steroids 8) 16 I/O with "real" source
    > capability. I'll have to see if Digikey or Newark stocks them.
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > For those of
    > > you who haven't seen it, the MCP23016 (a customer told me about
    it)
    > is a
    > > great I2C part for IO expansion. I used it to build an I2C LCD
    > terminal
    > > in my May column for Nuts & Volts (watch for it).
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
Sign In or Register to comment.