This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069F: How can I extract the size of the .text section in my code to run a flash CRC check?

Part Number: TMS320F28069F


Tool/software:

Hello,

As the title suggests I want to run a Flash CRC check over a flash memory section. The idea is that my program would loop over the Flash memory and compute a CRC check.

But since the flash memory size is not fixed, this makes it challenging. I've looked at the .map file and it appears the flash size is contained within the .text section.

Is there any way I can extract that number? Or is it possible to keep the flash size constant, so that any unused memory is filled with 0s?

Thanks.