CPU HANGS ON GUI_PID_StoreState ONLY WHEN GUI_DRAW PNG IS USED

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

CPU HANGS ON GUI_PID_StoreState ONLY WHEN GUI_DRAW PNG IS USED

479 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chetansd83 on Mon Jan 11 23:11:36 MST 2016
Dear Friends

I am using Embedded Artist board EA4357 with emwin 5.30 M4F library.

All was working fine (Display, Touch etc.)

Hence emwin5.30 doesn't have inbuilt png support, I have downloaded the emwin_png package (emWin_V5.26) from LPCware and included all files in my keil compilor.

Program compiled and run properly (PNG images displayed).

But as i touched the touch screen (anyware in screen) program hangs.

After debugging I came to conclusion that program hangs when  GUI_PID_StoreState() function is called.

I don't understand what is the relation between GUI_PID_StoreState and GUI_Draw_png...??

One more thing I observed, when I touched the touch screen, following error (debug) message is printed on serial port.

GUI_Alloc.c:
Dereferencing free block in GUI_ALLOC_h2p().GUI_Alloc.c:
Block is already unlocked in GUI_ALLOC_UnlockH().


Now I am clueless to solve this.

Please Guide me what can be the reason.

Thanks...

Chetan
Labels (1)
0 Kudos
0 Replies