handler of something like general kernel fault
Posted: Mon Jul 16, 2012 2:14 pm
Hello.
Sometime something goes wrong, and program stop. Before launching gdb server is it possible to know
what goes wrong via serial console ?, is it possible to do thing like
* register something like a panic handler which is called, with an api to know what has caused the problem
or
* associate a BaseSequentialStream object to a debug function, and leave chibios print a diagnostic before hanging.
Thanks
Alexandre
Sometime something goes wrong, and program stop. Before launching gdb server is it possible to know
what goes wrong via serial console ?, is it possible to do thing like
* register something like a panic handler which is called, with an api to know what has caused the problem
or
* associate a BaseSequentialStream object to a debug function, and leave chibios print a diagnostic before hanging.
Thanks
Alexandre