Shop OBEX P1 Docs P2 Docs Learn Events
Increase EEPROM — Parallax Forums

Increase EEPROM

eflyefly Posts: 34
edited 2008-02-16 18:55 in BASIC Stamp
Hi all,
·
Besides·add in·Basic Stamp 2px module (16 x 2k Byte), is that any other way to increase/extend the EEPROM such as add other circuit chip into Basic Stamp 2 module?
·
Many Thanks!·yeah.gif··

Efly.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-02-15 18:29
    No

    The BS2px has 16K of program memory divided up into 8 separate 2K byte "slots". You can have separate programs in each "slot" and the main program can run programs in other "slot"s, but there's no real subroutine call, so there's limited ability to go back and forth between "slot"s. They can be used for storage of data subject to EEPROM's write limitations. There is no way to add program storage. You can attach EEPROMs to certain I/O pins and use I2C I/O statements to read and write data in those EEPROMs.

    Theoretically, you could copy a 2K program from external data storage to one of the "slot"s, then execute it, but EEPROM writing is very slow. It would take several seconds to copy a 2K program into EEPROM for execution.
  • eflyefly Posts: 34
    edited 2008-02-16 03:21
    Thanks Mike!

    May I know any recomended excternal EEPROM which is capable to use for Basic Stamp?

    Regards,

    Efly. wink.gif
  • Mike GreenMike Green Posts: 23,101
    edited 2008-02-16 04:06
    Any I2C EEPROM can be used. Many companies make them. Microchip and Atmel are two major suppliers of larger EEPROMs (like 64K and 128K bytes). Look at their datasheets for details. There are Nuts and Volts columns downloadable from Parallax's website that show examples of their use. See www.parallax.com/Resources/NutsVoltsColumns/tabid/272/Default.aspx for a list of columns.
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-02-16 18:55
    Also, SPI based eeproms work well.
Sign In or Register to comment.