Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11209

align of C28 CRC/COPY/CINIT tables is 64bits (updated to 32bits)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      The file hello.c contains a typical hello world program. The linker command file link2000.cmd has these lines ...

      	CRCMEM     : origin = 0x3e8002, length = 0x0000a6
      ...
              .text > EXT, crc_table(_load_tab1, algorithm=CRC16_802_15_4)
      	.TI.crctab > CRCMEM
      

      The CRCMEM memory range is not used otherwise. It is reasonable to expect the crc table generated for .text to start at address 0x3e8002. But it starts at the next 4-word boundary 0x3e8004. These lines are from the map file ...

      LINKER GENERATED CRC TABLES
      
      _load_tab1 @ 003e8004 records: 1, size/record: 8, table size: 10
      	.text: algorithm=CRC16_802_15_4(ID=1), page=0, load addr=00081000, size=00000ab9, CRC=0000d85c
      

      The documentation never mentions or explains why the linker performs this 4-word alignment.

            syncuser TI User
            syncuser TI User
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: