We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I have a problem that I'm hoping someone might be able to give me pointers on how to debug.
I have the simplest firmware possible (blink and LED in a while(1) and this firmware works as expected on an EA development kit for the LPC1788.
I have a custom LPC1788 board and I can download the firmware to the board but when I start the debug session the PC goes straight to the HardFault_Handler.
If I manually change the PC to the Reset vector the firmware runs as expected on the custom board. (i.e. the LED blinks and I can stop the execution with the uVision debugger)
Does anyone have any idea why this might happen?
Does anyone have any trouble shooting tips I could try?
Thanks.
Marc
What should I be checking for on the NMI pin?
I am software engineer, my intention is to insure that, hardware does not generate a NMI.
I noticed this:
http://www.keil.com/dd/chip/5325.htm
NXP (founded by Philips) LPC1788
NOTE Simulation for this device is provided by the default peripheral simulation driver. Complete peripheral simulation is not available at this time.
The following on-chip peripherals are not simulated. Flash Memory I2C Interface Memory Accelerator Module Memory Mapping Control