Launch multi-core debug session with J-Link
The IAR IDE does not have native support for the J-Link driver, which imposes some limitations:
IAR does not provide native multi-core debugging support when using a J-Link probe. This means that in order to launch multi-core debugging, you must open a few IAR IDE instances manually (one instance per core). Also, multi-core debugging with a J-Link probe lacks some features available with CMSIS-DAP and I-jet probes. Therefore, depending on the target probe, you need to configure projects slightly differently.
IAR will not automatically open separate IDE instances for each core, so you need to do it manually.
Some enhanced features are not available; see the Multi-core toolbar and CTI usage section for more details.
To launch multi-core debugging with J-Link:
Open your multi-core IAR workspace in separate IDE instances (the number of IDE instances should be equal to the number of cores on your MCU).
Select the CM0+ project in the first IDE instance and click
Download and Debug
. The debugger will download all images, reset the target, and halt at the beginning of the CM0+ project's
main()
.
Switch to the other IDE instances and select:
Project > Attach to Running Target
.