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

Printing using AppUtils_Printf generates unexpected o/p in multitasking environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • MCAL
    • MCAL-5108
    • Hide
      PROCESSOR-CORESDK_07.00.00
      PROCESSOR-CORESDK-SAFETY_07.00.00
      Show
      PROCESSOR-CORESDK_07.00.00 PROCESSOR-CORESDK-SAFETY_07.00.00
    • Hide
      MCUSW_J7_01.03.04
      PROCESSOR-CORESDK_08.01.00
      Show
      MCUSW_J7_01.03.04 PROCESSOR-CORESDK_08.01.00
    • Hide
      am654x-evm
      j721e-evm
      Show
      am654x-evm j721e-evm

      See https://e2e.ti.com/support/tools/ccs/f/81/t/952905 for more details.

      Below patch resolves the issue:
      diff --git a/mcal_drv/mcal/examples/utils/src/app_utils.c b/mcal_drv/mcal/examples/utils/src/app_utils.c
      index d084dd7..618a617 100755
      — a/mcal_drv/mcal/examples/utils/src/app_utils.c
      +++ b/mcal_drv/mcal/examples/utils/src/app_utils.c
      @@ -429,7 +429,7 @@ void AppUtils_LogResult (uint32 testResult)
      */
      void AppUtils_Printf (uint32 type,const char *pcString, ...)
      {

      • static char printBuffer[APP_UTILS_PRINT_MAX_STRING_SIZE];
        + char printBuffer[APP_UTILS_PRINT_MAX_STRING_SIZE];
        va_list arguments;

      /* Start the varargs processing. */

      Please take this as a reference.

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

              Created:
              Updated:
              Resolved: