On the board, there is 16M SCC RAM. Can i put my code on that region? Currently, if i read/write on that region, it will give me a data abort exception. How to configure properly to use this region?
Details of SCC is described in the i.MX53 Security Reference Manual (i.MX53SRM). This document is under NDA. Please contact the local FAE or Distributor for NDA and the document.
I have a long document called
i.MX53 Multimedia Applications
Processor Reference Manual
do you mean this one?
Do you know is it possible that i load my own code into SCC and run it?
The SCC mentioned in the i.MX53RM "Chapter 65.1.1 Overview." But only Overview and Features of SCC. For the details of SCC, you need to read the Security Reference Manual.
But It's hard for me to get such NDA. The SCC starts from 07000000 to 07ffffff, I can read/write from 07000000 to 07002000, 07004000 to 07006000, so on. For every 4000 memory block, i can only access the first half 2000. Do you know the reason?
The SCC RAM on i.MX53 is only 16K, ohters are aliasing memory, the memory map for it is:
0700_0000 0700_3FFF 16K Security Controller RAM
0700_4000 07FF_FFFF 16M-16K SCC RAM Aliasing
you should have access to the 16K RAM.
Thank you for your explanation. I thought there is 16M RAM. But when i access memory 07002000, i still got a synchronous external abort. Do you know what is the problem possibly?
16MB of SCC RAM relates just to address area. Really 0700_0000 - 0700_3FFF is "real" memory,all the rest - aliases. The SCC RAM in Supervisor-mode is available for read, write and/or execute.
The RAM within the SCC is divided into 4 partitions, each of which contains 4 Kbytes, but looks
like the half of this memory is intended only for internal using by the SCC and is not accessible for other bus masters (such as ARM core).
Retrieving data ...