Shop OBEX P1 Docs P2 Docs Learn Events
Extra memory with a 24LC512? — Parallax Forums

Extra memory with a 24LC512?

Alex MackinnonAlex Mackinnon Posts: 25
edited 2007-04-06 12:42 in Propeller 1
I'm curious... is it possible to use a 24LC512 in place of the 24LC256 for the boot-time programme and an extra 32K of storage for programme use?

Does the Propeller check the chip version or is it happy with any serial EEPROM connected?

Has anyone tried it?

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2007-04-06 10:32
    The device address and access method are the same for the 256 and the 512, as it also is with many others. The Propeller tool will overwrite the first 32K when loading to eeprom but does not worry about anything after that. There is no "chip version" to check, it either has an eeprom at $A0 device address that has a valid boot image or it does not.

    *Peter*
  • Alex MackinnonAlex Mackinnon Posts: 25
    edited 2007-04-06 11:10
    Cool. What I wanted and expected then [noparse]:)[/noparse] It should also work with a 24LC1025 if 32k extra storage is not enough [noparse]:)[/noparse])

    BTW from you comment 'a valid boot image' can I assume that the image in EEPROM is checksummed/hashed/whatever to guard against executing a corrupted or invalid image? I don't see anything about that in the data I have downloaded.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-06 11:46
    There is a simple 8-bit checksum at location $05. Essentially, if you add up all the bytes in the initial RAM load from the Propeller Tool, the least significant byte should come out to zero. There's no checking when the EEPROM is loaded into RAM.
  • NewzedNewzed Posts: 2,503
    edited 2007-04-06 11:50
    Alex, I am using a 24LC512 in the Prop piggyback.· I start storing at 33000 - $80E8 - and it is working beautifully.· The Prop does not "see" anything above 32K so when I reload the program it has no effect on my storage area.· I'm storing the current address at 63000 - $F618 - which gives me 30,000 bytes of storage.· So far, that is more than enough.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    ·
  • Alex MackinnonAlex Mackinnon Posts: 25
    edited 2007-04-06 12:42
    I can't wait for the chips to arrive so I can give it a go!
Sign In or Register to comment.