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?