How to enable ocram for Cortex-m4 programming

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable ocram for Cortex-m4 programming

1,149件の閲覧回数
双朋赵
Contributor III

Hi Shuyang Guan,

when programming with Cortex-M4 in i.MX8x, we found that the total size of TCM is 256k,
this size is too small to meet our some product application requirements.
so we plan to enable ocram for Cortex-M4, take i.MX8x DualX for example,
we can use TCM as code section and use ocram as data section, please help us to check whether it is available or not .

Thanks

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,019件の閲覧回数
art
NXP Employee
NXP Employee

From the hardware point of view, the answer is: yes, it is possible to use TCM for code section and OCRAM for data section in i.MX8X Cortex-M4 programming. For example, please refer to the Table 2-20 "CM4_0 memory map" of the i.MX 8DualX/8DualXPlus/8QuadXPlus Applications Processor Reference Manual Rev.E document, available on the processor's Documentation web page:

https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-proces...

In particular, it shows the 256kB OCRAM alias in the 0x21100000 to 0x2113FFFF address range of the CM4 core.

Best Regards,
Artur

0 件の賞賛
返信

1,019件の閲覧回数
shuyang_guan
NXP Employee
NXP Employee

Hello, Shuangpeng,

The same thread has created by Rui. See https://community.nxp.com/thread/517698   as reference.

BR

Shuyang

0 件の賞賛
返信