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

Cortex-M register RAM and Flash periodical check?

Hi ARM,

How to check Cortex-M4 register,RAM and Flash periodically using software when the processor is running?

Best regards,

Frank

Parents
  • Hi Frank,

    Flash : Store CRC of the executable in Flash while loading. The same can be checked at runtime by re computing the CRC of the executable and compare against the CRC  that is stored in the Flash.

     RAM:keep a pattern e.g. A5A5 in two locations at startup, later at runtime compare the both copies have same value.

Reply
  • Hi Frank,

    Flash : Store CRC of the executable in Flash while loading. The same can be checked at runtime by re computing the CRC of the executable and compare against the CRC  that is stored in the Flash.

     RAM:keep a pattern e.g. A5A5 in two locations at startup, later at runtime compare the both copies have same value.

Children
No data