Hi!
I'm looking for ways to calculate my application code's checksum at runtime. Essentially, I want to write a routine that iterates over the application code space in FLASH and generates a simple checksum.
For this purpose, I would need to know the start address of my application code (which I will have), but the number of code words or the final address of my application code will be unknown (I assume), as I will continue to make minor revisions to the firmware over time.
Is there a symbol that is generated at compile time that contains the final address of the application code in FLASH memory? Or am I missing something?
Thanks in advance.