IAP runs into hard fault

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Alex on Fri Oct 10 07:00:29 MST 2014

I'm using a LPC1776 at 120 MHz clock frequency.
I like to erase a sector of the internal flash via the IAP interface but when I try to call the IAP handler to prepare the sector for write/erase operation a hard fault is raised.
I performed a test with 80 MHz clock frequency and it performed quite well.
Does the boot rom have a clock limitation?

Another thing is that the earse handler always returns busy @ 80 MHz clock. What may the reson be?