Solution to Fatal error when downloading IAR using STLINK

Publisher:柳絮轻风Latest update time:2018-12-15 Source: eefocusKeywords:IAR  STLINK  Fatal  error Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Problem description: When using IAR, using ST-Link to download code, the following problems occurred



The solution is as follows:


1. Right click on the project to enter the options



2. Enter the ST-Link tab



3. Change the Interface option to SWD



4. After modification, you can download successfully


K60 can be said to be a relatively delicate controller. There are more than one reason for the fatal error. If it still doesn't work after the modification, then try to see if the situation will occur again after unlocking it.


Keywords:IAR  STLINK  Fatal  error Reference address:Solution to Fatal error when downloading IAR using STLINK

Previous article:STM32 ST-LINK Utility introduction, download, installation and usage
Next article:FreeRTOS system CPU usage monitoring test in STM32CubeMX

Recommended ReadingLatest update time:2024-11-23 02:49

About the failure of using IAR software stlink to download stm8 program
I used to use IAR normally, but this time I used stlink to download, and stlink could not download for unknown reasons. I turned off the power and restarted it. Sometimes it worked, but sometimes it really did not work. The prompt message was as shown in the figure below. Failed to initialize communcation with hardw
[Microcontroller]
About the failure of using IAR software stlink to download stm8 program
STM32 Notes 20: Four steps to migrate from IAR4 to IAR5
Cause: I have been using Doupi's small-capacity microcontroller, but my classmate needs to use DA, so I changed to a larger capacity one. Brother Bing recommended debugging a larger capacity one and changing to IAR5. After the advice of this expert, the transplantation steps are summarized as follows. Step 0, prepar
[Microcontroller]
How to directly skip the breakpoint and execute the following program when debugging the program with IAR
First of all, this problem is that the optimization level set by the IAR compiler is too high. You can just lower the optimization level. Solution: In options- C/C++compile---- optimization, there is a column called Leval, and below it there are 4 options: None, low, medium, and high. Selecting Low can solve the
[Microcontroller]
How to directly skip the breakpoint and execute the following program when debugging the program with IAR
A habit of IAR compiler
I have been using the IAR compiler for some time and am constantly learning about it. Here are the two special features he used: 1. You can define variables in the middle of the program. My colleague said it was because he was using a C++ compiler, but this is indeed very convenient. 2. About char, unsigned char,
[Microcontroller]
A habit of IAR compiler
Supplement of creating a new project in IAR
The reason for the supplement is that the previous article is incomplete, but it also has some reference value. The two articles combined can solve more problems. 1 Open the IAR software as shown below 2 In the menu bar, click PROJECT ---- create New Project. A dialog box pops up. Select STM8S Series and Empty pro
[Microcontroller]
Supplement of creating a new project in IAR
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号