MCUXpresso SDK Documentation

trdc

trdc#

Overview#

The trdc example shows how to control the memory block checker(MBC) and memory region checker(MRC) access policy using TRDC.

In this example, a MRC memory region and a MBC memory block are set to unaccessible, then the hardfault occurs.

Supported Boards#

EVK9-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

No special settings are required.

Please note this application can’t support running with Linux BSP!

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the flash.bin to the target board. Reference ‘Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP.pdf’ to make and download flash.bin.

  5. Press the reset button on your board.

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x40000000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x28800000
The MBC selected block is accessible now
TRDC example Success
EVK-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

No special settings are required.

Please note this application can’t support running with Linux BSP!

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the flash.bin to the target board. Reference ‘Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP.pdf’ to make and download flash.bin.

  5. Press the reset button on your board.

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x40000000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x28800000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA153
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA153 board

  • Personal Computer

Board settings

No special settings are required.

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:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA156
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXL255 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the LPC-Link USB port (P6) on the target board.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA346
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA346 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXL255
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 MCU-Link 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXL255
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 MCU-Link 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXW71
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW71 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect the micro and mini USB cable between the PC host and the USB ports on the board.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
MCX-W71-EVK
Hardware requirements
  • Type-C USB cable

  • MCX-W71-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
KW45B41Z-EVK
Hardware requirements
  • Mini/micro USB cable

  • KW45B41Z-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect the micro and mini USB cable between the PC host and the USB ports on the board.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
KW47-EVK
Hardware requirements
  • Type-C USB cable

  • KW47-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
MCIMX93AUTO-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93AUTO-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

No special settings are required.

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW2 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J26 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board to begin running the example.

Note: This example has to be run on CORTEX-M boot mode(SW1301:[10x1]).

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address:  0x     100
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x47400000
The MBC selected block is accessible now
TRDC example Success
MCIMX93-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

No special settings are required.

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board to begin running the example.

Note: This example has to be run on CORTEX-M boot mode(SW1301:[10x1]).

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address:  0x     100
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x47400000
The MBC selected block is accessible now
TRDC example Success
MCIMX93W-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93W-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

No special settings are required.

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board to begin running the example.

Note: This example has to be run on CORTEX-M boot mode(SW1301:[10x1]).

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address:  0x     100
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x47400000
The MBC selected block is accessible now
TRDC example Success
MCIMX93-QSB
Hardware requirements
  • USB Type-C cable

  • MCIMX93-QSB board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

No special settings are required.

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board to begin running the example.

Note: This example has to be run on CORTEX-M boot mode(SW1301:[10x1]).

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address:  0x     100
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x47400000
The MBC selected block is accessible now
TRDC example Success
MCX-N5XX-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCX-N5XX-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect the micro and mini USB cable between the PC host and the USB ports on the board.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
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 MCU-Link 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success
MCX-W72-EVK
Hardware requirements
  • Type-C USB cable

  • MCX-W72-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA174
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA174 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
FRDM-MCXA344
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA344 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
KW47-LOC
Hardware requirements
  • Type-C USB cable

  • KW47-LOC Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
MCXW72-LOC
Hardware requirements
  • Type-C USB cable

  • MCXW72-LOC Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA266
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA266 Board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
FRDM-MCXA366
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA366 Board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
FRDM-MCXW72
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW72 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed. If the silicon of the SOC is NXP Fab or NXP Provisioned:

TRDC example start
Set the MRC selected memory region not accessible
Violent access at address: 0x48800000
The MRC selected region is accessible now
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success

Otherwise the memory 0x48800000-0x48A00000 controlled by MRC0 cannot be accessed by CM33 core, the log should be:

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x 2000000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXA577
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA577 Board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
FRDM-MCXC162
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXC162 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J21.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessiable
Resolve access error
The MBC selected block is accessiable now
TRDC example Success
FRDM-KW43
Hardware requirements
  • Type-C USB cable

  • FRDM-KW43 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J28.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x20001000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXW70
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW70 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J28.

  2. Open a serial terminal with the following settings:

    • 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.

  5. The demo will measure the frequency of some on-chip clock source. Use the Oscilloscope to probe SFA0_CLK Pin then you will monitor the signal to be measured by SFA.

Running the demo

The following lines are printed to the serial terminal when the demo program is executed.

TRDC example start
Set the MBC selected memory block not accessible
Violent access at address: 0x20001000
The MBC selected block is accessible now
TRDC example Success
FRDM-MCXN236
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN236 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J10.

  2. Open a serial terminal with the following settings:

    • 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

When the demo runs successfully, will get the similar messages on the terminal.

TRDC example start
Set the MBC selected memory block not accessible
Resolve access error
The MBC selected block is accessible now
TRDC example Success