Using 32 kBytes memory array in LPC1769

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

Using 32 kBytes memory array in LPC1769

836 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serhangul on Mon Apr 02 05:05:38 MST 2012
Hi,

We are trying to store data in LPC1769. However, the microcontroller does not allow us to have a big array size. The error we get is:

[B][/B][U][B][B]region `RamLoc32' overflowed by 27480 bytes[/B]

[/B][/U]Is there a way to allocate a 32 kBytes memory array to store data in this device? As far as we know, there are one 32 kByte and two 16 kBytes SRAM blocks. We want to store in them as much data as possible.

Thanks for your help.
0 Kudos
Reply
2 Replies

789 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serhangul on Mon Apr 02 12:22:41 MST 2012

Quote: Zero
Did you read this already :confused:

http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts

and tried this

__BSS(RAM2) uint8_t my_huge_array[32*1024];



No, we did not actually. Thank you for the info!:) We will try this and let you know about the outcome.
0 Kudos
Reply

789 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Apr 02 05:35:28 MST 2012
Did you read this already :confused:

http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts

and tried this

__BSS(RAM2) uint8_t my_huge_array[32*1024];
0 Kudos
Reply