2025-07-24 6:39 PM - last edited on 2025-07-28 8:00 AM by Andrew Neil
Hi All,
We've tested debugging of M4 code on STM32MP157-EV using STM32CubeIDE from native Ubuntu linux.
It all works as expected as it was documented here: 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
We've also tried the same on STM32CubeIDE running on Win11 computers. And it all worked fine for some and not for others. E.g. On some laptops it works OK but on others it doesn't let us select "MPU Serial" console even it was recognized as STLink Virtual Port.
E.g. This is an example of working setup on Laptop1:
And this is an example of how it doesn't work on another laptop Laptop2 :
As it is clear Win11 correctly detected ST-Link Virtual UART but it is not showing in STM32CubeIDE as it does on other laptop. We tried it on several laptops and it worked on some and doesn't on others.
Versions of STM32CubeIDE we were running were 1.18 and 1.19 but no differences. It always works OK on some computers but never on another.
Has anyone noticed similar behaviour ?
2025-08-11 6:21 AM
Hello @Dub Bartolec
First, thank you for sharing your issue.
Could you please provide the log file from the computer where the problem was observed? You can find the log in the .metadata folder within your STM32CubeIDE workspace directory. This information will help us better understand and troubleshoot the issue.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.