Getting Started with Freescale MQX
™ and IAR Embedded Workbench
®
, Rev. 5, 04/2015
Freescale Semiconductor
6
3.2 Multi-core debugging
This chapter describes the basics of multi-core debugging with MQX RTOS. Description is provided
for twrvf65gs10_a5 a twrvf65gs10_m4 (Vybrid) board support package and MCC (multi-core
communication) example application. In this case, the ARM
®
Cortex
®
-A5 is the primary core while
the ARM
®
Cortex
®
-M4 is set up as an auxiliary core.
3.2.1 Debugging with J-Link
Before you start, ensure that the IAR 6.50.2 or newer and the latest J-Link drivers from
SEGGER is used.
Open two instances of IAR IDE. In the first IDE instance, open the Cortex-A5 example
application. In the second IDE instance, open the application for Cortex-M4 core.
<mqx_install_dir>/
mcc/examples/pingpong/build/iar/pingpong_example_twrvf65gs10
_a5
And
<mqx_install_dir>/
mcc/examples/pingpong/build/iar/pingpong_example_twrvf65gs10
_m4
Ensure that both MQX RTOS library and MCC (
<mqx_install_dir>/
mcc/build
) library are
compiled for each core prior to the compilation of the example application. Set the following
parameters before debugging:
For primary core (Cortex-A5), set in project
Options
: