I'm really new in ChibiOS devlopment.
1. A boot not interrupted result in receiving a SIGTRAP signal like this :
Code: Select all
Program received signal SIGTRAP, Trace/breakpoint trap.
Reset_Handler () at chibios/os/common/startup/ARMCMx/compilers/GCC/vectors.S:259
259 b _crt0_entry
This SIGTRAP never end, if I continue I will receive this signal.
2. A boot interrupted with CTRL+C result in landing in sys.cpp:94 :
Code: Select all
0x0800172c in systemHaltHook (msg=0x8008da0 "HardFault") at src/os/sys.cpp:94
94 os::emergencyPrint("\r\n");
And here is the bt full result :
Code: Select all
(gdb) bt full
#0 0x0800172c in systemHaltHook (msg=0x8008da0 "HardFault") at src/os/sys.cpp:94
No locals.
#1 chSysHalt (reason=reason@entry=0x8008da0 "HardFault") at chibios/os/rt/src/chsys.c:209
No locals.
#2 0x08005858 in chibios_rt::System::halt(char const*) () at chibios/os/various/cpp_wrappers/ch.hpp:77
reason = 0x8008da0 "HardFault"
#3 HardFault_Handler () at src/os/sys.cpp:193
No locals.
#4 <signal handler called>
No symbol table info available.
#5 0x55555554 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
I don't understand where is located the error and where is called the hardfault handler.
If you have some time for me it would be a pleasure to discuss of this problem with you.
Best regards .
A.