AnsweredAssumed Answered

NfcrdlibEx3_NFCForum HardFault_Handler()

Question asked by Gytis Kazlauskas on Sep 27, 2017
Latest reply on Oct 6, 2017 by IvanRuiz

Hello ,

 

      I have a problem with running Nfcrdlib_NFCForum example. I am using PN7462 board (this kit: https://www.digikey.com/catalog/en/partgroup/pn7360-pn7362-pn7462-nfc-controller-development-kit/60235)

 

When I start debugging this example I get this:

phFlashBoot_HardFault_Handler() at phFlashBoot_GCC.c:107 0x203160 

 

Using Step Into and Step Over arrows I was able to come to this place (tasks.c) until I get harfault handler interrupt:

 

 

/* Avoid dependency on memset() if it is not required. */
 #if( ( configCHECK_FOR_STACK_OVERFLOW > 1 ) || ( configUSE_TRACE_FACILITY == 1 ) || ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) )
 {
  /* Fill the stack with a known value to assist debugging. */
  ( void ) memset( pxNewTCB->pxStack, ( int ) tskSTACK_FILL_BYTE, ( size_t ) ulStackDepth * sizeof( StackType_t ) );
 }
 #endif /* ( ( configCHECK_FOR_STACK_OVERFLOW > 1 ) || ( ( configUSE_TRACE_FACILITY == 1 ) || ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) ) ) */

 

I am using:

PN7462AU FW & SW Examples Full Version - v05_02_01

MCUXpresso IDE v10.0.2 [Build 411] [2017-07-11]

 

Best regards,

 

Gytis

Outcomes