cancel
Showing results for 
Search instead for 
Did you mean: 

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

tchun.1
Associate

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​?

0 REPLIES 0