Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM checking — Parallax Forums

EEPROM checking

ArchiverArchiver Posts: 46,084
edited 2001-05-15 06:14 in General Discussion
Hi all,

dose anyone know of a way a BS2 can check it's EEPROM before it starts it's program? What I mean by check it's EEPROM is to see if there are any errors·or any bad program slots.

thanks,
TC

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-05-15 06:14
    >Hi all,
    >dose anyone know of a way a BS2 can check it's EEPROM before it
    >starts it's program? What I mean by check it's EEPROM is to see if
    >there are any errors or any bad program slots.
    >thanks,
    >TC

    You could READ the individual bytes from 0 to 2047 and calculated a
    checksum or CRC. Since you mention program slots, maybe you also
    want to do that on a BS2sx, BS2e or BS2p. It is easy to extend the
    checksum to all banks on the BS2p, because you can access the entire
    eeprom memory through use of the STORE command. On the BS2sx or
    BS2e, you will have to load a small program into each bank to check
    the eeprom memory for that bank.

    -- regards,
    Tracy Allen
    electronically monitored ecosystems
    mailto:tracy@e...
    http://www.emesystems.com
Sign In or Register to comment.