Shop OBEX P1 Docs P2 Docs Learn Events
eeprom problems — Parallax Forums

eeprom problems

OtmarOtmar Posts: 7
edited 2008-12-08 07:09 in Propeller 1
Hello all,

i have a problem with the NS_eeprom_drv.010 located on the Hydra CD.
The driver does not work correctly then i write more than 2^15 bytes (32768 bytes) to the eeprom.
I dont know if the read or the write function is not working.
Is their maybe a newer version of the driver?

I am using the Hydra-Board withe the AT24C1024 eeprom.

Thanks

Comments

  • AndreLAndreL Posts: 1,004
    edited 2008-12-07 01:21
    Hmm, I would read the driver's docs carefully, but there are addressing issues you have to handle properly, otherwise, it rolls over. It's been a while since I played with it, but give Rich Benson's "HAM" tool a try, it works with the 128K eeprom and I think uses our driver as well, see if that works fine, then you can go from there. The HAM driver tools are on this site, and sourceforge.

    Andre'
  • OtmarOtmar Posts: 7
    edited 2008-12-08 07:09
    Problem is solved!

    In version 1.0 of the eeprom driver is a bug.
    One constant is wrong : addr_msb_mask long 1<<17 should be addr_msb_mask long 1<<16 then everything works fine.

    In version 1.1 the bug is solved. I found the version 1.1 in the package of the "HAM tool".

    Thanks for your help
Sign In or Register to comment.