Hardfault and BFAR address
I am using stm32f4. I have a hardfault error at sometimes, when I write new code in to the flash. So I check the Fault Registers like in below:SerialPrint("Fault: %08x %08x %08x\n",SCB->HFSR, SCB->CFSR, SCB->BFAR);Output results:SCB->HFSR = 0x400000...