Skip to main content
Visitor II
December 18, 2024
Question

ST-LINK V2 windows 10

  • December 18, 2024
  • 3 replies
  • 1893 views

Hello , 

I have 5 ST-LINK/V2 and 5 products.

Each programmer is connected to one product at a time. I am using Windows 7 and a USB hub. Everything works fine, but when I migrated to Windows 10, I encountered an unstable programming issue. I updated the driver for Windows 10 and the framework for the programmer.

This issue is unstable: sometimes it results in an error, and other times it works under the same conditions.

 

STVP_CmdLine version 1.6

Verbose ON

Log activity ON

Display Progress OFF

Message box warning if protect option byte OFF

Loop mode OFF

Erase device OFF

Blank check device OFF

Verify device ON

 

Configuration:

BoardName=ST-LINK ST-LINK_ID=1 Device=STM8S003F3 Port=USB ProgMode=SWIM

 

>>> Filling PROGRAM MEMORY image in computer with Blank Value

<<< Filling PROGRAM MEMORY image in computer succeeds

 

>>> Loading file C:\Application Data\EE\DUT1\FlashingPackage\FirmwareOutput\file1.hex in PROGRAM MEMORY image in computer

<<< Loading file succeeds

 

>>> Loading file C:\Application Data\EE\DUT1\FlashingPackage\file2.hex in OPTION BYTE image in computer

<<< Loading file succeeds

 

Hit 'Esc' key to abort during communication.

 

>>> Programming PROGRAM MEMORY

(API) ERROR : Cannot communicate with the device !

Check the SWIM cable connection and check all the needed pin connections on the SWIM connector.

 

If the application code uses Swim Disable and Reset pin as Output or has disabled SWIM Clock Divider:

Try Now to SWITCH OFF and ON the application Power Supply while NRST Reset pin is forced low.

 

<<< Programming PROGRAM MEMORY fails

    This topic has been closed for replies.

    3 replies

    Adnene007Author
    Visitor II
    December 19, 2024

    Hi , 

    I use ST-LINK V2-ISOL

    windows 10 x64 

    Explorer
    March 24, 2025

    Wouldn't be the first time a different OS "holds" parameters differently.

    "Somewhere" the OS can "dump" its "attachments". I got NO Idea Where!

    My easiest answer is to just restart Windows to purge all "attachments" (GD B.GATES!!)

    STILL see this in Win 10 And 11!   Oh, well, mediocrity seem to be enough these days...