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

LFU: DATA_SECTION attribute/pragma is ignored for lfu builds with variables also marked as attribute(update)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-11691
    • Hide
      C2000_22.6.1.LTS
      C2000_21.6.0.LTS
      Show
      C2000_22.6.1.LTS C2000_21.6.0.LTS
    • Hide
      C2000_25.3.0.LTS*
      C2000_22.6.2.LTS*
      C2000_21.6.2.LTS*
      Show
      C2000_25.3.0.LTS* C2000_22.6.2.LTS* C2000_21.6.2.LTS*
    • default
    • Hide
      For lfu builds, avoid using __attribute__((update)) on variables that have DATA_SECTION attributes/pragamas. For "warm" init, manually initialize the variables in the application code instead of using the RTS __TI_auto_init_warm routine which requires using the "update" attribute which places variables in the .TI.update section.
      Show
      For lfu builds, avoid using __attribute__((update)) on variables that have DATA_SECTION attributes/pragamas. For "warm" init, manually initialize the variables in the application code instead of using the RTS __TI_auto_init_warm routine which requires using the "update" attribute which places variables in the .TI.update section.

      If a DATA_SECTION item is marked with the "update" attribute, it ends up in .TI.update i.e. the DATA_SECTION pragma is not respected. This can lead to issues especially if applied on Memory mapped registers/peripherals. A strong warning may be issued indicating that what the user is trying to do may break their application.

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

              Created:
              Updated:
              Resolved: