cancel
Showing results for 
Search instead for 
Did you mean: 

"Please install MDK-ARM V5.32 toolchain to open the project" but Keil 5 already installed

Quizark
Visitor

When generating code with stm32cubemx, an interface pops up, saying that I don't have the MDK-ARM toolchain installed, but I can burn the code normally with keil5 on my computer, why is this?  what can I do next?

QQ20250501-181720.png

9 REPLIES 9

@Quizark wrote:

saying that I don't have the MDK-ARM toolchain installed


Well, that's only one of the things it suggests.

The other is that you need to "associate the file type of the project with your Toolchain..." - so have you done that?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, it's the only way, but I don't know how  to associate the file type of the project with my Toolchain.

If you look in that folder using the Windows File Explorer, what does it say the 'Type' is for the generated project file?

Can you open it just by double-clicking?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Quizark
Visitor

That's the state when you open it
This is my own folder, the first and second are for calling the HAL library and using the project files written directly in keil5 respectively
The third is the downloaded java runtime
The fourth one is the installer of the stm32cubemx that I downloaded
The fifth one is the installer that I downloaded keil5 

QQ20250501-193301.png

You haven't shown the project file.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Is this one?This is something that is automatically generated in the folder after I click on the generated code.

QQ20250501-194845.png

You said you're using Keil - so wouldn't it be a .uvproj or similar?

Presumably in that MDK-ARM folder?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Thank you for your enthusiastic help. My problem has just been resolved. The reason is that when I was using the HAl library to generate code and open the project file, the system automatically called keil5, which is the C51 I used to learn about the 51 microcontroller before, not ARM. I just deleted it and was able to open it. This problem had already appeared the day before I posted it, and it wasn't until just now that I was able to solve it.
Thank you again for patiently responding to my question post. I am very grateful!  

You're welcome.

Please mark your post as the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.