This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

emwin initalization problem (GUI_Init)

Dear friend,

I need to set up a project with emwin on LPC1788. I have downloaded the sample emwin file from NXP website, but I cannot make it work. I have customized most of the part I am aware are required. But GUI_Init() does not work.
The following functions in the GUIConfig.c are executed properly:

void GUI_X_Config(void)
{
  //
  // Assign memory to emWin
  //
  GUI_ALLOC_AssignMemory(_aMemory, GUI_NUMBYTES);
  GUI_ALLOC_SetAvBlockSize(GUI_BLOCKSIZE);
}


according to emwin user manual the next function that should be called is:

LCD_X_Config()


when I set a breakpoint on this function, the execution does not reach here. There must be something between calling these two functions that causes the problem. I do not have access to the source code so I do not know what it is.

Has anybody had the same problem?
Please help me.

Best regards