lpcware

IAP example works, but a copy of the project always hard faults.

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by MX21 on Tue Oct 14 17:09:39 MST 2014
I'm using LPCXpresso 7.1.1_125. 
If I run the periph_flashiap example, it works and is able to erase and program sector 14.
I copied the project to a new directory and imported it.
When I run the new project (same exact code), it hangs in the Chip_IAP_EraseSector function.  If I break, it looks like it's in some sort of hard fault handler (assembly).

The projects are identical, other than the name.  How can this affect IAP???

Outcomes