PDA

View Full Version : EEPROM validation failing



Delus
06-04-2010, 10: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.

Thanks,
David

Leon
06-04-2010, 10:07 PM
Schematic?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM

Kye
06-04-2010, 10:16 PM
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.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

Delus
06-04-2010, 10: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?

David

Attached is a jpg of the schematic.

Kye
06-04-2010, 10:56 PM
Yeah, that would be a good idea. The problem mostlikely comes from a write timeout not being heeded in the bootloader.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

Delus
06-04-2010, 10:59 PM
Sounds good, I'll probably try that tonight then.

David Carrier
06-05-2010, 01:19 AM
David,
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

Delus
06-05-2010, 02: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,
David

Peter Jakacki
06-05-2010, 06: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

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*