cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating MDK5 template

luwei
Associate

Title machine-translated to English.


结果结果33441122问题问题

3 REPLIES 3
Pavel A.
Super User

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

 

KDJEM.1
ST Employee

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

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.