Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM Question : BS2 vs. BS2e ?? — Parallax Forums

EEPROM Question : BS2 vs. BS2e ??

eflyefly Posts: 34
edited 2008-05-22 00:52 in BASIC Stamp
Dear all,
·
I was just purchased BS2e module yesterday, the reason I bought the BS2e is I think that the EEPROM (Program) Size will be “8” times from BS2 module, however, when I was execute same basic program I saw the either EEPROM Map nothing change at all, did someone know what is the reason?
·
Rgd,
Efly
885 x 491 - 144K
500 x 301 - 48K

Comments

  • eflyefly Posts: 34
    edited 2008-05-21 13:25
    Oh , second image (Memory Map) is what I donwload from net, I am actually using Basic Stamp 2e.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-05-21 13:47
    It doesn't matter. All Stamps have a limit of 2K for any one program. The difference is that the Stamps with a larger EEPROM allow for more than one program to be stored and the additional space can be used for storing data keeping in mind the limitations of EEPROM (writing speed and durability). The other programs ("slots") work sort of like overlays where variables can be shared, but there's no "return address" kept, so a "slot" always starts from the beginning although you can write your program to have "restart points".
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-05-21 14:05
    Look up the "RUN" command in the help for more details about multi-slot programming.
  • ercoerco Posts: 20,259
    edited 2008-05-21 15:40
    I keep this link on speed dial for this forum.

    http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv71.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • jmalaysiajmalaysia Posts: 97
    edited 2008-05-22 00:52
    It might help to think of a BS2e as 8 individual BS2's. You can link them all together, but as Mike said, when you jump from one slot to another the code executes from the beginning of the new slot, meaning it takes some fairly organized programming if you need to run a program that involves more than one slot.
Sign In or Register to comment.