Shop OBEX P1 Docs P2 Docs Learn Events
external memory for the bs2 — Parallax Forums

external memory for the bs2

ArchiverArchiver Posts: 46,084
edited 2003-06-04 08:24 in General Discussion
I'm currently attempting to do a new project with the BS2 (would I
use anything else =0) ). However I will need some storage space to
store alot of data that the bs2 will not be able to hold. I would
like to have about a minimum of 64kb of non-volitile memory for
storage. I found a tutorial with the xicor eeprom however the
maximum capacity is 32k using the xicor x25640. would I be able to
control 2 at the same time without taking up all my i/o lines? any
help or working links would be appreciated. Thanks all for your time
and help

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-06-04 01:53
    I would suggest using and I2C EEPROM like the 24LC256. By connecting two of
    these to your Stamp (uses just two pins and other I2C devices can share this
    bus), you'll get 64K of external storage.

    Here's an article from Nuts & Volts that will get you started:

    <A
    HREF="http://www.parallax.com/Downloads/Documentation/nv/v3/col/NV85-I2C_Fun_For\
    _Everyone.pdf
    ">
    http://www.parallax.com/Downloads/Documentation/nv/v3/col/NV85-I2C_Fun_For_Every\
    one.pdf
    </A>

    Be sure to download [noparse][[/noparse]and read!] the specs for the I2C parts you choose to
    interface.

    -- Jon Williams
    -- Parallax


    In a message dated 6/3/2003 7:45:47 PM Central Standard Time,
    Chalma_Juice@y... writes:

    > I'm currently attempting to do a new project with the BS2 (would I
    > use anything else =0) ). However I will need some storage space to
    > store alot of data that the bs2 will not be able to hold. I would
    > like to have about a minimum of 64kb of non-volitile memory for
    > storage. I found a tutorial with the xicor eeprom however the
    > maximum capacity is 32k using the xicor x25640. would I be able to
    > control 2 at the same time without taking up all my i/o lines? any
    > help or working links would be appreciated. Thanks all for your time
    > and help



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-04 07:33
    Hello,

    Give the Rampack B a look.

    http://www.solutions-cubed.com/Products/RAMPackB/rampack_main.htm

    You can replace the 8 KB chip it comes with with a DS1230 32KB nonvolatile
    SRAM (Jameco#: 114323). If you want 64KB you will need 2 Rampacks. Each
    Rampack will need 1 wire to communicate with the stamp.

    I have been able to interface a BS2p to a SRAM using I2C IO expanders, but
    it is slow. I am trying out some other ideas that I hope will speed it up
    though. But for "plug-n-play" with any stamp I don't think you can beat
    the Rampack.

    Chuck Chargin Jr.

    At 12:42 AM 6/4/2003 +0000, you wrote:
    >I'm currently attempting to do a new project with the BS2 (would I
    >use anything else =0) ). However I will need some storage space to
    >store alot of data that the bs2 will not be able to hold. I would
    >like to have about a minimum of 64kb of non-volitile memory for
    >storage. I found a tutorial with the xicor eeprom however the
    >maximum capacity is 32k using the xicor x25640. would I be able to
    >control 2 at the same time without taking up all my i/o lines? any
    >help or working links would be appreciated. Thanks all for your time
    >and help
    >
    >
    >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 2003-06-04 08:24
    The AT25640 only stores 8k bytes per chip. Better is the AT25256
    with 4 times as much, 32k bytes in the same 8-pin package. The
    access code is practically identical. It takes two chips and at most
    5 BS2 lines to access 64 kbytes. SPI memory like this going to be
    faster than I2C, unless you have a BS2p, which has the I2C commands
    built in.

    I use AT45DB041 dataflash, which has 256 kbytes in one 8-pin chip.
    It is trickier, though, from the hardware and firmware support angles.

    -- Tracy


    >I'm currently attempting to do a new project with the BS2 (would I
    >use anything else =0) ). However I will need some storage space to
    >store alot of data that the bs2 will not be able to hold. I would
    >like to have about a minimum of 64kb of non-volitile memory for
    >storage. I found a tutorial with the xicor eeprom however the
    >maximum capacity is 32k using the xicor x25640. would I be able to
    >control 2 at the same time without taking up all my i/o lines? any
    >help or working links would be appreciated. Thanks all for your time
    >and help
Sign In or Register to comment.