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.

TMDS64EVM: AM6442: Error when running mcu plus sdk examples

Part Number: TMDS64EVM

CCS version is 20.4.1, mcu plus SDK version is 11.02.00.24

I tried to run uart_echo_dma_multi_instance\am64x-evm\r5fss0-0_freertos on TMDS64EVM with CCS debug.

The example program print error message in CIO: "MAIN_Cortex_R5_0_0: ASSERT: 0.4568s: FreeRTOS-Kernel/queue.c:xQueueSemaphoreTake:1670: (uint32_t)(pxQueue->uxItemSize == 0) failed !!!"

The call stack shows the error is in semaphore in DMA handler.

So I tried another DMA example udma_memcpy_polling\am64x-evm\r5fss0-0_freertos, when I click run, no output from CIO and when I pause, the program loops in vector table.

1072b551-53f7-4e99-8ab9-a90e73fcad67.png

Please help me with it.

Thanks.

  • Hi, 

    I tried this at my end, both of these are working for me. I initialized the SoC using SBL NULL and just loaded the .out from CCS, here is the output:

    [UDMA] Memcpy application started ...
    All tests have passed!!
    
    This is uart echo test DMA blocking mode
    Receives 8 characters then echo's back. Please input..
    12345678

    Could you let me know if you have made any changes to the example or you are facing this issue with the out of the box SDK?

    Please provide more details on your process to run these examples and how you are initializing the SoC. If you are using CCS to reset the Core to load the next example, you should use system reset instead of cpu reset.

    Best Regards,

    Meet.

  • Hi,

    My EVM works fine now. I run the default_sbl_null.cfg and run the example.

    Thanks,

    Yifei