EA LPC1788 board using emWin - Cannot run the Hello World Example

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

EA LPC1788 board using emWin - Cannot run the Hello World Example

817 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MortenD on Tue Jun 19 04:10:16 MST 2012
Hi!
I am quite new at using the ARM Cortex M3 kernel and the LPC1788/EM artist development kit with a 7" display. After downloading the emWin ver 5.14 BSB I was able to run the Industrial example immediately. Then I just removed all the calls in the function MainTask() and replaced it with:

      GUI_Init();
      GUI_DispString("Hello World!");
      while(1)
      {
        GUI_Delay(500);
      }

In main() the hardware is still initialized, so I guess the HW should work?

HW_X_Config();      // Initialization of Hardware

Nothing is displayed, what is missing?

I even tried to run the Industrial example as normal, then adding the Hello World lines after displaying the gauges and the graphs. Then the GUI_Init(); was removed, so that the program ended up in the followinbg loop:


//      GUI_Init();
      GUI_DispString("Hello World!");
      while(1)
      {
        GUI_Delay(500);
      }

No text is display (except that the gauges and the graphs were still there)

What do I do wrong?

BR
Morten Dramstad
Labels (1)
0 Kudos
Reply
1 Reply

777 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Jul 16 10:03:05 MST 2012
Could please upload modified file.

0 Kudos
Reply