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

FreeRTOS: OS APIs may enable interrupts in critical sections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • PDK
    • PDK-11014
    • PROCESSOR_SDK_08.00.00
    • PROCESSOR_SDK_08.01.00
    • Hide
      am65xx-evm
      j721e-evm
      j7200-evm
      Show
      am65xx-evm j721e-evm j7200-evm

      FreeRTOS: OS APIs may re-enable interrupts in critical sections

      • osal_freertos used HwiP_nonos.c implementation for which
        HwiP_disable and HwiP_restore uses CSL APIs to
        disable/enable interrupts.
        The same also returns cookie/key to restore interrupt to old state
      • FreeRTOS portable layer handles critical sections using
        vPortEnterCritical & vPortExitCritical and keeps track of
        critical nesting count
      • Hence usage of both OSAL APIs and FreeRTOS portable layer functions together
        will result in wrong behavior related to critical nesting count

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

              Created:
              Updated:
              Resolved: