LPC1830/1857 SDRAM as heap

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1830/1857 SDRAM as heap

675 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

394 Views
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 Kudos