In the related thread(https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/610510/2248352?pi318617=2&keyMatch=how%20marginal%20read&tisearch=Search-EN-Everything), the TI Employee, Caleb Overbay reconmmended to calculate a CRC of the application image to verify the flash code integrity. Based on his suggestions , I want to calculate the CRC periodically during long term operation of the system. Where should I place the CRC calculation code? If I load the CRC calculation code into some flash regions different the applicaiton image, how can I guarantee the integrity of the CRC calculation code itself?
Thanks !