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.

TMS320F28035: Linker-generated CRC, TI.crctab, must be 4 word aligned!?

Part Number: TMS320F28035

Hi,

In a project, I added linker-generated CRC, TI.crctab, via crc_table() in the memory command file:

  CRCMEM      : origin = 0x3E8002, length = 0x0000A6

...

  .text       : { } > FLASH,          PAGE = 0, crc_table(_load_tab1, algorithm=CRC16_802_15_4)

  .TI.crctab: { } > CRCMEM  { _CRCTABLE_TI = _load_tab1;}

and found out that the memory section must be 4 word aligned.

The map file shows that with the command file settings above (CRC start at 0x3E8002), it really starts at 0x3E8004:

_load_tab1 @ 003e8004 records: 7, size/record: 8, table size: 58

Is this documented somewhere?

  • Thank you for notifying us of this issue.  I can reproduce the same behavior.  I cannot explain why 4-word alignment is necessary.  So I filed EXT_EP-11209 to have it investigated.  You are welcome to follow it with that link.

    Thanks and regards,

    -George