Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM validation failing — Parallax Forums

EEPROM validation failing

DelusDelus Posts: 79
edited 2010-06-04 22:26 in Propeller 1
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

Comments

  • LeonLeon Posts: 7,620
    edited 2010-06-04 14:07
    Schematic?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • KyeKye Posts: 2,200
    edited 2010-06-04 14:16
    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,
  • DelusDelus Posts: 79
    edited 2010-06-04 14:52
    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.
    940 x 586 - 213K
    sch1.jpg 212.9K
  • KyeKye Posts: 2,200
    edited 2010-06-04 14:56
    Yeah, that would be a good idea. The problem mostlikely comes from a write timeout not being heeded in the bootloader.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • DelusDelus Posts: 79
    edited 2010-06-04 14:59
    Sounds good, I'll probably try that tonight then.
  • David CarrierDavid Carrier Posts: 294
    edited 2010-06-04 17:19
    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
  • DelusDelus Posts: 79
    edited 2010-06-04 18:56
    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 JakackiPeter Jakacki Posts: 10,193
    edited 2010-06-04 22:26
    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 smile.gif
    Maybe we should have a section where we can post answers to questions that have yet to be asked rolleyes.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
Sign In or Register to comment.