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¶
- 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 option. We can see multiple options for debugging single cores, but in our case we choose the Launch Group option with the name .
- After the debug group launch the Switch Perspective window will show up. We click on the Switch option to use the debug perspective.
- 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 in the menu.
- If we did everything correctly we should see that both cores are in a Running state.