Part Number: LAUNCHXL-F280039C
First, I'm new to the C2000 products and CCS. I'm exploring options for build-generated CRC value over the flash memory and I'd like to get some feedback.
I've read through many questions and guides for similar behavior with different MCUs with different memory layouts and functionality. I've found examples with generating tables from code-defined memory regions. But I haven't found an example for creating a value across all flash memory. On this MCU flash memory range is 80000:AFFFF. Since the last row is already declared "reserved" due to execution limitations, I feel the AFFF0 row would be a great location to stuff a CRC. I'm researching if this is truly "reserved"or just unavailable for code.
I've been working from a basic example project trying to get the linker to generate a CRC using its built-in functions. The project is configured using the flash linker file, I've tried to generate CRC from the memory declaration using crc funciton and in the sections declaration using crc_table but so far the linker isn't cooperating. I've run into problems when creating a group in the memory section because the group range overlaps with the 4k flash sections defined in the file. It seems I can't declare a group just as a range reference.
Are there any good examples for how to have the linker generate a CRC over the entire flash memory on this MCU?