add memory
jean
Posts: 21
Hi,
I have a BS2-pe microcontroller that I use to log data. Since my program is large it takes up a lot of space from the EEPROM. I want to add more memory to store data. What kind of module should I add to my project?
Thank you
I have a BS2-pe microcontroller that I use to log data. Since my program is large it takes up a lot of space from the EEPROM. I want to add more memory to store data. What kind of module should I add to my project?
Thank you
Comments
·· The BASIC Stamp has multiple slots of program memory.· Are you using all of these?· On top of the program memory there are 8 additional banks dedicated to data storage.· These should normally be available.· Are you using these?· In all there should be sixteen (16) 2K slots, 8 of which can be used for program/data and 8 which could be used for data.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Do I use the WRITE and READ commands like the EEPROM?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
The BS-2pe has 2K x 8 bytes of program space (8 banks) and an additional 16K of data space. Are you sure you're using it correctly?
If you're using the memory map facility to determine how much space you've used, DON'T! That will only show you one bank at a time. The TOTAL program space being used would be the SUM of all the program used in EACH memory bank.
Here are some applications notes on the use of the BS-2pe, thanks to Dr. Tracy Allen:
http://www.emesystems.com/BS2pe.htm
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I guess I should leave bank 0 for my program(avoid overwriting) and use bank 1-15 for logging.
Thanks for the information