@admin
问题:STM8工程STVP无法烧录
现象描述:
- 已成功配置STVP路径
- 可以单独用STVP软件烧录
- 烧录器是ST-Link
- 系统账户无管理员权限
报错信息:
Executing task in folder WiFi_switch: & 'D:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\STVP_CmdLine.exe' -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=STM8S005K6 -no_progress -no_loop -no_log -no_verif -FileProg="d:\1. codes\1. wifi switch\WiFi_switch\out\Release\WiFi_switch.hex" -no_progData -no_progOption <
STVP_CmdLine version 1.6
Argument ERROR or unknown argument: switch\WiFi_switch\out\Release\WiFi_switch.hex
Usage:STVP_CmdLine [-BoardName=STxxx] [-Port=xxx] [-ProgMode=xxx] [-Device=STxxx]
[-Tool_ID=x]|[-NbTools=x] [-version] [-verbose]|[-no_verbose] [-log]|[-no_log] [-loop]|[-no_loop]
[-help] [-no_progProg] [-no_progData] [-no_progOption] [-progress]|[-no_progress]
[-warn_protect]|[-no_warn_protect] [-readProg] [-readData] [-readOption]
[-erase]|[-no_erase] [-blank]|[-no_blank] [-verif]|[-no_verif]
[-FileProg=fname.hex/s19] [-FileData=fname.hex/s19] [-FileOption=fname.hex/s19]
With:
[-BoardName=STxxx] ==========> Programming Tool name (ST-LINK, RLINK, STICE, ...)
[-Tool_ID=x] ================> ST-LINK Programming Tool ID (0, 1, 2...)
[-NbTools=x] ================> Number of ST-LINK Tools with same device connected (Tool_ID is automatically incremented)
[-Port=xxx] =================> Communication Port (USB, LPT1)
[-ProgMode=xxx] =============> Programming mode or protocol (SWIM, JTAG, SWD)
[-Device=STxxx] =============> Device name (exact same name as in STVP)
[-version] ==================> Display version of this application
[-verbose] ==================> Display messages, warnings, errors
[-log] ======================> Generate or append Result.log log file
[-loop] =====================> Loop on actions until 'Space' key hit
[-progress] =================> Display progress of each action
[-warn_protect] =============> Message Box if programming Option Byte protection
[-no_progProg] ==============> Do not program PROGRAM MEMORY (used to verify device from a file)
[-no_progData] ==============> Do not program DATA MEMORY (used to verify device from a file)
[-no_progOption] ============> Do not program OPTION BYTE (used to verify device from a file)
[-readProg] =================> Read PROGRAM MEMORY
[-readData] =================> Read DATA MEMORY
[-readOption] ===============> Read OPTION BYTE
[-erase] ====================> Erase the device (before programming)
[-blank] ====================> Blank Check the device (before programming)
[-verif] ====================> Verify the device after programming
[-FileProg=fname.hex/s19] ===> File name to program PROGRAM MEMORY area (hex or s19)
[-FileData=fname.hex/s19] ===> File name to program DATA MEMORY area (hex or s19)
[-FileOption=fname.hex/s19] => File name to program OPTION BYTE area (hex or s19)
终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'D:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\STVP_CmdLine.exe' -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=STM8S005K6 -no_progress -no_loop -no_log -no_verif -FileProg="d:\1. codes\1. wifi switch\WiFi_switch\out\Release\WiFi_switch.hex" -no_progData -no_progOption”已终止,退出代码: 1。
望解决,谢谢!