Skip to main content
Visitor II
November 1, 2025
Question

Problem creating MDK5 template

  • November 1, 2025
  • 3 replies
  • 248 views

Title machine-translated to English.


结果结果33441122问题问题

3 replies

Pavel A.
Super User
November 1, 2025

Couldn't understand a thing in this, but STM32F1 with "Not a genuine ST Device" tells enough?

 

KDJEM.1
Technical Moderator
November 4, 2025

Hello @luwei and welcome to the community;

 

Please look at How to write your question to maximize your chances to find a solution.

The language of this community is English. See reference.

Thank you.

Kaouthar

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.
Andrew Neil
Super User
November 4, 2025

As @Pavel A. said, this is likely the key:

 


@luwei wrote:
AndrewNeil_0-1762251894988.png

 


Unclear whether the "Device" mentioned there refers to your target microcontroller, or to your ST-Link - maybe both.

Looking at what came before in the 'Build Output' might clarify that...

 

How to check your ST-Link: How to recognize a genuine ST-LINK/V2 versus a cloned one.

 

Example here of someone using Keil with a fake STM32: 
Blue pill (STM32F1) programs OK via Arduino IDE but not Keil. Chip ID:0x2BA01477.

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.