This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I Validate the code memory at run time?

Hai all,
I am working on saftey critical application,so my requirement is to validate the code memory at run time.. Is there any method to validate the code during runtime...calculating check sum at runtime and verifying is possible and effective ??...

Parents
  • I am doing POST(Power on self test) and Self checks
    (these are done periodically ie every cycle)..In self checks one of my check is to validate code memory in segmets that is if my code size is 8kb(say)..in first cycle of execution I should do check sum for 4k and second cycle next 4k..and like that...But whether it is safe????The checks are done in each cycle if I do check sum as a whole it takes more time...Whether calculating check sum for each cycle is necessary???
    And also give me some more tips what are things to be done in POST and self checks....

    some of the tests in done self checks are:
    Data loop test.
    External Ram checking..
    card signature check...
    code memory checking...
    EEPROM checking...
    and some under discussion...
    kindly give me suggestion if any thing Important to be done during self checks...

Reply
  • I am doing POST(Power on self test) and Self checks
    (these are done periodically ie every cycle)..In self checks one of my check is to validate code memory in segmets that is if my code size is 8kb(say)..in first cycle of execution I should do check sum for 4k and second cycle next 4k..and like that...But whether it is safe????The checks are done in each cycle if I do check sum as a whole it takes more time...Whether calculating check sum for each cycle is necessary???
    And also give me some more tips what are things to be done in POST and self checks....

    some of the tests in done self checks are:
    Data loop test.
    External Ram checking..
    card signature check...
    code memory checking...
    EEPROM checking...
    and some under discussion...
    kindly give me suggestion if any thing Important to be done during self checks...

Children
No data