2023-08-07 11:07 PM
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
Please help me resolving this issue.
2023-08-08 03:16 AM - edited 2023-08-08 03:16 AM
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
2023-08-08 05:50 AM
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.