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.

TDA2HG: Vision SDK 03.08. 41502000.mmu: iommu fault

Part Number: TDA2HG

Dear TI expert.

customer try to integrate new use case on TDA2HG with Vision SDK 03.08.

basic: pushFrame(A15)->imageprocess(EVE1)->parkdetect(DSP1)->alg_Result(A15)

new use case: Pushframe(A15) ->Preproc(DSP2)->TIDL(EVE2)->TIDL(DSP2)->Result(A15)

note: PushFrame link is a task to distribute image data from camera to latter link.

error happened, omap-iommu 41502000.mmu iommu fault: da 0xa3207300 flags 0x0


check that DSP2 can read/write 0xa3207300 successfully.

and 0xa3207300 located in DSP2_DATA_MEM region.

tried to follow this suggestion to check, seems only can use for older kernel. 03.08 use kernel version 4.19.

would you please help give debug suggestion to check this iommu fault?

thank you!

yong

  • HI,

    Please go through the below links.

    The above logs clearly tell there is illegal memory access in the DSP core so you should use JTAG to debug where it's happening the memory corruption.

     

    To use the JTAG debugger build the code in debug mode before that add the below changes in the code.


     

    You just need to set the variable "enableDebug" = 1;

    The above changes given for the DSP2 core & you should do the same changes for the other core if you want to debug MMU-FAULT in the other core.

    Connect the JTAG debugger then set the variable value "enableDebug = 0" in the CCS expression window then start debug by putting break-point & find out the issue.

    Thanks

    Gaviraju