# error_recording

## Overview
The ERM project is a simple demonstration program of the SDK ERM driver. It shows how to show error events using the ERM driver.

## Supported Boards

````{container} board-selector

```{container} board-setup
:name: board-frdmmcxa153

##### FRDM-MCXA153

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA153 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link port(J15) on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa156

##### FRDM-MCXA156

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA156 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa346

##### FRDM-MCXA346

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA346 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxn236

##### FRDM-MCXN236

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXN236 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a type-c USB cable between the PC host and the CMSIS DAP USB port (J10) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20006000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxn947

##### FRDM-MCXN947

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXN947 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a type-c USB cable between the PC host and the CMSIS DAP USB port (J17) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20006000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxn947t

##### FRDM-MCXN947T

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXN947T board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a type-c USB cable between the PC host and the CMSIS DAP USB port (J17) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20006000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-mcxn5xxevk

##### MCX-N5XX-EVK

##### Hardware requirements
- Mini/micro USB cable
- MCX-N5XX-EVK board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20006000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-mcxn9xxevk

##### MCX-N9XX-EVK

##### Hardware requirements
- Mini/micro USB cable
- MCX-N9XX-EVK board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20006000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa174

##### FRDM-MCXA174

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA174 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa344

##### FRDM-MCXA344

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA344 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa266

##### FRDM-MCXA266

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA266 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa366

##### FRDM-MCXA366

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA366 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa577

##### FRDM-MCXA577

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA577 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxc162

##### FRDM-MCXC162

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXC162 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxa287

##### FRDM-MCXA287

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXA287 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000000.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

```{container} board-setup
:name: board-frdmmcxc353

##### FRDM-MCXC353

##### Hardware requirements
- Type-C USB cable
- FRDM-MCXC353 board
- Personal Computer

##### Board settings

##### Prepare the Demo
1.  Connect a Type-C USB cable between the host PC and the MCU-Link USB port on the target board.
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

##### Running the demo
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ERM error recording example.

Original ram data correct.

ERM error recording address is 0x20000100.

ERM error recording example finished successfully.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note:
All system bus masters can access the programming model:
1. Only in supervisor mode
2. Using only 32-bit (word) accesses
Any of the following attempted references to the programming model generates an error termination:
1. In user mode
2. Using non-32-bit access sizes
3. To undefined (reserved) addresses

```

````

