we have disconnected the ST-link from the nucleoboard and prepared it correctly for its use. we connected it back to the nucleoboard, and everything worked like it should. We want to use this ST-link to make contact to the MCU of a flight controller that we have designed. the connection goes as follows:
ST-link: 1. VDD 2. SWCLK 3. GND 4. SWDIO 5. NRST 6. SWO
Flight controller: 1. GND 2. SWCLK 3. SWDIO 4. SWO 5. NRST 6. VDD
NRST goes to NRST, SWO to SWO etc.
When we connect the ST-link to STM32CubeProgrammer, the ST-link appears as a usb unit and we get contact with the program. we get an error though: ST-LINK Firmware version : V2J29M18 Error: ST-LINK error (DEV_TARGET_CMD_ERR)
Does anyone have an idea whats wrong?