LPC1830/1857 SDRAM as heap

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

LPC1830/1857 SDRAM as heap

677 次查看
kensu
Contributor V

Hi

I am using 1830 and 1857 with MCUXpresso IDE (I convert the LPC sample project to MCUXpresso).

Because my application use large memory size and I have external SDRAM.

I want to use SDRAM as heap, but it need to execute SDRAM initial() function in board.c with internal SRAM.

So the SDRAM can work as heap correctly.

There are some SDRAM as heap article. some is using IAR, some are using other MCU. It seems there are many method.

Could someone give guild how to make SDRAM as heap and execute the SDRAM initial() code with SRAM.

With MCUXpresso or LPCXpresso, and the MCU is LPC1830/LPC1857.

Thanks a lot

Ken

标签 (1)
标记 (2)
0 项奖励
1 回复

396 次查看
soledad
NXP Employee
NXP Employee

Hi,

Please check the below links:

Allocating dynamic memory in External SDRAM | www.LPCware.com 

Heap allocation/checking in Redlib 

I hope this helps,

Have a great day,
Soledad

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

0 项奖励