Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM Full on BS2pe — Parallax Forums

EEPROM Full on BS2pe

ToolsTools Posts: 6
edited 2008-05-08 03:01 in BASIC Stamp
I have been using a BS2 for a while now and my programs keep getting larger. So decided to get a bigger stamp. I chose to use the BS2pe, and when I try to load my code it says that the EEPROM is too small (my code is only 500 lines) I was under the impression that this chip had 16 times the space in the EEPORM from the BS2. For clarity I am using the board of education, and I did put the correct directives at the top of the code, BS2pe as well as the PBasic version 2.5. Any ideas what is going on?

Thanks for your time.

Post Edited (Tools) : 5/8/2008 3:04:29 AM GMT

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-05-08 02:58
    Yep.· This comes up a lot.· There is more memory, it's just not "contiguous."· You have to use it as slots, banks.· Check out the documentation.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-05-08 03:01
    The BS2pe does have 16 times the EEPROM space, but half of it is usable only for storing data. The BS2pe makes a good data logger for that reason. Of the half that can be used for programming, you're still limited to 2K per program, but the EEPROM can store up to 8 programs. There's limited capability for a program in one "slot" (as it's called) to RUN a program in another slot and to share variables. All of the Stamps with extra EEPROM work this way. Look at the chapters in the manual on the RUN / STORE / READ / WRITE / DATA statements. There's also a document on programming tips for multi-slot programs. I don't have the link handy.
Sign In or Register to comment.