[xpcc-dev] Hard fault debugging

2016-01-08 Thread Szabó Antal
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

Re: [xpcc-dev] Hard fault debugging

2016-01-08 Thread Szabó Antal
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