Content originally posted in LPCWare by CodeRedSupport on Thu Jan 13 07:45:34 MST 2011
This isn't an example that we at CodeRed are particularly familar with, as it is one of NXP's examples.
The reason for suggesting moving the call to StackHeapInit() from the start of ResetISR() is that we would not normally recommend making an calls before the startup code has carried out the copying/initialisation of any global data.
However I have just had a quick look at the source code, and I believe that the call to StackHeapInit() here probably wouldn't cause any problem as it doesn't appear to use any global data directly.
I've also just tried running the version of this application that ships with LPCXpresso v3.6.1 (which is looks to be slightly updated compared to the version that is available on the NXP website), and it seems from my very quick test to execute as I would perhaps expect.
Thus I would suggest considering upgrading to LPCXpresso 3.6.1 and testing the version of the code that provides.
However as you mention LCD, you are obviously not running this code on a vanilla LPCXpresso1114 board? So can you provide details of your hardware, and also information on any changes you have made to the example code itself.
Regards,
CodeRedSupport