Content originally posted in LPCWare by zare on Fri Mar 22 04:17:21 MST 2013
Now the programming is working (with LPCXpresso 5.1.2 and updated config in lpcxpresso/bin), but the firmware is not executing properly.
After some single-step debugging I got Hardware Fault exception.
I dump the entire FLASH with other debugger and seems like the bin and FLASH have little difference. I attaching FLASH dump (read_back.bin), original bin from build (ECR_LPC.axf.bin) and elf (ECR_LPC.axf) file.
If I program the generated bin with J-Link is executing properly.
I think you got the point and found where is the issue, but we need just small adjustment to get it completely working.