Skip to main content
Associate
March 7, 2025
Solved

Generated uVision Project File is corrupted

  • March 7, 2025
  • 2 replies
  • 1353 views

When generating code in CubeMX for the MDK-ARM Toolchain, the uVision Project file (.uvprojx) is corrupted.

When I try to open the project it shows the following message:

uvision.png

 

Comparing the project files shows that the following section gets removed:

diff.png

Manually adding this section back solves the problem temporarily until the next code generation is done.

What could be the cause for this?

I´ve already tried different versions of STM32CubeMX and uVision.

 

Current Versions: CubeMX: 6.14.0

uVision: 5.41

STM32U585 V 1.7.0

Best answer by Jonas3

I could fix it by deleting the uVision Project File and regenerate it by CubeMX

2 replies

Semer CHERNI
ST Employee
March 7, 2025

Hello @Jonas3 

First et me thank you for posting.

I am not able to reproduce the exact behavior. I would need the ioc file which is causing you the error to test with it.

KR,
Semer.

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.
Jonas3AuthorAnswer
Associate
March 13, 2025

I could fix it by deleting the uVision Project File and regenerate it by CubeMX