Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp DATA directive and STORE — Parallax Forums

Basic Stamp DATA directive and STORE

RocketeerRocketeer Posts: 3
edited 2010-03-17 22:10 in BASIC Stamp
The DATA directive can reserve space for Write commands or can place data in EEPROM locations, right?·
The READ and WRITE commands are effected by the STORE command, so is the DATA directive effected by STORE?·

Related question:· Does the Memory map displayed· show the EEPROM for the bank that you are in, or?
I have a STORE 0 command in all 6 programs loaded in banks 0 through 5, yet the Memory Map shows that memory as allocated no matter what bank you are viewing.

Comments

  • bill190bill190 Posts: 769
    edited 2010-03-17 22:10
    The memory map just displays what memory will be used by the program, but does not display the actual memory in the EEPROM.

    I just have the "What is a Microcontroller?" board which has just one EEPROM memory slot. And at the following link are some little programs which will display the EEPROM contents for that board.

    I should think you could add a line or two at the top to dump a specific EEPROM slot for other stamp boards which have multiple memory slots?

    Note these programs take up a bit of space at the very bottom (top so far as the numbering goes) of memory.

    My last post at the following link (dated 2/28/2010 ) has two programs which dump memory just like memory map. One in hex and the other in ascii. However because it is more fancy, it also takes up more memory than the dump programs above that.

    Also be aware that the EEPROM keeps *everything*, so there will probably be a lot of garbage left over from other programs.

    Anyway here is that link...

    http://forums.parallax.com/showthread.php?p=884314
Sign In or Register to comment.