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.

Aplication appear edma error used dm8168 , Can you help me !!!

Other Parts Discussed in Thread: TVP7002

 my aplication used edma , always appear the follow error information, Can you help me?

error information:

edma3_memtomemcpytest_dma failed
edma3_memtomemcpytest_dma failed
*** Platform_stopCallback: Ipc_stop timeout - Ipc_stop not called by slave?
        Error [0xffffffff] at Line no: 3087 in file /media/sdb1/usr/local/ezsdk/5_05/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/ti81xx/Platform.c
dma_times = 347041
dma_times = 347044
Segmentation fault

 

 

 

 

 

  • Hi Zhigang,

    Are you using EZSDK 5.05.02.00? Are you using DM816x TI EVM or custom board? Are you using the default edma test or you made some changes?

    ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/linux-driver-examples-psp04.04.00.01/edma/

    processors.wiki.ti.com/.../TI81XX_PSP_EDMA_Driver_User_Guide

    Regards,
    Pavel
  • Hi, Pavel:

    Yes , we used the newest ezsdk 5.05.02.00(downloaded from ti website) , we used the board desiged by us similar to to TI EVM board, Our aplication is used ti edma demo in ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/linux-driver-examples-psp04.04.00.01/edma/ , the error is not appear always, we run the aplication in 48 hour, Maybe appear one time. So very hard to find the reason.

    thank you!
  • Zhigang,

    Can you try to reproduce this issue on the DM816x TI EVM?

    Can you also try with the latest version of the linux kernel code base?

    Make sure that you are removing the module by doing rmmod edma_test before doing insmod again. Also verify whether rmmod is successful. 

    Regards,
    Pavel

  • Hi, Pavel
    verify whether rmmod is successful.

    root@dm816x-evm:~# lsmod
    Module Size Used by
    cmemk 20287 0
    edma_test 2414 0
    sii9022a 5386 0
    ti81xxhdmi 17685 0
    ti81xxvin 22529 0
    gv7601 3542 2
    sii9135 3867 0
    tvp7002 8089 0
    ti81xxvo 21210 0
    ti81xxfb 21979 0
    vpss 75009 5 sii9022a,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb
    syslink 1128719 0
    ipv6 209855 12
    root@dm816x-evm:~# rmmod edma_test.ko
    ti81xx_edma: Exiting TI81XX EDMA3 Module
    root@dm816x-evm:~# insmod edma_test.ko
    root@dm816x-evm:~# lsmod
    Module Size Used by
    edma_test 2414 0
    cmemk 20287 0
    sii9022a 5386 0
    ti81xxhdmi 17685 0
    ti81xxvin 22529 0
    gv7601 3542 2
    sii9135 3867 0
    tvp7002 8089 0
    ti81xxvo 21210 0
    ti81xxfb 21979 0
    vpss 75009 5 sii9022a,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb
    syslink 1128719 0
    ipv6 209855 12
    root@dm816x-evm:~#
  • HI,Pavel:

     

       we find some bug in app , memory leak.

     

     

    Thank you very much!

  • Hi Zhigang,

    Do you mean you have found bug (memory leak) in the default edma application?

    ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/linux-driver-examples-psp04.04.00.01/edma/

    Regards,
    Pavel
  • Not in edma application , in our application .