cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug (thru Linux core) the STM32MP1 (M4 Core) in CubeIDE on Windows10?

CLörc.1
Associate II

I try to walk through this example:

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4/Modify,_rebuild_and_reload_a_firmware

My problems start at Step 6.

The "Open Console On MPU Serial Device" button (with the Butterfly symbol) doesn't find a serial connection.

As a test I connected via Putty to the device and managed to login successfully.

In my case it's COM17 named "Serielles USB-Gerät" in the hardware manager.

The debug Configuration Window also does not allow to press "Debug" although I can access and login to the IP which is set there in the connection segment.

0693W000003OjIFQA0.png

Did anyone mange to debug the M4 Core tru Linux in a Win 10 environment?

Regards

Christian

2 REPLIES 2
LudovicR
ST Employee

Hello Christian,

By default STM32CubeIDE is using first STMicroelectronics Console from ST-Link Virtual COM Port, or first FTDI device.

In case you have a specific hardware set-up for the console connection, from release 1.4.x it is possible via

Window > Preferences > STM32Cube > MPU Serial

menu to force a console by enabling "Remove filter".

Hope this help,

Ludovic

CLörc.1
Associate II

After doing so, I had to press the butterfly button and the MPU Serial connection was found. Now the debug window also shows the MPU serial Port COM17 and the Debug button is no longer greyed out. Many thanks!