unstable project

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by pcalton on Fri Aug 16 10:43:53 MST 2013
I have a simple emWin project that runs perfectly in the simulator. However, when I download it to my embedded system it hardfaults if I keep pressing buttons. The faults occur within GUI_ALLOC_UnlockH or GUI_ALLOC_LockH.

Could you give any pointers as to why these functions may fail in an embedded system but not in the simulation?