imx53 qsb, how to use SCC RAM?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx53 qsb, how to use SCC RAM?

1,535 Views
ab
Contributor I

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?

Labels (3)
0 Kudos
10 Replies

1,130 Views
Yuri
NXP Employee
NXP Employee

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.

0 Kudos

1,130 Views
ab
Contributor I

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?

0 Kudos

1,130 Views
Yuri
NXP Employee
NXP Employee

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).


0 Kudos

1,130 Views
jimmychan
NXP TechSupport
NXP TechSupport

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.

0 Kudos

1,130 Views
ab
Contributor I

Do you know is it possible that i load my own code into SCC and run it?

0 Kudos

1,130 Views
jimmychan
NXP TechSupport
NXP TechSupport

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.

0 Kudos

1,130 Views
ab
Contributor I

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?

0 Kudos

1,130 Views
JasonLiu
NXP Employee
NXP Employee

Hi, ab

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.

0 Kudos

1,130 Views
ab
Contributor I

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?

0 Kudos

1,130 Views
ab
Contributor I

I have a long document called

i.MX53 Multimedia Applications

   Processor Reference Manual

do you mean this one?

0 Kudos