Shop OBEX P1 Docs P2 Docs Learn Events
Can a Javelin Reprogram Itself? — Parallax Forums

Can a Javelin Reprogram Itself?

ZaggyZaggy Posts: 10
edited 2005-02-24 06:57 in General Discussion
I am getting to a point in my development effort, where I am getting low on memory. I would like to put all my diagnostic code into an EEPROM and have the Javelin load it and then revert back to main program. Is this possible?


Joe

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-02-24 06:57
    You cannot have javelin reprogram itself.

    You can offload debug text (normally of type String)

    to an eeprom using an other program than your application.

    The application program than just reads the text from eeprom.

    The eeprom layout could be like

    word Number of messages

    word msg1

    ...

    word msgN

    msg1: byte "this is text1"



    You would need to write a program that fills up the eeprom

    specific to your application.

    Remember to reserve enough bytes in the eeprom for runtime

    text alteration if you allow that.



    regards peter
Sign In or Register to comment.