How to use emWin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use emWin

753 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jacky on Sat Nov 05 00:11:04 MST 2011
Hello,
   I download emWin zip files,but I don't know how to use.
If I don't use RTOS, can it run?

Best regards,
Jacky
Labels (1)
0 Kudos
7 Replies

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jat on Fri Apr 13 11:25:41 MST 2012
kevin,

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 u please guide me. i have spent weeks on this now but not moving anywhere.
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jat on Fri Apr 13 11:23:09 MST 2012
so did u manage to get the code working??
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by soonheng on Tue Nov 15 23:00:52 MST 2011
If you download emWin directly from lpcware, there should be 2 projects, one for Keil (embedded) and the other for Visual Studio (PC).

You should be able to build the Keil project successfully, without much hassle. The Keil project already contains an emWin example that draws graph chart.
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jacky on Wed Nov 09 23:34:10 MST 2011
I find the *.h file and add to the needed folder, Now it is ok.
But there is no source code in the GUI_Init().
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jacky on Wed Nov 09 22:49:54 MST 2011
Firstly,thanks for Kevin's information.
But I have a error during compile.
That is as follow:
      Setup\core_cm3.h(95): error:  #5: cannot open source input file "core_cmInstr.h": No such file or directory

How can I modify?
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Tue Nov 08 15:24:14 MST 2011
No RTOS is required for emWin, and by default it is configured to run without one.  The timing is based on a systick timer delay that is used to poll the ADC, and other tasks requiring a delay.

There is very thorough documentation available in the installer packages in the /doc folder, along with a large collection of examples that should be a good starting place to begin using emWin (/Start/Samples).

I hope this helps,
Kevin
0 Kudos

656 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Jacky on Sat Nov 05 00:22:12 MST 2011
Where can find the similar example?

Sorry for my poor english

Thanks!
0 Kudos