This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: An error occurred regarding the AM623M core creation task

Part Number: AM623

Tool/software:

I used the freertosledflash routine in the data to modify it. After creating a new task, I found that it could not be created successfully. What is the problem

  • Hello,

    I am looking at your queries and you may expect reply in one or two days .

    Regards,

    Anil.

  • Hello ,

    I need some more details to further debug the issue.

    Are you running the FreeRTOS example on M4F or DM R5F core ?

    Please explain which is the example you took from MCU+SDK and what were the changes you made on top of the MCU+SDK example to recreate this issue on my side.

    Regards,

    Anil.

  • I changed it in led_flash in freertos on the example, and all I did was add one more create task to the main function

  • Hello,

    I am not sure how you are creating the second task.

    You need to use the same API below with different function names and different stack variables.

    Try the method below and see if you still have an issue.

    The below suggestion does not work out, then next time please share your example. I can check and will provide suggestions.

        /* This task is created at highest priority, it should create more tasks and then delete itself */
        gMainTask = xTaskCreateStatic( freertos_main,   /* Pointer to the function that implements the task. */
                                      "freertos_main", /* Text name for the task.  This is to facilitate debugging only. */
                                      MAIN_TASK_SIZE,  /* Stack depth in units of StackType_t typically uint32_t on 32b CPUs */
                                      NULL,            /* We are not using the task parameter. */
                                      MAIN_TASK_PRI,   /* task priority, 0 is lowest priority, configMAX_PRIORITIES-1 is highest */
                                      gMainTaskStack,  /* pointer to stack base */
                                      &gMainTaskObj ); /* pointer to statically allocated task object memory */
        configASSERT(gMainTask != NULL);

    Regards,

    Anil.