Skip to main content
tchun.1
Visitor II
December 1, 2021
Question

STM32F446 Allocation/Crash ​​hardfault exception : Exception occured at PC = 0xfffffffe, LR = 0xfffffff9

  • December 1, 2021
  • 0 replies
  • 992 views

My Mcu platform is STM32F446(512K)

I allocate a function(selfTest) at specific address , mcu will crash after perform "printf" function and show hard fault.

​​hardfault exception : Exception occured at PC = 0xfffffffe, LR = 0xfffffff9

allocation address : i try to allocate at @0x0803550 or @0x080550 or @0x0801550 

if I cancel allocation setting in .icf , selfTest function allocation by compiler and linker.

MCU can work normally, and perform printf() is also no problem.

how can i fixed this issue​?

This topic has been closed for replies.