ARMSTL mpu p000 n001 linker placement can create infinite loop

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: High
    • MSP-SAFETY-LIB
    • MSPSWSL-940
    • MSPSWSL-940
    • Hide
      MSPM0_SAFETY_LIB_0.05.00
      MSP_SAFETY_LIB_1.00.00
      MSPM0_SAFETY_LIB_0.04.02
      Show
      MSPM0_SAFETY_LIB_0.05.00 MSP_SAFETY_LIB_1.00.00 MSPM0_SAFETY_LIB_0.04.02
    • Hide
      (A2_LCD) MSPM0L222x/MSPM0L122x
      (A2_512) MSPM0G3518/MSPM0G3519/MSPM0G1518/MSPM0G1519
      (A3_CAN) MSPM0G350x/MSPM0G150x/MSPM0G310x/MSPM0G110x
      Show
      (A2_LCD) MSPM0L222x/MSPM0L122x (A2_512) MSPM0G3518/MSPM0G3519/MSPM0G1518/MSPM0G1519 (A3_CAN) MSPM0G350x/MSPM0G150x/MSPM0G310x/MSPM0G110x
    • Linker file should specifically place the mpu test that is affected aligned at 256 during placement.

      A defect was found in the running of ARM STL mechanism m0p_stl_mpu_p00_n001 if the linker placed this mechanism at any location ending in 0x48. As a result, future command files explicitly align this mechanism to 256 bits to avoid this problem, but other, smaller alignments are possible.

      Here is an example of a workaround in a ticlang linker command file:

      .text : palign(256)

      { -l ARM_STL_Library.a*(.section_m0p_stl_mpu_p000_n001) -l ARM_STL_Library.a*(.section_m0p_stl*) *(.text) }

      > FLASH

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-5619 - ARMSTL mpu p000 n001 linker placeme...
                SYNCHRONIZED
                • Last Sync Date: