Hi,
我使用RT1050編譯時顯示記憶體不足
unable to allocate space for sections/blocks with a total estimated minimum size of 0x4'52e8 bytes (max align 0x4) in <[0x2000'0000-0x2001'fbff]> (total uncommitted space 0x1'fc00).
MIMXRT1052xxxxx_flexspi_nor.icf 記憶體設置如下
define symbol m_data_start = 0x20000000;
define symbol m_data_end = 0x2001FFFF;
增加記憶體範圍也是沒用,請問如何正確設置可以使用全部512K Bytes的記憶體
謝謝
Solved! Go to Solution.
Hi Vincent kuo,
Thanks for your reply.
可以这样理解。
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.
-------------------------------------------------------------------------------
Hi Vincent kuo,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
首先,要明确的ITCM、DTCM及OCRAM地址范围均分配了512KB,但这并不是说这三种存储器都有512KB 大小。实际上这三种存储器共享内部SRAM的空间,而这个内部SRAM空间在RT1052 芯片中为512KB,在RT1052 中,默认ITCM和
DTCM 各占128KB,OCRAM 占256KB,但是各存储区域大小是可以调整的,具体参考具体可参考《Using the i.MX RT FlexRAM》文档。
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.
-------------------------------------------------------------------------------
Hi Jeremy,
目前電路板上只有MCU+SPI Flash所以請問
I-TCM指的是SPI把FLASH讀出程式再放到I-TCM去執行嗎?
D-TCM是指程式中靜態的資料定義等等
OCRAM就是一般程式中使用的資料等等
以上的理解對嗎?
謝謝
Vincent Kuo
Hi Vincent kuo,
Thanks for your reply.
可以这样理解。
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.
-------------------------------------------------------------------------------