Introduction

The document applies to PXROS-HR for TriCore version 8.2.1.

This document describes how to create and configure trap handler functions and install these trap handlers to PXROS-HR.

The application note shows how to deal with possible traps by using trap handlers and recognizing which error caused a trap. In the appendix, we also provide code snippets enabling the trigger of specific traps by software to enable testing of these traps in the application.

This note describes how to recognize types of errors that occurred, how to solve them, in which context a trap handler runs, and which functions can be called.