Question
Cannot communicate with the tool
Posted on March 21, 2016 at 10:40
Hello!
I compile sourse code stvp (http://www.st.com/web/en/catalog/tools/PF257522) in visual studio 2015.The program displays
an error
in console: >>> Programming PROGRAM MEMORY (API) ERROR : Cannot communicate with the tool. Wrong tool selection or check tool power supply or check that a previous session is closed. <<< Programming PROGRAM MEMORY failsFull log: D:\workspace\ApiSample\Debug>APISample.exe -Device=STM8S103K3 -ProgMode=SWIM -Port=USM -FileProg=D:\ELload.hex STVP_CmdLine version 1.4 Verbose ON Log activity ON Display Progress OFF Message box warning if protect option byte ON Loop mode ON Erase device OFF Blank check device OFF Verify device ON Configuration: BoardName=ST-LINK Device=STM8S103K3 Port=USM ProgMode=SWIM >>> Filling PROGRAM MEMORY image in computer with Blank Value <<< Filling PROGRAM MEMORY image in computer succeeds >>> Loading file D:\STProjectGIT\El_load_2\Release\Exe\ELload.hex in PROGRAM MEM ORY image in computer <<< Loading file succeeds >>> Programming PROGRAM MEMORY (API) ERROR : Cannot communicate with the tool. Wrong tool selection or check tool power supply or check that a previous session is closed. <<< Programming PROGRAM MEMORY fails #stvp #stm8 #st-link