Content originally posted in LPCWare by bavarian on Thu Oct 04 04:23:56 MST 2012
If there is still access via JTAG/SWD, then it should be possible to recover, As I can see different reasons for this problem, here are different hints how to overcome it:
1) Play with the settings for the reset:
Project Settings --> Debug --> Settings
- Autodetect
- VECTRESET
2) Power-on your board in a different bootmode configuration, (e.g. the UART or USB bootmode) before you try programming. This ensures that the chip does not run into a software in the flash which maybe causes this lockout.
3) Use the DFU utility (USB bootmode) to program the flash.
4) Use the latest version of FlashMagic to get flash programming access over UART. (overall a little bit more complicated than the other proposals).
Regards,
NXP Technical Support Team