Content originally posted in LPCWare by evandi on Tue Apr 12 10:13:21 MST 2016
Hi, this is my first time working with LPCXpresso/NXP chips so please bear with me.
I have a PN5180 dev kit (OM25180FDK) and I'm trying to get it to run the BasicDiscoveryLoop example program given in the starter guide. The program runs fine until it gets to the place where it is waiting for interrupts, at which point It encounters a hard fault.
Stepping through with the debugger allowed me to track the issue down to this line:
/*wait for IRQ pin event or Abort event*/
statusTmp = phOsal_Event_WaitAny(E_PH_OSAL_EVT_RF | E_PH_OSAL_EVT_ABORT, PH_MAX_DELAY, &tReceivedEvents);
which is located in phhalHw_Pn5180_Wait.c.
Simply running the program (debug mode) also gives me an error message:
No source available for "__write() at 0xda9a"
How do I go about resolving this issue?