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
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:
In particular, it shows the 256kB OCRAM alias in the 0x21100000 to 0x2113FFFF address range of the CM4 core.
Best Regards,
Artur
Hello, Shuangpeng,
The same thread has created by Rui. See https://community.nxp.com/thread/517698 as reference.
BR
Shuyang