i.mx RT1160 increase NCACHE memory region

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.mx RT1160 increase NCACHE memory region

跳至解决方案
1,152 次查看
Cococarbine
Contributor II

Hello,

I have an 1160 evk, with what I assume has two 256Mb Ram chips.  I am running the camera yuv sdk demo, and I wanted to increase the NCACHE region to get a larger image buffer (8 3Mb frames).  I tried increasing the size from 0x10000000 to 0x20000000 (16Mb to 32), but the program crashes.  Is there anything else I need to do to increase the memory availability?

Thanks,
Ed

0 项奖励
回复
1 解答
1,143 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1)Is there anything else I need to do to increase the memory availability?
-- As we know, the the MIMXRT1160-EVK board has two W9825G6KH, it means that the total size of the on-board SDRAM is 64 MB.
In the below figure, it consist of two parts: BOARD_SDRAM and NCACHE_REGION, when you increase the size of NCACHE_REGION to 32 MB from 16 MB, BOARD_SDRAM needs to decrease the same size.

jeremyzhou_0-1632814883006.png

Hope it helps.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,144 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1)Is there anything else I need to do to increase the memory availability?
-- As we know, the the MIMXRT1160-EVK board has two W9825G6KH, it means that the total size of the on-board SDRAM is 64 MB.
In the below figure, it consist of two parts: BOARD_SDRAM and NCACHE_REGION, when you increase the size of NCACHE_REGION to 32 MB from 16 MB, BOARD_SDRAM needs to decrease the same size.

jeremyzhou_0-1632814883006.png

Hope it helps.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 项奖励
回复