The CPU is DM3730, with 256 Mbytes DDR
DVSDK version is 4.03
Kernel version is 3.2.9 mainline
I am trying the dsplink sample applications. What happens is I can only run one app, If I try to run a different app, it fails with :
DSP MMU Erro Fault! MMU_IRQSTATUS = [0x1] Virtual DSP addr reference that generated the interrupt = [0xbebebeb8]
, and a different faulting address each time.
I compiled the dsplink, without modification. I also checked this link :
http://processors.wiki.ti.com/index.php/Changing_DSPLink_Memory_Map
And everything is fine, my kernel command line is mem=55M@0x80000000.
So I think the issue is not a memory map problem. What is also strange is that it
affects only the second app.
For example, if I launch the loop application then the message application, the message application will fail. Now if I do the opposite, ie launch the message application first, it will run sucessfully, and the loop application will then fail. After an application failed, no application will work, but only the first to fail triggers an MMU fault. It occurs when I launch a different application. If for example I launch the message app twice and then the loop app, the fault will occur with the loop app. It looks like the ARM can't stop the DSP, and when it loads another app, a running DSP program has it's memory overwritten.