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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

816件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
1 返信

776件の閲覧回数
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 件の賞賛
返信