Failed to initialize communication with hardware: SWIM error [3]: Detected hardware not compatible with software
Then search for answers online.
Answer 1: There is a 4-pin power chip in the stlink that is burned out. You can replace it and use it.
Answer 2: stlink driver update.
Answer 3: Use st-toolset to upgrade the firmware. Use upgrade to upgrade.
Answer 4: Deleting various ST-related software and re-upgrading the IAR software version can solve the IAR download problem.
I feel that swim is a very strange thing. It often prompts swim error. Although stlink cannot be used to download stm8, it can still be used to download stm32, and this kind of problem has never occurred.
The factory has scrapped my two stlink-v2-isos. I can't find a solution. It is recommended to study STM8 thoroughly, otherwise it is better to use it less. Although it is more cost-effective than 51, it is useless without good compilation software and good download tools! Later, I applied to the company to buy a few new ones. These new ones are stm32 and stm8, which are downloaded separately. After buying them, I installed them according to the instructions. After continuous attempts,
Whether it is using
The problem of failing to download using stvp or iar, cannot communicate with the device! After downloading using iar, the error "The debugging session could not be started!" appears.
Thu Jan 08 10:51:24 2015: Failed to load debugee: and other phenomena have nothing to do with the software version. My problem was solved. The connection line was loose. Change the USB port. If the stlink light changes, check the 4 download cables and the problem is solved!
Check the download cable and change the USB port or 4 cables! Problem solved!
Previous article:Weird problem when IAR compiles stm8
Next article:About the problem of stm8s207 timer entering interrupt at the same time
Recommended ReadingLatest update time:2024-11-23 11:01
- Popular Resources
- Popular amplifiers
- STM8 C language programming (1) - basic program and startup code analysis
- Description of the BLDC back-EMF sampling method based on the STM8 official library
- STM32 MCU project example: Smart watch design based on TouchGFX (8) Associating the underlying driver with the UI
- uCOS-III Kernel Implementation and Application Development Practical Guide - Based on STM32 (Wildfire)
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- [HC32F460 Development Board Review] 04 Independent Button Control LED
- The difference between transistor and BUCK voltage reduction and their application scenarios
- Nearly 500 million people in China don’t use the Internet?
- Shoot-n-Loot: A game written in Ada
- TMS320C6748_UART(1) - Basic knowledge
- A brief talk about bootloader and APP dual upgrade
- What do you think of "It is not recommended to add vias on SMD pads"
- About the problem of optocoupler clicking screen
- Today at 10:30 AM Live Broadcast [Microchip Embedded Security Solutions | Firmware Verification Using TrustFLEX Secure Element]
- Recruiting chip design director/engineer/intern