2017-01-13 03:49 AM
Hi,
I have a problem with the ST-Link / V2. I have designed my own board and if I want to access the STM32L476RG via JTAG, the ST-Link Utility write the following lines into the Trace.txt file:ST-Link/V2 device detected
Target voltage detected: 3.508662 Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00 Error (19) while initializing ST-Link in JTAG modeIf I use a Segger JLink Pro, I can flash and debug the MCU without any problems.
Can anyone explain this?
best regards
Roger
#jlink #st-link/v2 Note: this post was migrated and contained many threaded conversations, some content may be missing.2017-01-13 05:40 AM
Hi
Heil.R
,Could you please precise the ST-LINK and the ST-LINK Utility
version are you using?Is this behavior observed also when
connecting via SWD?-Nesrine-
2017-01-16 12:56 AM
2017-01-16 02:12 AM
Hi
Heil.R
,Try to upgrade firmware version:
STM32 ST-Link Utility>ST-Link>Firmware update
-Nesrine-
2017-01-16 02:22 AM
Hi,
it is the same firmware version.
Roger
2017-01-16 02:29 AM
Hi
Heil.R
,Please try to upgrade using this link :
,and let me know about the result.-Nesrine-
2017-01-16 02:38 AM
Hi,
new version V2.J28.S7.
sorry , no change. JTAG and SWD -> no connect
Tarce.txt JTAG:
Error (0x8) after target cmd F2 36 04 20 04 E0 00 00 00 00
W at 0xe0042004: 0x00000000Error (0x8) after target cmd F2 35 04 20 04 E0 00 00 00 00W at 0xe000edf0: 0xa05f0000Error (0x8) after target cmd F2 35 F0 ED 00 E0 00 00 5F A0cErrLog::SetLogTraceOnSTLinkUSBDriver.dll loadedST-Link/V2 device detectedTarget voltage detected: 3.491771Driving NRST lowError (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00Error (19) while initializing ST-Link in JTAG modeST-Link/V2 device detectedTarget voltage detected: 3.434891Driving NRST lowError (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00Error (19) while initializing ST-Link in JTAG modeST-Link/V2 device detectedTarget voltage detected: 3.496511Driving NRST lowError (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00Error (19) while initializing ST-Link in JTAG modeST-Link/V2 device detectedTarget voltage detected: 3.488611Driving NRST lowError (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00Error (19) while initializing ST-Link in JTAG mode2017-01-16 04:35 AM
Hi
Heil.R
,Please verify yourJTAG & SWDconnector implementation referring toPinout and debug port pins section on the
-Nesrine-
2017-01-16 04:57 AM