2021-11-30 08:14 PM
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?