Skip to main content
stadtmusiker
Associate
May 5, 2025
Solved

XML file load error, some MCUs only

  • May 5, 2025
  • 2 replies
  • 520 views

Is there a reason and fix for why some MCUs chosen in the "MCU/MPU Selector" of STM32CubeMX start a project without issue but some fail with a message dialog?

"Can't create [MCU part#] [package type] Project: error when loading [MCU part#].xml file"

For me, "STM32C051C6Tx LQFP48" fails in this way. But "STM32C031C6Tx LQFP48" loads perfectly fine. Two machines, one Linux host, the other WSL, each running STM32CubeMX v6.11.1.

Best answer by Mahmoud Ben Romdhane

Hello @stadtmusiker ,

 

First let me thank you for posting and welcome to the ST Community.

I suggest that you take a look at the STM32CubeMX Release Note.

You can notice that STM32C051C6Tx is supported by STM32CubeMX 6.14.0.

 

Thanks.

Mahmoud

 

 

2 replies

Technical Moderator
May 6, 2025

Hello @stadtmusiker ,

 

First let me thank you for posting and welcome to the ST Community.

I suggest that you take a look at the STM32CubeMX Release Note.

You can notice that STM32C051C6Tx is supported by STM32CubeMX 6.14.0.

 

Thanks.

Mahmoud

 

 

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.
stadtmusiker
Associate
May 7, 2025

As Mahmoud suggests, upgrading to STM32CubeMX 6.14.0 resolved this issue.