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.

SK-AM62A-LP: RAT- Memory mapping

Part Number: SK-AM62A-LP

Tool/software:

While Reading about RAT in TRM I was not clear with some of the points can you please help to clear these doubts?

1.Which type of memory (DDR/Flash) is used to map regions when RAT is enabled?

2.

Here in this image MCU core R5 is RAM memory and SOC memory is Flash. is my understanding correct?

3.

in the above image 512KB of OSPI in MCU Core is mapped to OSPI data region 1: 8GB @0x4_0000_0000. can you please explain the need/advantage of this? 

  • Hello Salman,

    Thanks for your query.

    1.Which type of memory (DDR/Flash) is used to map regions when RAT is enabled?

    There is no physical memory which is used to map the regions. It is the job of the RAT module to translate a 32-bit address to  36-bit address according to the RAT region configuration.

    Here in this image MCU core R5 is RAM memory and SOC memory is Flash. is my understanding correct?

    The MCU R5F core is just talking about the virtual memory or the processors addressable memory range. So the R5F processor can only access 32-bit addressable memory range. The common SoC memory map has 36-bit addressable memory range. 

    in the above image 512KB of OSPI in MCU Core is mapped to OSPI data region 1: 8GB @0x4_0000_0000. can you please explain the need/advantage of this? 

    As you can see the 512KB of OSPI data region 1 is located at memory address 0x4_0000_0000 which is not 32-bit addressable and is not accessible directly from R5F core. So the RAT region is configured for MCU R5F core so that it can access the memory range beyond 32-bit address.

    Hope the above information helps.

    Regards,

    Tushar

  • Here as you can see they have mentioned memory map is built on 36 physical address? which is Flash in my understanding. could you please support to rectify this understanding.

  • Hi Salman,

    which is Flash in my understanding.

    The memory map for flash subsystem starts from 0x60000000 which is 32 bit addressable range.

    could you please support to rectify this understanding

    Please refer to the Table 2-1. AM62A Common SoC Memory Map to see all the 36 bit addresses used by the SoC.

    Please refer below image.

    Regards,

    Tushar