2024-12-18 02:14 AM - last edited on 2024-12-18 02:20 AM by SofLit
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
2024-12-18 02:47 AM