Hi!
Thanks for the advice in the previous thread. I fired up gdb, and ran
the program several times. This is the stack trace I get most of the
time:
(gdb) where
#0 _hardFaultHandler (ctx=0x2000bea0)
at
build\libxpcc\generated_platform\driver\core\cortex\hard_fault_handler.cpp:39
#1
#2
I got another one:
(gdb) where
#0 _hardFaultHandler (ctx=0x2000bed0)
at
build\libxpcc\generated_platform\driver\core\cortex\hard_fault_handler.cpp:39
#1
#2 0x080016be in I2C2_EV_IRQHandler ()
at build\libxpcc\generated_platform\driver\i2c\stm32\i2c_master_2.cpp:352
#3
#4