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 3:16 AM - edited 2023-08-08 3: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 5: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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.