cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to target with ST-link V2 and STM32F401CCU6 (Black Pill)

himanshu05
Associate

Hi, I'm new to using the STM32. I have STM32F401CCU6 board with me and an ST-LINK V2. I made the connections properly. 
On STMCUBEIDE, I'm getting following error:
init mode failed (unable to connect to the target)

On ST-LINK Utility: 
it says, Cannot connect to target

himanshu05_0-1691474802988.png

Please help me resolving this issue. 

 

2 REPLIES 2
Imen.D
ST Employee

Hello @himanshu05 and welcome to the Community 🙂

Check connectivity pins and jumper position on the board.

Make sure to upgrade the ST-Link firmware.

Imen

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

Does it work with STM32CubeProgrammer?

ST has changed STM32CubeIDE recently to reject counterfeit programmers. Could be what is happening. Generally when this happens they still work in STM32CubeProgrammer.

If you feel a post has answered your question, please click "Accept as Solution".