Since two instances of IAR cannot debug the same core simultaneously, it is not possible to debug a secure CM33 application and a non-secure CM33 application at the same time. The following multi-core debug combinations are possible:

  • Debugging a secure CM33 application alongside a CM55 application.

  • Debugging a non-secure CM33 application alongside a CM55 application.

To initiate a multi-core debug session, you must open one of the CM33 projects and

Select Project > Debug without Downloading

.



Note: Ensure all projects are built and programmed before launching a debug session.


IAR opens a separate IDE instance for each project specified in the session file. It should look like to this. One is Master (cm33) and the other is Partner 1 (cm55):



The left side of the screen shows the IAR IDE instance attached to the CM33 core. The right side shows the CM55 core not started yet. Once the Cy_SysEnableCM55() function is executed on the CM33 core, the CM55 will start executing its application. You can step through the code by switching back and forth between the two IAR IDE instances.