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.

TMS320F28386D: ccs-computed CRC on flash for CM4

Part Number: TMS320F28386D


Tool/software:

Hi all,

the 386D has 2 c2000 and one CM4 core inside.

For the C2000, the linker command file (.cmd) allow to generate (and put in flash at link time) a tool-generated CRC (selecting form several crc types) over a SECTION or MEMORY groups.

For my application it's useful to generate the CRC over the entire MEMORY areas used for the application program, this way my custom bootloader code can easily checks.

For the CM4, instead, on the ARM assembly tools manual I find only the description on how to specify the CRC range over SECTIONS, not MEMORY.

If I've well undestood, there is no way to tell the linker to compute the CRC for the whole contents of, let's say, [0x0021'0000 .. 0x0026'FFFF] flash memory range of the CM4 core.

Any comment?

thank you

Alberto

  • If you use the TI Arm compiler (short name armcl), then CRC over memory ranges is not supported.  

    If it is practical for you to change over to the TI Arm Clang compiler (short name tiarmclang), then CRC over memory ranges is supported.

    Thanks and regards,

    -George