Debugging

This page will provide you with information about compiling of the reference project in the STM32 Cube IDE.

Prerequisites

  • Successfully compiled reference project source code for both cores with the STM32 Cube IDE.

STM32 Cube IDE multi-core debugging

  1. First of all we have to launch the already configured debug launch group. To do so we open the STM32 Cube IDE and expand the Bug icon (Debug) option. We can see multiple options for debugging single cores, but in our case we choose the Launch Group option with the name reference_project_stmIDE.
    Launch debug group
  2. After the debug group launch the Switch Perspective window will show up. We click on the Switch option to use the debug perspective.
    Switch perspective
  3. In the debug perspective we can see both cores (CM4/CM7), if not please wait till the code has been flashed. We can now start the cores one by one. We start with the CM4, click on the core in the debug explorer and then click on the Play icon (Run) in the menu.
    Run cores
  4. If we did everything correctly we should see that both cores are in a Running state.
    Running cores