View Full Version : EEPROM validation failing
06-04-2010, 09:05 PM
Hello all, I'm curious to know if anyone else has run it to this problem before and what the cause/solution was. I've just finished putting together aboard I designed using a propeller and 64k eeprom. Everything works perfectly INCLUDING THE EEPROM when I use the romengine from the object exchange, but when I try to program the eeprom with the propeller tool I get a eeprom validation error. The eeprom chip we're using is from digikey pn: 24LC64F-I/ST-ND. Any and all help would be appreciated.
Amateur radio callsign: G1HSM
It could be that the propeller boot loader does not acess the eeprom correctly (the bootloader does the eeprom verification).
The ROM engine probably acesses the eeprom more correctly.
06-04-2010, 09:52 PM
I haven't started on this yet but would I be wasting my time writing my own app to write the binary file to eeprom to see if the boot loader will read it on startup?
Attached is a jpg of the schematic.
Yeah, that would be a good idea. The problem mostlikely comes from a write timeout not being heeded in the bootloader.
06-04-2010, 09:59 PM
Sounds good, I'll probably try that tonight then.
06-05-2010, 12:19 AM
The Propeller programs and verifies 32 kilobytes, or 256 kilobits, of EEPROM whenever it loads a program, no matter the size of the program. With your 8 kilobyte EEPROM, it will try to write and verify 32 kilobytes, and fail. I haven't tried it, but I think the Propeller could still boot from a smaller EEPROM, but you would have to manually load the program into the EEPROM.
— David Carrier
06-05-2010, 01:56 AM
WOW...That's a first... we will need more than 8K i can't believe I did that.
Thanks for your help, off to order the right memory,
06-05-2010, 05:26 AM
That's funny, I just started reading this thread and saw 64k eeprom and 24LC64.....uh oh, that's not right. But what happens? Leon skips the question and gives the hardware answer (no XMOS?) whereas Kye skips the question too but immediately delves into a software answer. LOL. (I must be in a ribbing mood this morning but you got me smiling)
See, we are just so eager to answer questions on this forum that we haven't got time to read them through http://forums.parallax.com/images/smilies/smile.gif
Maybe we should have a section where we can post answers to questions that have yet to be asked http://forums.parallax.com/images/smilies/rolleyes.gif