STM8S003 uses STLINK_V2 to achieve batch burning

Publisher:buzzedyLatest update time:2021-10-09 Source: eefocusKeywords:STM8S003 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Download and install ST Visual Programmer burning software


2. Use ST Visual Programmer to generate the OPtiON.hex file, which is mainly used to configure parameters such as read protection. For detailed steps, please refer to the ST Visual Programmer batch programming tutorial: http://www.51hei.com/bbs/dpj-33634-1.html


3. Open the root directory of the ST Visual Programmer software and find the STVP_CmdLine.exe file

4. Use the command line CMD tool to switch to the root directory of the ST Visual Programmer software


cd C:Program Files (x86)STmicroelectronicsst_toolsetstvp


Enter STVP_CmdLine.exe to see the cmd command, which contains the help command and detailed information parameters of STVP_CmdLine.exe.


5. Enter STVP_CmdLine.exe -help to see the specific burning command;


Among them, STVP_CmdLine.exe -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=stm8s003F3 -Tool_ID=0 -version -verbose -no_loop -readOption reads whether the device is in read protection;


STVP_CmdLine.exe -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=STM8S003F3 -Tool_ID=0 -version -verbose -log -progress -no_warn_protect -verif -FileProg=" + Burn hex + " -FileOption=" + Burn option Burn command, burn hex is the hex file generated by programming, burn option is the OPTION.hex file generated in step 2

6. Encapsulate cmd commands into software using C++, python, java and other languages ​​to implement your own batch burning software.

Keywords:STM8S003 Reference address:STM8S003 uses STLINK_V2 to achieve batch burning

Previous article:Detailed explanation and configuration steps of stm8s internal clock configuration
Next article:stm8 set daily alarm

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号