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.

About the functionality of MPU in C6678

Other Parts Discussed in Thread: TMS320TCI6616

Hi All,

I reviewed the functionality of MPU, and it's confused that whether it can be utilized to protect the general memory such as MSMCRAM or DDR3?

I had a test on that, first configure the MPPA register to setup a protected region(in my test, 0x0C000000~0x0C001000 as example), and marked all the masters(AID0~AID15) as "Access denied" to this region through the PROGn_MPPA register. Then I triggered a EDMA transfer to write data to 0x0C000000. If the MPU works, the access should be denied, but it seems not. Do I misuse the functionality of MPU as it can only be used for special region such as CFG SCR or QMSS?

Allen

  • Hi Allen,

    there's a very comprehensive application report including code to be found on our Embedded Processors Wiki:

    http://processors.wiki.ti.com/index.php/MemoryProtectionOnKeystoneDevices

    I think that addresses all of your questions in detail ... hope that helps.

    Kind regards,

    one and zero

  • Hi one and zero,

    I think the page you point to help me to solve the problem.

    The Table 2 of that report shows how to protect the memory pages on the TMS320TCI6616, and MSMCRAM and DDR3 pages is Configurable via MPAX.

    Thanks.

    Allen