AnsweredAssumed Answered

occasional hard fault exception on using IAP command to read UID

Question asked by brayan p on Feb 19, 2019
Latest reply on Feb 19, 2019 by brayan p

lpc1114

I use LPC1114XL controller and came across an issue with IAP command to read UID. I was using this command in background loop to service a UART request(from PC) to read information. The code works, but rarely ends up at hard fault exception handler. With bit of debugging I was able to consistently reproduce the issue.  The problem occurs when the IAP routine is preempted by an interrupt. I couldn't find this issue documented in reference manual or errata. Can someone confirm if this issue and proposed workaround?

Outcomes