Skip to main content
Associate
May 1, 2025
Question

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

  • May 1, 2025
  • 2 replies
  • 1201 views

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

2 replies

Andrew Neil
Super User
May 1, 2025

@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.
QuizarkAuthor
Associate
May 1, 2025

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

Andrew Neil
Super User
May 1, 2025

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

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

Andrew Neil
Super User
May 1, 2025

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

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

QQ20250501-194845.png