handle Fatal exception

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 31 17:58:59 UTC 2020


On 31/08/2020 19:06, Ярослав Лещинский wrote:

>
> sometimes I'm getting FATAL, like:
>
> *** FATAL ***
> fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION)
>
> is it possible to handle this exception, e.g. restart the whole system?

Yes, some BSPs do this by default in their fatal error extension. You 
can customize the behaviour via an initial extension:

https://docs.rtems.org/branches/master/c-user/config/general.html#configure-initial-extensions

https://docs.rtems.org/branches/master/c-user/user_extensions.html#fatal-error-extension



More information about the users mailing list