2021-10-27 07:27 AM
Hello,
I am getting the below error. I am using the eclipse workspace for debugging.
xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-16-21:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: Debug adapter doesn't support 'swim' transport
D:/work/Renu_Projects/Compiler/STM8S/xpack-openocd-0.11.0-2-win32-x64/xpack-openocd-0.11.0-2/bin/..//scripts/target/stm8s.cfg:7: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file "tools/openocd-v0.10.0-scripts/stm8s105.cfg", line 8
at file "D:/work/Renu_Projects/Compiler/STM8S/xpack-openocd-0.11.0-2-win32-x64/xpack-openocd-0.11.0-2/bin/..//scripts/target/stm8s.cfg", line 7
2021-10-28 04:14 AM
Your StlinkV2 must be a standalob product or an on-board product for a STM8 product. Perhasp you updated to a wrong firmware variant. Get into the update mode, start the updater and update to a SWIN enabled variant fitting to your dongle.
2021-10-28 04:54 AM
Thanks for reply,
My stlink v2 look like below.
current version of my stlinkv2 is V2.J38.S7
and my usb driver details are as below
Device USB\VID_0483&PID_3748\5&3478949&0&1 was configured.
Driver Name: oem38.inf
Class Guid: {88bae032-5a81-49f0-bc3d-a4ff138216d6}
Driver Date: 06/08/2017
Driver Version: 2.1.0.0
Driver Provider: STMicroelectronics
Driver Section: USB_Install
Driver Rank: 0xFF0001
Matching Device Id: USB\VID_0483&PID_3748
Outranked Drivers: oem71.inf:USB\VID_0483&PID_3748:00FF0001
Device Updated: false
Parent Device: USB\ROOT_HUB30\4&152da58&0&0
Do i need to upgrade firmware? Can you give me link?
2021-10-28 05:49 AM
That is not a genuine STlink, but a clone. The cloner may have done anything and actually have broken swim functionality, or ST may have excluded cloned stlinks in recent firmware updates. Ask the real supplier. Double checking you setup is another thing to do,
2021-10-28 07:09 AM
May you please suggest which one I should buy? Please provide link.