RTEMS Logo

RTEMS 4.8.0 On-Line Library


Error Reporting Support Error Handling in an Embedded System

PREV UP NEXT Bookshelf New Chapters

1.2.1: Error Handling in an Embedded System

Error handling in an embedded system is a difficult problem. If the error is severe, then the only recourse is to shut the system down in a safe manner. Other errors can be detected and compensated for. The error reporting routines in this support component -- rtems_error and rtems_panic assume that if the error is severe enough, then the system should be shutdown. If a simple shutdown with some basic diagnostic information is not sufficient, then these routines should not be used in that particular system. In this case, use the rtems_status_text routine to construct an application specific error reporting routine.


PREV UP NEXT Bookshelf New Chapters

Copyright © 1988-2007OAR Corporation