Getting started with emWin. (RamLoc64 overfloods)

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

Getting started with emWin. (RamLoc64 overfloods)

849 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sipel_tp on Mon May 21 11:52:25 MST 2012
Hi everybody. I need some help with emWin. I downloaded the examples for LPCXpresso v4.22 from http://www.lpcware.com/content/project/emwin-graphics-library. The example ran perfectly using a LPC1788 Developer's Kit and a 4.3 inch (480x272 pixel) TFT LCD Display, both from Embedded Artists. After that I tried to copy the example by creating a new project using LPCXpresso wizard (the idea is to learn how to create an emWin project by myself. I imported all the needed files from the example project. I also configured some source and include paths. When I try to build the new project the compiler doesn´t complaint at all but the linker sends an error message: "RamLoc64 overfloods". I would like to know WHY this message appears and what I have to do in order to fix the problem. Thank you very much for your answers.
标签 (1)
0 项奖励
回复
1 回复

780 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oahmad on Tue May 22 09:47:11 MST 2012
If you are using lpcxpresso, you probably used the custom linker file that specifies a location called SDRAM32 to store 32 MEGAbytes of RAM for the frame-buffer.  In your new project, are you utilizing the same hardware?  If so, then the issue might be that you need to utilize the 'custom' linker file, not the one provided/generated an maintained by the LPCXpresso as default.  I do not use LPCXpresso, I use Code-Red, but I believe they are (were) from teh same company...in any case, in my environment, you go to the project properties, Then C/C++ Build, then under Settings, Tool Settings, In the MCU-Linker section, under Target, you need to un-check the 'Manage LInker Script' and select teh custom linker script provided for the LPCXpresso...(in my case it is "${workspace_loc:/${ProjName}/LPCXpresso406_emWin512_EA1788_320240_290911.ld}".  You also need to have the _mem.ld and _lib.ld of the same name in the same location.
0 项奖励
回复