Shop OBEX P1 Docs P2 Docs Learn Events
RAM and EEPROM tester for Javelin? — Parallax Forums

RAM and EEPROM tester for Javelin?

GregSGregS Posts: 15
edited 2009-09-04 16:16 in General Discussion
Has anyone written a memory (self)test for the Javelin?· Maybe using .freeMemory and writing 0xAA/0x55/0x00/0xFF and then reading back.· Is it worth the effort? (living here in the remote 3rd world makes it difficult to pick up a new chip at short notice!).

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2009-09-04 16:12
    The standard EEPROM.java class will not allow you to write
    to eeprom addresses that are used for the javelin program.

    You can copy the EEPROM class and rename it, then remove
    that limit. Better not forget to reprogram the javelin afterwards
    with a 'normal' program, otherwise the javelin writes to the
    eeprom everytime it restarts.

    regards peter
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2009-09-04 16:16
    Sorry,

    I thought you were talking about the eeprom.
    You can only test the ram occupied by variables, but not via addresses.
    Allocate one large array of char and test every char of that array.

    regards peter
Sign In or Register to comment.