No synchronization wrt DMA between main & boot thread of the Stage2/DM application

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • SITSW-5829
    • 10.00.00
    • 11.00.00
    • am62p-sk

      The boot thread uses DMA for common memory bootloader instance. However, the DMA driver open & close in controlled in the main thread.

      This introduces synchronization issues like the Drivers_close, effectively closing DMA driver, gets executed before the boot thread is completely done with loading all the images.

      This issue came into light from supporting a recent customer debug.

      Customer reported the DMA stuck on enabling DMA in the Bootloader module of their Stage2/DM application. If the Drivers_close function is commented in the main thread then the issue doesn't come.

      The issue is reproducible locally with the attached patch on top of the clean MCU+ SDK v10.00.00.14.

      If the fix patch is applied then the issue doesn't come.

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5198 - No synchronization wrt DMA between ...
                SYNCHRONIZED
                • Last Sync Date: