MCUXpresso SDK Documentation

error_recording

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#

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses

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:

  3. In user mode

  4. Using non-32-bit access sizes

  5. To undefined (reserved) addresses