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

Hex utility, when splitting a section as required by the bootloader, ignores the section alignment for the second part of the split

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-8471
    • Hide
      C2000_21.12.0.STS
      ARMCLANG_2.1.0.BETA1
      ARM_18.12.0.LTS
      ARMCLANG_1.3.0.LTS
      C2000_21.6.0.LTS
      ARM_20.2.0.LTS
      C2000_20.2.0.LTS
      Show
      C2000_21.12.0.STS ARMCLANG_2.1.0.BETA1 ARM_18.12.0.LTS ARMCLANG_1.3.0.LTS C2000_21.6.0.LTS ARM_20.2.0.LTS C2000_20.2.0.LTS
    • Hide
      C2000_20.2.7.LTS*
      C2000_21.6.1.LTS*
      C2000_22.6.0.LTS
      ARMCLANG_1.3.2.LTS*
      ARMCLANG_2.1.1.LTS*
      ARM_18.12.9.LTS*
      ARM_20.2.7.LTS*
      Show
      C2000_20.2.7.LTS* C2000_21.6.1.LTS* C2000_22.6.0.LTS ARMCLANG_1.3.2.LTS* ARMCLANG_2.1.1.LTS* ARM_18.12.9.LTS* ARM_20.2.7.LTS*
    • default
    • Hide
      Determine which sections exceed the length limit of 0xfffe words. Then apply LINKER command file section splitting to those sections so the hex utility does not see a section longer than 0xfffe words. For an example, see https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/964813/3571661#3571661
      Show
      Determine which sections exceed the length limit of 0xfffe words. Then apply LINKER command file section splitting to those sections so the hex utility does not see a section longer than 0xfffe words. For an example, see https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/964813/3571661#3571661

      The option --boot tells the hex utility all the initialized sections are to be laid out as required by the on-chip bootloader.  This bootloader cannot handle any section which is larger than 0xfffe words.  So, when this occurs, the hex utility splits the section up, and starts another bootload-style record for the next part of the split.  When this happens, the hex utility fails to check the alignment requirements of the section to make sure the the starting address of the second record meets that alignment.  

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: