AnsweredAssumed Answered

ST-LINK V2 does not connect to STM32F103

Question asked by milovidov.andrew on Mar 31, 2015
Latest reply on Apr 7, 2015 by poli.riccardo
Hello!
I have strange error while attempting to connect ST-LIK Utility to MCU.
Trace log:

W at 0xe000edf0: 0xa05f0000
cErrLog::SetLogTraceOn
STLinkUSBDriver.dll loaded
ST-Link/V2 device detected
Target voltage detected: 1.557480
Driving NRST low
W at 0xe000edf0: 0xa05f0003
R at 0xe000edf0: 0x02010001
R at 0xe000edf0: 0x02010001
Target is held under reset
Activating vector catch system
W at 0xe000edfc: 0x00000001
R at 0xe000edf0: 0x02010001
R at 0xe000edf0: 0x02010001
Driving NRST high
R at 0xe000edf0: 0x02030003
R at 0xe000edf0: 0x00030003
W regId 16: 0x01000000
W at 0xe000edfc: 0x00000000
R at 0xe000ed00: 0x00000031
R at 0xe0042000: 0x00000014
R at 0xe0042000: 0x00000014
R at 0x1ffff7e0: 0x00000000
R at 0xe0042008: 0x00000000
W at 0xe0042008: 0x00001800
R at 0xe000ed00: 0x00000031
R at 0xe0042000: 0x00000014
R at 0xe0042000: 0x00000014
R at 0x1ffff7e0: 0x00000000
R at 0xe000edf0: 0x00030003
R at 0xe000edf0: 0x00030003
Error (0x17) after target cmd F2 3E 00 00 00 00 00 00 00 00
Error (19) in ReadMemory_32Bit (768 bytes from 0x8000000)
Error (0x12) after target cmd F2 36 F0 ED 00 E0 00 00 00 00
W at 0xe000edf0: 0xa05f0000
Error (0x12) after target cmd F2 35 F0 ED 00 E0 00 00 5F A0

Error repeats on several MCUs. Firmvare version of ST-LNK V2.J23.S4.

This debugger works with STM8 correctly.

In what could be problem?

Outcomes