cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link/V2 no connecing but with JLinkPro no problem

Roger Heil
Associate II
Posted on January 13, 2017 at 12:49

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 mode

If 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.
8 REPLIES 8
Nesrine M_O
Lead II
Posted on January 13, 2017 at 14:40

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-

Posted on January 16, 2017 at 08:56

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6rG&d=%2Fa%2F0X0000000bwp%2FJ9ZkO3jCBCf8y5gvVBmC7yf1LRBOTmGhKNsCSQo_SWY&asPdf=false
Posted on January 16, 2017 at 10:12

Hi

Heil.R

‌,

Try to upgrade firmware version:

STM32 ST-Link Utility>ST-Link>Firmware update

-Nesrine-

Posted on January 16, 2017 at 10:22

Hi,

it is the same firmware version.

Roger

Posted on January 16, 2017 at 10:29

Hi

Heil.R

‌,

Please try to upgrade using this link :

http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-linkhtml

,and let me know about the result.

-Nesrine-

Posted on January 16, 2017 at 10:38

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: 0x00000000

Error (0x8) after target cmd F2 35 04 20 04 E0 00 00 00 00

W at 0xe000edf0: 0xa05f0000

Error (0x8) after target cmd F2 35 F0 ED 00 E0 00 00 5F A0

cErrLog::SetLogTraceOn

STLinkUSBDriver.dll loaded

ST-Link/V2 device detected

Target voltage detected: 3.491771

Driving NRST low

Error (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00

Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00

Error (19) while initializing ST-Link in JTAG mode

ST-Link/V2 device detected

Target voltage detected: 3.434891

Driving NRST low

Error (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00

Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00

Error (19) while initializing ST-Link in JTAG mode

ST-Link/V2 device detected

Target voltage detected: 3.496511

Driving NRST low

Error (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00

Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00

Error (19) while initializing ST-Link in JTAG mode

ST-Link/V2 device detected

Target voltage detected: 3.488611

Driving NRST low

Error (0x8) after target cmd F2 3F 00 00 00 00 00 00 00 00

Error (0x8) after target cmd F2 30 A4 00 00 00 00 00 00 00

Error (19) while initializing ST-Link in JTAG mode
Posted on January 16, 2017 at 12:35

Hi

Heil.R

‌,

Please verify yourJTAG & SWDconnector implementation referring toPinout and debug port pins section on the

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/93/81/9b/8d/2f/09/4a/e8/DM00125306/files/DM00125pdf/jcr:content/translations/en.DM00125pdf

0690X000006064NQAQ.png

0690X00000605dmQAA.png

-Nesrine-

143145CGIL8