AnsweredAssumed Answered

How can I move the heap to SDRAM?

Question asked by Simon Stark on Jul 3, 2016
Latest reply on Jul 5, 2016 by LPCX presso support

Hello,

 

I'm using a LPC 4357 Board with LPCLink2 and LPCXpresso.

 

I am using big chunks of data, that have to be processed which means that SRAM isn't sufficient anymore. I read some topics here that it is possible to move the heap-array into SDRAM.

 

I tried this by adding these two lines to the linker options:

--defsym=__user_heap_base=0x28000100

--defsym=_pvHeapLimit=0x280FFFFF

 

But when I increase the heap size, I receive a linker-error which refers to RAMLOC32. So my definitions don't seem to work. Has anybody any idea why? Is there anything else that has to be considered?

 

Kind regards,

Simon

Outcomes