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
More questions in this forum