Content originally posted in LPCWare by fiosca on Sat Feb 05 08:26:56 MST 2011
It sounds like I have a very similar problem. I'm using LPCXpresso for Windows ver 3.6.0 (Build 253).
After few days where everything was working correctly, I made a small change, built everything again and flashed AXF file. After reset, CPU enters a Hard Fault condition due to the fact that part of the flash memory (problem was located on the latest sector) contains wrong data.
From that moment on, I could not have the system working again. So I tried to generate a BIN file starting from the same AXF file. Flashing the BIN file everything works correctly, flashing the correspondent AXF file system hangs in Hard Fault.
I tried to open BIN file with an hexadecimal editor. When flashing a BIN file, device flash memory matches with the content of the file. If I flash the AXF file, the latest sector of the flash memory used by code contains bogus data.
Actually, it sounds like a problem of LPCXpresso flasher.
Have you ever seen any similar issue?