This example demonstrates how to use ICM driver to check integrity of internal SRAM.
This software is written for GNU GCC and IAR Embedded Workbench for Atmel. Other compilers may or may not work.
All SAM devices with a ICM can be used.
After an initialization phase, the ICM will compute memory region0 and region1 hash value and write back to hash area. Next set the region monitoring mode to compare mode and modify memory region0 and region1 value, then the mismatch interrupt will be generated.
For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/