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.

TMS320C6657: L1DMPPA register usage (AID fields, memory range)

Part Number: TMS320C6657


Hi,

C6657 has L1DMPPA16 to L1DMPPA31 registers (SPRUGW0C, "3.7.2.1 Memory Protection Attribute Registers").

Q1.  What does AIDn maps to?   Is AID0 == DSP Core 0, AID1 == DSP Core 1.. so on?   

Q2.  What address range does each of them cover?   Does L1DMAAP16 covers 0x00F0_0000 to 0x00F0_07FF?

Q3.  Is it possible to set memory protection against other masters, such as EDMA?

Thanks,
tamo2

  • Hi Tamo,

    I've forwarded your query to the EDMA experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi,

    Q1. Please check processors.wiki.ti.com/.../MemoryProtectionOnKeystoneDevices. There is PrivId to AID mapping "The PAMAPn registers of the CorePacs are set with the following mapping" Please check Corepac user guide: 6.2 PrivID to AID Remap Table

    Q2. L1D is 32KB and it is divided into 16 sections 2KB each. L1DMAAP16 covers the first 2KB, then L1DMAAP17 covers the next 2KB

    Q3. Yes, other masters like EDMA also has a privid, check the datasheet. Then you can map this privid to aid, then block it access L1D.

    Regards, Eric
  • Eric,
    > Q1, Q2
    Thanks!

    >Q3. Yes, other masters like EDMA also has a privid, check the datasheet. Then you can map this privid to aid, then block it access L1D.

    Could you please elaborate how to do it?
    I looked at:
    - CorePack User Guide (SPRUGW0C), section 6.2 "PrivID to AIP Remap", etc.
    - TMS320C6657 Datasheet, there are a few places mentioning PrivID
    but I still cannot fiture out how to setup access protection from EDMA.