Using 32 kBytes memory array in LPC1769

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using 32 kBytes memory array in LPC1769

851件の閲覧回数
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 返答(返信)

804件の閲覧回数
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 件の賞賛
返信

804件の閲覧回数
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 件の賞賛
返信