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.

TDA4VM: enet dma can't receive data when running ipc_rtos_echo_test and enet_lwip_example two demo

Genius 13655 points
Part Number: TDA4VM

Hello Champs,

SW: pdk_jacinto_08_06_01_03

Customer modified the enet_lwip_example and ipc_rtos_echo_test demo as below 

static void taskFxn(void *a0, void *a1)
{
/* Initialize SCI Client - It must be called before board init */
ipc_initSciclient();

ipc_boardInit();

Ipc_echo_test();

EnetApp_appInitTask();
}


EnetApp_appInitTask() is the task of enet_lwip_example,taskFxn is the task of ipc_rtos_echo_test,ipc_rtos_echo_test main is the entry point, delete the main function of enet_lwip_example,mpu configuration is from ipc_rtos_echo_test. 


Then run the two examples on mcu2_0 and enet_lwip_example on mcu2_1. When mcu2_0 doesn't receive the ipc message from mcu2_1, the lwip and ipc code can run successfully. But when mcu2_0 received the ipc message from mcu2_1, Iwip can't work. 

Customer found the reason was that the DMA can't receive data. How to resolve the problem?


Thanks
Regards
Shine

  • Hi,

    Then run the two examples on mcu2_0 and enet_lwip_example on mcu2_1.

    It means you are running lwip example on MCU2_0 and MCU2_1? It is not tested out of box SDK.
    MCU2_0 lwip example runs for CPSW9G where as MCU2_1 lwip example runs for CPSW2G.

    When mcu2_0 doesn't receive the ipc message from mcu2_1, the lwip and ipc code can run successfully. But when mcu2_0 received the ipc message from mcu2_1, Iwip can't work.

    As per above you are running lwip example on MCU2_1, It may not have IPC communication with MCU2_0 but how IPC message received to MCU2_0 from MCU2_1.

    Also, can you please confirm any modifications made on either of ipc_echo_test and lwip example?
    If no then IPC echo test and lwip were independent you should not see any issue until ipc echo task blocking lwip task.

    Best Regards,
    Sudheer