Skip to main content
Associate
November 7, 2023
Solved

ST-LINK,Programmer error:DEV_TARGET_CMD_ERR

  • November 7, 2023
  • 2 replies
  • 3920 views

hello

I used ST link to connect to stm32H743 and reported an error during the Programmer download process:"Error:ST-LINK error(DEV_TARGET_CMD_ERR)“.

But,I used j-link to connect to stm32H743 and there were no errors during the stm32IDE download process.

Can you provide some suggestions,thanks

This topic has been closed for replies.
Best answer by Maryem

Hello @jack-uni,

In addition to the GND, SWDIO, and SWCLK pins, you will also need to connect the VCC and NRST pins. Make sure to connect the pins correctly and use the latest version of STM32CubeProgrammer.
I apologize for the delayed response.

Maryem.

2 replies

jack-uniAuthor
Associate
November 7, 2023

The download interface of my H743 board only has three pins: gnd, swdio, and swclk.

Do you need any other connections for ST link?

Maryem
MaryemBest answer
Technical Moderator
November 17, 2023

Hello @jack-uni,

In addition to the GND, SWDIO, and SWCLK pins, you will also need to connect the VCC and NRST pins. Make sure to connect the pins correctly and use the latest version of STM32CubeProgrammer.
I apologize for the delayed response.

Maryem.

Visitor II
February 12, 2024

Hi Maryem,

We are using GNd, SWDIO, SWCLK and VCC pins (only 4). And working most of the time. But sometimes, we have problems in communication, Read Protection Enabled, DEV_TARGET_CMD_ERR, etc. We were able to Erase some times but couldn't download hex file as erase failures. Is there any necessity of NRST pin to be connected. We are using ST-LINK/V2 Programmer.

D. Lenin