Using 32 kBytes memory array in LPC1769

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

Using 32 kBytes memory array in LPC1769

843 次查看
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 项奖励
回复
2 回复数

796 次查看
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 项奖励
回复

796 次查看
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 项奖励
回复