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.