Tool/software:
Hello,
I’m working on a project using the TMS320F28335 DSP and Code Composer Studio. I need to calculate a CRC over the flash memory (e.g., from 0x3D8000
to 0x3F7FF7
) and store the CRC value at the end of flash.
My goal is to:
- Calculate the CRC either during build time or runtime.
- Store the CRC at a fixed location at the end of flash.
- Verify the CRC during boot to ensure flash integrity.
I have a few questions:
- Is there a way to use the linker-generated CRC feature in CCS for a custom memory range?
- If not, what is the recommended method to calculate and store the CRC at the end of flash?
- Are there any example projects or scripts available for this use case?
Any guidance or example or suggestions would be greatly appreciated.
Thanks in advance!