When writing code with iar, use stlink to download, and then eliminate wiring and burner problems, basically you have to re-burn with stvp
Error message:
Failed to set configuration with MCU name STM8S207MB: SWIM error [30006] xxxxxxx
If it's too troublesome, you can directly use svtp to develop
1. Configure iar to output s19 format
Click rebuild all to generate the .s19 file
The file is under Debug/Exe
Open ST Visual Programmer (STVP) and set the hardware connection method and MCU model. Here we take ST-Link connected to STM8S003F as an example and use the swim method.
Import the .s19 file to be burned, set whether to lock the chip (optional)
Click the download button Program --> All tab, and check the information after the download is successful.
If you don't know how to set the hardware connection method and MCU model, please refer to http://jingyan.baidu.com/article/5552ef47f0f3b8518efbc94d.html
ST Visual Programmer (STVP) can be downloaded from the ST Forum
Previous article:The stm8 series uses option_byte to implement port remaping
Next article:How to generate .bin file using MDK (KEIL5)
- Popular Resources
- Popular amplifiers
- 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?
- USB Type-C® and USB Power Delivery: Designed for extended power range and battery-powered systems
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- Overview of Virtual Instrument Drivers
- Problems with Bluetooth Low Energy modules
- Understanding of feedback and operational amplifiers in circuits
- Microcontroller and microprocessor market continues to grow
- Wi-Fi 6's 160Hz debate: What is 160MHz?
- USB flash drive productionThe highest level of welding (BGA)
- New review activity! Free review of TI LAUNCHXL CC2650
- FSC Switching Power Supply Design Manual
- IC card reader/writer implemented with PIC microcontroller
- Renovation of old items + Bluetooth payment speaker into wireless doorbell