Content originally posted in LPCWare by wellsk on Wed Feb 06 10:14:00 MST 2013
>I am having trouble to initialize the RTC. At each reset the LPC4357 spends at least 8 seconds executing Chip_RTC_Init(). Once the RTC is initialized it seems to work fine. It gets stuck waiting for the RTC clock reset completion.
You can work around this for now using the attached RTC fix. The fix is only a temporary workaround and the issue is software related with the RTC driver, so a real fix should be available soon.
>Finally I am having some problems using the emwin library. The code execution ends at the HardFault_Handler(). I think that my project is not well configured. I tried to copy the configuration of the emwin example projects without success. Maybe there are some options in the Xpresso example projects that are not fully compatible with code red/xpresso 5, but I dont know for sure.
I'm not sure what this specific issue is - try to get one of the packaged examples working and carefully move it into your project. I believe the examples required SDRAM for the frame buffer - is that available on your prototype? if SDRAM isn't being set and the LCD is attempting to refresh from DRAM, it might cause a hard fault (ie, accessing an un-clocked peripheral). Or of the frame buffer is placed on top of memory in use for your app, it can cause a crash.