2023-05-16 2:36 AM
I created STM32CubeMX project (.ioc) on my old Windows 10 computer, GENERATE CODE worked without any issues, and after a certain time I copy .ioc file on my new Windows 11 computer (fresh install of STM32CubeMX). When I press GENERATE CODE, IDE is freezing in the stage: Copying libraries files... and the only way how I can close IDE is over Task Manager by End process.
In the log file, this is the last records:
2023-05-16 11:08:53,297 [INFO] ProjectBuilder:2996 - Time for Copy HAL[0] : 127mS.
2023-05-16 11:08:53,308 [INFO] ProjectBuilder:4304 - Project Generator version: 3.19.2
2023-05-16 11:08:53,406 [INFO] ConfigFileManager:1483 - The Die is : DIE462
2023-05-16 11:08:53,410 [INFO] ApiDbMcu:507 - Load IP Config File for TOUCHSENSING
2023-05-16 11:08:53,621 [ERROR] GenerateProjectThread:93 - javax.xml.transform.TransformerException: java.io.FileNotFoundException: C:\ (The system cannot find the path specified)
I have currently two projects and both behave the same.
Patrik
Solved! Go to Solution.
2023-05-16 4:09 AM
I find out the reason, why this happens. My path was C:\#Work\Project\CubeMx and the symbol # on the beginning #Work directory created the issue. When I change the project location to C:\Work\Project\CubeMx everything is working fine.
BR
Patrik
2023-05-16 3:28 AM - edited 2023-11-20 5:21 AM
Hello @PKova.1
First let me thank you for posting.
Concerning the issue mentioned above try to double-check the file or directory path: Verify that the path you provided is correct and that the file or directory you are trying to access actually exists.
I will be waiting for your feedback.
BR,
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.
2023-05-16 3:48 AM
Yes, everything is correct. The directory path exists, I know it because the directory Core is updated correctly by Code generation process.
Patrik
2023-05-16 4:09 AM
I find out the reason, why this happens. My path was C:\#Work\Project\CubeMx and the symbol # on the beginning #Work directory created the issue. When I change the project location to C:\Work\Project\CubeMx everything is working fine.
BR
Patrik