Shop OBEX P1 Docs P2 Docs Learn Events
How to get more memory? — Parallax Forums

How to get more memory?

radialrandyradialrandy Posts: 78
edited 2011-03-13 00:04 in Propeller 1
Ok Ive got a program all in spin. I use alot of varibles for the program and also alot of varibles used for data logging. Im running out of memory now. What do i need to look at to be able to maybe save my datalogging varibles in another eeprom chip. if I do this can i save and recover from this eeprom using varible names like I can in spin?

Comments

  • radialrandyradialrandy Posts: 78
    edited 2011-03-11 09:32
    How difficult would it be to save my datalogging stuff to a sd card?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-03-11 10:08
    Perhaps this will help: http://www.gadgetgangster.com/tutorials/331
    It is at least part of the answer you'll need.

    OBC
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-03-11 10:14
    Depending on the board you have, you might have a 64kilobyte EEPROM installed. You can use the upper 32kilobytes for data storage, but if you need more than than kilobytes, than you might consider a SD card... You also have to remember that these forms of storage are non-volatile, but they have a limited amount of write cycles. Are you going to be writing to it a lot?
  • RS_JimRS_Jim Posts: 1,768
    edited 2011-03-12 06:38
    Randy,
    Prop C3 has 2 32K X 8 ram chips. Is that enough memory?
    RS_Jim
  • WBA ConsultingWBA Consulting Posts: 2,935
    edited 2011-03-12 22:05
    Have you taken a look at Brandon Nimon's Memory Storage Management object? That may help you make easy use of EEPROM space for your variables.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2011-03-13 00:04
    There are several SD card drivers around - self contained and use a cog. 4 pins from the propeller, a few 10k pull up resistors, add a 33uF tantalum and a 0.1uF right at the SD card power supply pins, and you have 2 gigabytes of storage for $10. Plus, no 'uploading' and 'downloading' problems as you can save the data as a text file, then pop it in the PC (or use $2 USB sd card reader) to read the data.
Sign In or Register to comment.