Hardware requirements

  • Mini/micro USB cable

  • FRDM-IMXRT1186 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a USB cable between the host PC and the OpenSDA USB port 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

The log below shows the output of the hello world multicore demo in the terminal window:

Hello World from the Primary Core!

Copy Secondary core image to address: 0x303C0000, size: 3280
Starting Secondary core.
The secondary core application has been started.

Press the SW8 button to toggle Secondary core Start/Stop.
When no action is taken the secondary core application crashes intentionally after 100 LED toggles (simulated exception), generating the RemoteExceptionEvent to this core.
Use the Stop and then the Start button to get it running again.

.
.
.

Secondary core cannot be stopped!

NOTE: #1: The FRDM-IMXRT1186 board does not support stopping of secondary code. After pressing the button prints that secondary core cannot be stopped. Only way to start the secondary core again is POR.

NOTE: #2: The “Copy Secondary core image to address…” log message is not displayed on the terminal window when MCUXpresso IDE is used. In case of MCUXpresso IDE the secondary core image is copied to the target memory during startup automatically.

NOTE: #3: FRDM-IMXRT1186 GPIO_AON_04 pin is shared between SW8 button and headphone HP_DET_B pin. Once a headphone is inserted into J101 Audio Jack connector the SW8 button functionality is affected. Please remove the headphone in this case.