STM32 MPU Family - MCU Support

MPU & Local Consoles Setup


On Hybrid STM32, two modes are proposed to debug MCU (Cortex-M based) firmware:

In order to manage this rich OS, it is recommended to configure its console. On STM32MP1 boards, it can be available thanks to:


We propose for this console an automatic setup & open via a dedicated icon in the C/C++ perspective.
Note that launching ST's STM32 MPU Debug Configuration will also setup & open this Target Console.


A local console can also be configured in order to have access to host shell prompt.



Automatic Console to the target

When booting STM32MP1 target it is possible to easily get a console using Target Console icon target console icon.
It will detect available console among /dev/ttyACMx & /dev/ttyUSBx and take the first one for its setup and in order to open the console.


Removing & pluging USB cable several times leads on Linux to increment the corresponding tty handler.
This means you will have to close the console Console icon and click again the target console icon in order to relaunch the automatic detection.



Console Setup

We give here for information the "manual way" to configure a Console.

From Eclipse neon, Connections window is provided :

Now, rebooting STM32MP15 you should be able to see boot messages on the Console.
Note that you can Pin this Console view for the MPU, using the dedicated icon .

Connections View