cancel
Showing results for 
Search instead for 
Did you mean: 

STLink-V3 MiniE return DEV_TARGET_CMD_ERR

ABric.2
Associate II

Hi,

I'm using STLink-V3 MiniE tu flash STM32L432CCU6 on custom board.

The signal mapped are SWDIO & SWCLK. I connect T_VCC to 3V3.

The connexions are correct has I was able to flash the target.

I'm using STM32CubeProgrammer CLI, and control the target power supply by software (testbench).

But sometimes, the STLink-V3 MiniE couldn't flash/read target and print DEV_TARGET_CMD_ERR in the log file.

What this error means ? How to avoid it to be able to flash/read every time ?

Best regards,

Antoine

1 REPLY 1
Imen.D
ST Employee

Hello @ABric.2 ,

Make sure that the power supply VDD from the application board is properly connected.

Check pins connection following this UM2502  STLINK-V3MODS and STLINK-V3MINI debugger/programmer tiny probes for STM32 microcontrollers - User manual

Hope this helps!

 

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen