Shop OBEX P1 Docs P2 Docs Learn Events
scared of memory lifetime — Parallax Forums

scared of memory lifetime

SkankPileSkankPile Posts: 15
edited 2005-01-26 21:02 in General Discussion
I know you can write to the memory on the order of 1million times.

My issue is that I'm using lots of for loops in my logic and I'm scared it will cause my javelin to prematurely die..

Is this a valid concern?

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-01-19 19:11
    The program runs out of RAM -- the only thing you have to be concerned with is the number of times you actually write to the EEPROM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-01-26 21:02
    Yes, the Javelin has 32K of RAM, and 32K of EEPROM. The EEPROM is only written to when you program it. When you start up the Javelin (power-on) the EEPROM is copied to RAM, and the program is then run out of RAM. So you only really have 32K to work with. This also means you could re-program the Javelin for years before ruining the EEPROM.

    Of course, any other small module this size has nowhere NEAR 32K, so this is not much of a limitation.
Sign In or Register to comment.