Issue while creating multiple task with rpmsg task in M core - IMX8ULPEVK9

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue while creating multiple task with rpmsg task in M core - IMX8ULPEVK9

13 Views
dhruvinrajpura
Contributor II

I am using imx8ulp-evk9 and in the M core I had taken rpmsg sample code as a base code and on that I am building my app

But when I create more than 3 task rpmsg is giving me error at below place

result = rpmsg_queue_recv_nocopy(rpmsgConfig->my_rpmsg, my_queue, (uint32_t *)&rpmsgConfig->remote_addr, (char **)&rx_buf, &len, RL_BLOCK);
        PRINTF("result : %d, len : %d\r\n", result, len);
        if (result != 0)
        {
            assert(false);
        }

 

I am getting assert error and garbage value in result, but when I am not starting rpmsg task I can create more than 10 task,

Can anyone explain what I can do to resolve this assert error when creating multiple tasks?

0 Kudos
Reply
0 Replies