Shop OBEX P1 Docs P2 Docs Learn Events
.binary vs .eeprom format — Parallax Forums

.binary vs .eeprom format

RossHRossH Posts: 5,511
edited 2009-05-22 09:06 in Propeller 1
Hi all,

I have searched the forums, but not been able to find a definition of the .binary file format.

I presume .eeprom is a simple byte-for-byte image, and that the .binary is essentially the same but with any zero bytes at the end removed - but since I'm not at my own computer at the moment, I can't check.

Or perhaps someone has already written a converter program for converting a .binary to a .eeprom and vice versa?

Thanks,

Ross.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina

Comments

  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2009-05-22 07:01
    Yep, a .binary is just a .eeprom without all the extra zeros. Can't remember if it includes the var area or not though. It would be easy to transfer between the two. All you would need to do is to read the header and then add or remove zeros depending on which way you wanted to go.
  • BradCBradC Posts: 2,601
    edited 2009-05-22 07:31
    stevenmess2004 said...
    Can't remember if it includes the var area or not though.

    No it does not.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "VOOM"?!? Mate, this bird wouldn't "voom" if you put four million volts through it! 'E's bleedin' demised!
  • RossHRossH Posts: 5,511
    edited 2009-05-22 09:06
    Thanks guys.

    Ross.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Catalina - a FREE C compiler for the Propeller - see Catalina
Sign In or Register to comment.