Memory Configration Editor

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

Memory Configration Editor

943件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by eX-SNB on Tue Oct 29 06:54:14 MST 2013
Hi,
I'm new here and it is my first time with LPCXpresso and the LPC1857 (Hitex Eval Board).

My project is an data logger and I wil store measured data form a accelerometer in the SDRAM temporary.
I have an example program for the Hitex Eval Board, it is called memtest, I will use this project as for testing the SDRAM and my project.

Now my question:
In the project properties from the memtest project the SDRAM (adress 0x28000000) is not listed in the Memory Configration Editor.
Only the internal Flash (0x14000000) and five RAMs (adress 0x10000000,0x10080000,0x20000000,0x20008000,0x2000c000) are listed.

Is it necassary that I add here the SDRAM?


On the website "http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts  " I found that only the firts RAM in the Memory Configuration Editor is used for data or bss.
But I will use the SDRAM for saving the measured data in an Array.
Should I do this procedure?
Is it enough to add the SDRAM in the Memory Configuration Editor and the Linker manage the location from the usable storage itself?

Thanks

Stefan
0 件の賞賛
返信
2 返答(返信)

889件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by eX-SNB on Tue Nov 05 06:47:36 MST 2013
Thanks for your information

Regards
Stefab
0 件の賞賛
返信

889件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 31 02:48:28 MST 2013
Yes, you can add your SDRAM to the memory configuration editor. **But** you will also need to ensure that your application contains code that enables the SDRAM before it is used. This typically means that you will need to add a call to your SDRAM init code from within the cr_startup_lpc18xx.c file.

For more information on using the Memory Configuration Editor itself, please read the LPCXpresso 6 User Guide.

Regards,
LPCXpresso Support
0 件の賞賛
返信