LPC2148 with emWin_512_ARM7TDMI_LE.LIB issue

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Jat on Mon Apr 09 09:47:47 MST 2012
i have a custom designed board running a 800x600 LCD directly from LPC2148. The SWIM library is running great with the design but when I tried to include the NXP emWin library that is avaliabel on LPCWare "emWin_512_ARM7TDMI_LE.LIB", the program stops at the "GUI_Init()".

after stepping through the program, I found that the functions "LCD_SetSizeEx" and "LCD_SetVSizeEx" are returning "1" and the emWin datasheet mentions that these functions should return "0" when successful.

Can someone please help on how to use LPC2148 with emWin_512_ARM7TDMI_LE.LIB.