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 C6678 mpax register

Hi,everyone,

      About  C6678 MPAX,I have some questions as following:

      in the document SPRP820,section 7,there is a usecase as following:

    

       It is 36 bit physical address,how can I look the physical address's data?in CCS memory browser only can look 32 bit logical address.  

       In MPAX_registerDemo,the value of MPAXH is 0x90000017,For core1,the value of MPAXL is 0x8110003;For core2,the value of MPAXL is 0x8120003f.

       After I run MPAX_registerDemo,I find every core can use the address of 0x91000000,B1000000,D1000000,F1000000 to access core1 pravite data,use the address of 0x92000000,B2000000,D2000000,F2000000 to access core 2 private data and so on,why?

      What's the relationship between RADDR and BADDR?

      Thank you,

      Simon

    

  • Moved this thread to keystone forum. Thank you.
  • As per this example, The same logical addresses (0x9000 0000 - 0x90FF FFFF)) have a different physical address for each core.

    H_Value = 0x90000017    ;
    
        if (coreNum == 0) L_Value = 0x8100003f    ;
    
        if (coreNum == 1) L_Value = 0x8110003f    ;
    
        if (coreNum == 2) L_Value = 0x8120003f    ;
    
        if (coreNum == 3) L_Value = 0x8130003f    ;
    
        if (coreNum == 4) L_Value = 0x8140003f    ;
    
        if (coreNum == 5) L_Value = 0x8150003f    ;
    
        if (coreNum == 6) L_Value = 0x8160003f    ;
    
        if (coreNum == 7) L_Value = 0x8170003f    ;

    Core   -> Physical Address(start to end) -> Logical Address (Start to End)

    Core 0 -> 8 1000 0000 to 8 10ff ffff –> 9000 0000 to 90ff ffff

    Core 1 -> 8 1100 0000 to 8 11ff ffff –> 9000 0000 to 90ff ffff

    Core 2 -> 8 1200 0000 to 8 12ff ffff –> 9000 0000 to 90ff ffff

    Core 3 -> 8 1300 0000 to 8 13ff ffff –> 9000 0000 to 90ff ffff

    Core 4 -> 8 1400 0000 to 8 14ff ffff –> 9000 0000 to 90ff ffff

    Core 5 -> 8 1500 0000 to 8 15ff ffff –> 9000 0000 to 90ff ffff

    Core 6 -> 8 1600 0000 to 8 16ff ffff –> 9000 0000 to 90ff ffff

    Core 7 -> 8 1700 0000 to 8 17ff ffff-> 9000 0000 to 90ff ffff

    Thank you.

  • What's the relationship between RADDR and BADDR?

    BADDR - Logical Address (Upper address bits)
    RADDR - Physical Address (Upper address bits)
  • Hi,Raja,

          I understand,Thank you.

          The main problem for me as following:

          https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/518026

         Best regards

         Simon

  • I posted a response there. I do not have any other suggestions. Thank you.