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.

DSP MMU Fault



Ramsey,

I listened to your views and  started new threads with new questions. 

I checked the map file .The map file is in the dsp server package.YOU told me figure out where Virtual DSP addr is coming from.Such as [0x144a6200]. BUT I din't find this address in this file .And all the address started at 8be00000 that the address is the DDR2 in my map file. So i can't know where is the problem.

I want to know if I found wrong file...Please tell me ....Thank you very much!!!!

  • Can you provided more context to your question.  What is it that you are trying to find out? Is the address that you are referring to (0x144a6200) a DSP address or a virtual address that needs to be translated into a physical address.  The addresses in the *.map file are all the physically address visible to the DSP.

  • Arnie ,

    Thank you for your replay!!

    I have asked the quesiton but it still does not work out.. There are more messages for it.I hope you can help me.

    I use the CE_DEBUG=2 ..I found the palace that the error occurs is random...SO i am very Confused。。THE message are :

    FIRST

    Received packet,size:20555

    @28,100,555us: [+0 T:0x41cb1490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x62378, inBufs=0x41cb04ac, outBufs=0x41cb04a0, inArgs=0x41cb0d10, outArgs=0x41cb0570)

    @28,100,616us: [+5 T:0x41cb1490] CV - VISA_allocMsg> Allocating message for messageId=0x0002de09

    @28,100,769us: [+0 T:0x41cb1490] CV - VISA_call(visa=0x62378, msg=0x42f4e880): messageId=0x0002de09, command=0x0

    n=5

    [DSP] @42,869,539tk: [+5 T:0x8bf07f4c] CN - NODE> 0x8be04ea0(avsdec#0) call(algHandle=0x8be04f60, msg=0x87305880); messageId=0x0002de09

    [DSP] @42,869,619tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x867a1000, sizeInBytes=20555)

    [DSP] @42,869,693tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @42,869,727tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x86aa1000, sizeInBytes=811008)

    [DSP] @42,870,652tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @42,870,688tk: [+0 T:0x8bf07f4c] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x8be04f60, inBufs=0x8bf0a684, outBufs=0x8bf0a748, inArgs=0x873059f8, outArgs=0x87305a04)

    [DSP] @42,870,787tk: [+5 T:0x8bf07f4c] CV - VISA_enter(visa=0x8be04f60): algHandle = 0x8be04f90

    [DSP] @42,870,840tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x8be04f90)

    [DSP] @42,870,895tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit

    [DSP] @42,870,939tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_TI_process(0x87400718, 0x8bf0a748, 0x87305a04, 0x873059f8, 0x8bf0a684)

    [DSP] @42,871,019tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - pGAVS_t(0x5)

    [DSP] @42,871,061tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_numInBytes(20555)

    [DSP] @43,099,959tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - t->height*t->width is (576*704)

    [DSP] @43,100,045tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - inArgs->inputID(6)

    [DSP] @43,100,097tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_numInBytes(20555)

    [DSP] @43,100,155tk: [+5 T:0x8bf07f4c] CV - VISA_exit(visa=0x8be04f60): algHandle = 0x8be04f90

    [DSP] @43,100,216tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x8be04f90)

    [DSP] @43,100,278tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit

    [DSP] @43,100,328tk: [+0 T:0x8bf07f4c] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x8be04f60, retVal=0x0)

    [DSP] @43,100,392tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> Enter(addr=0x86aa1000, sizeInBytes=811008)

    [DSP] @43,101,542tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> return

    [DSP] @43,101,576tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> Enter(addr=0x86aa1000, sizeInBytes=811008)

    [DSP] @43,102,531tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> return

    [DSP] @43,102,567tk: [+5 T:0x8bf07f4c] CN - NODE> returned from call(algHandle=0x8be04f60, msg=0x87305880); messageId=0x0002de09

    Received packet,size:20607

    n=6

    @28,488,464us: [+0 T:0x404b1210] CE - Engine_getCpuLoad(0x62c90)

    @28,589,508us: [+0 T:0x41cb1490] CE - Engine_fwriteTrace> returning count [2480]

    @28,589,569us: [+0 T:0x41cb1490] CV - VISA_call Completed: messageId=0x0002de09, command=0x0, return(status=0)

    @28,589,752us: [+5 T:0x41cb1490] CV - VISA_freeMsg(0x62378, 0x42f4e880): Freeing message with messageId=0x0002de09

    @28,589,813us: [+0 T:0x41cb1490] ti.sdo.ce.video2.VIDDEC2 <1>DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x144a6200].

    DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x144a6200].

     SECOND

     

    Received packet,size:18542

    n=10

    [DSP] @46,042,325tk: [+5 T:0x8bf07f4c] CN - NODE> 0x8be04ea0(avsdec#0) call(algHandle=0x8be04f60, msg=0x87305880); messageId=0x0002de0c

    [DSP] @46,042,409tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x867a1000, sizeInBytes=811008)

    [DSP] @46,043,337tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @46,043,372tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x86697000, sizeInBytes=811008)

    [DSP] @46,044,299tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @46,044,335tk: [+0 T:0x8bf07f4c] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x8be04f60, inBufs=0x8bf0a684, outBufs=0x8bf0a748, inArgs=0x873059f8, outArgs=0x87305a04)

    [DSP] @46,044,436tk: [+5 T:0x8bf07f4c] CV - VISA_enter(visa=0x8be04f60): algHandle = 0x8be04f90

    [DSP] @46,044,491tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x8be04f90)

    [DSP] @46,044,547tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit

    [DSP] @46,044,592tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_TI_process(0x87400718, 0x8bf0a748, 0x87305a04, 0x873059f8, 0x8bf0a684)

    [DSP] @46,044,673tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - pGAVS_t(0x8)

    [DSP] @46,044,715tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_numInBytes(811008)

    [DSP] @46,295,072tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - t->height*t->width is (576*704)

    [DSP] @46,295,161tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - inArgs->inputID(1)

    [DSP] @46,295,214tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_numInBytes(811008)

    [DSP] @46,295,275tk: [+5 T:0x8bf07f4c] CV - VISA_exit(visa=0x8be04f60): algHandle = 0x8be04f90

    [DSP] @46,295,339tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x8be04f90)

    [DSP] @46,295,401tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit

    [DSP] @46,295,451tk: [+0 T:0x8bf07f4c] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x8be04f60, retVal=0x0)

    [DSP] @46,295,517tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> Enter(addr=0x86697000, sizeInBytes=811008)

    [DSP] @46,296,669tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> return

    [DSP] @46,296,722tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> Enter(addr=0x86697000, sizeInBytes=811008)

    [DSP] @46,297,675tk: [+0 T:0x8bf07f4c] OM - Memory_cacheWb> return

    [DSP] @46,297,712tk: [+5 T:0x8bf07f4c] CN - NODE> returned from call(algHandle=0x8be04f60, msg=0x87305880); messageId=0x0002de0c

    @30,253,173us: [+0 T:0x41cb1490] CE - Engine_fwriteTrace> returning count [2483]

    @30,594,665us: [+0 T:0x41cb1490] CV - VISA_call Completed: messageId=0x0002de0c, command=0x0, return(status=0)

    @30,594,909us: [+5 T:0x41cb1490] CV - VISA_freeMsg(0x62378, 0x42f4e880): Freeing message with messageId=0x0002de0c

    @30,594,970us: [+0 T:0x41cb1490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0x62378, retVal=0x0)

    @30,595,001us: [+2 T:0x41cb1490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 811008

    @30,595,153us: [+0 T:0x41cb1490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x62378, inBufs=0x41cb04ac, outBufs=0x41cb04a0, inArgs=0x41cb0d10, outArgs=0x41cb0570)

    @30,595,214us: [+5 T:0x41cb1490] CV - VISA_allocMsg> Allocating message for messageId=0x0002de0d

    @30,595,367us: [+0 T:0x41cb1490] CV - VISA_call(visa=0x62378, msg=0x42f4e880): messageId=0x0002de0d, command=0x0

    Received packet,size:18594

    n=11

    Received packet,size:18508

    @30,678,649us: [+0 T:0x404b1210] CE - Engine_getCpuLoad(0x62c90)

    [DSP] @46,898,648tk: [+5 T:0x8bf07f4c] CN - NODE> 0x8be04ea0(avsdec#0) call(algHandle=0x8be04f60<1>DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x21000a00].

    DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x21000a00].

    THIRD

    Received packet,size:15136

    n=5

    @8,424,560us: [+0 T:0x404b1210] CE - Engine_getCpuLoad(0x62c90)

    [DSP] @9,466,468tk: [+5 T:0x8bf07f4c] CN - NODE> 0x8be04ea0(avsdec#0) call(algHandle=0x8be04f60, msg=0x87305880); messageId=0x0002fe06

    [DSP] @9,466,546tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x867a1000, sizeInBytes=811008)

    [DSP] @9,467,473tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @9,467,507tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> Enter(addr=0x86501000, sizeInBytes=811008)

    [DSP] @9,468,431tk: [+0 T:0x8bf07f4c] OM - Memory_cacheInv> return

    [DSP] @9,468,466tk: [+0 T:0x8bf07f4c] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0x8be04f60, inBufs=0x8bf0a684, outBufs=0x8bf0a748, inArgs=0x873059f8, outArgs=0x87305a04)

    [DSP] @9,468,565tk: [+5 T:0x8bf07f4c] CV - VISA_enter(visa=0x8be04f60): algHandle = 0x8be04f90

    [DSP] @9,468,616tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x8be04f90)

    [DSP] @9,468,670tk: [+0 T:0x8bf07f4c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit

    [DSP] @9,468,714tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_TI_process(0x87400718, 0x8bf0a748, 0x87305a04, 0x873059f8, 0x8bf0a684)

    [DSP] @9,468,795tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - pGAVS_t(0x2)

    [DSP] @9,468,836tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_numInBytes(811008)

    [DSP] @9,694,838tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - t->height*t->width is (576*704)

    [DSP] @9,694,928tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - inArgs->inputID(3)

    [DSP] @9,694,981tk: [+0 T:0x8bf07f4c] ti.sdo.ce.examples.codecs.avsdec - AVSDEC_n<1>DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x31b4b1e0].

    DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x31b4b1e0].

    This is only part of the errors and Other situations are different ..SO i don't know the reason..

    Someone has told me that i should figure out where this address is coming from and check the dsp map file ..BUT I only find the map file in the dsp server packageand  

    the addresses are physical address . SO i don't know  where the dsp map file is in? CAN you answer me and your suggestion abuot the problem .. THANK YOU VERY MUCH!!

     

  • Penfei,

    It appears that you are pursuing your current issues in another thread (http://e2e.ti.com/support/embedded/bios/f/355/t/221587.aspx), so I will mark this one as Answered.

    Dave