2024-03-19 03:54 AM
16:19:16 : Can not connect to target!
Please select "Connect Under Reset" mode from Target->Settings menu and try again.
If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
16:19:44 : No target connected
Hi this the error im facing when try to program using stlinkV2 on a custom board
Tried switching to powerdown mode also and also checked the connections of pcb
what could be the issue
Solved! Go to Solution.
2024-03-19 03:58 AM - edited 2024-03-19 03:59 AM
Hello,
First, ST-Link Utility tool is obsolete so please use STM32CubeProgrammer instead.
Second, check the power supply of your MCU.
Third: are you using one of low power modes in the program already loaded in the MCU?
2024-03-19 03:58 AM - edited 2024-03-19 03:59 AM
Hello,
First, ST-Link Utility tool is obsolete so please use STM32CubeProgrammer instead.
Second, check the power supply of your MCU.
Third: are you using one of low power modes in the program already loaded in the MCU?
2024-10-22 09:46 PM
i have the same issue i used the STM32CubeProgrammer but is not connecting please help me
2024-10-23 02:26 AM
Hello @mubarak and welcome to the community,
Please open a new thread as this is closed and provide more details about your HW: MCU part number HAW: ST board or Custom board. If custom board you need to share your schematics.
Tips on how to post a thread on this link.
2024-11-07 03:43 AM
Hi,i had the same question,after i used STlink-V2 to connected my a custom board,i could not connected my chip(stm32f407ZE) anymore.it looked like RDP(read out protection) level 2,I tryed to pull up BOOT to high but it is Invalid。the error also is:
Can not connect to target!
Please select "Connect Under Reset" mode from Target->Settings menu and try again.
If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
in two months,this error had cause my 5 boards bircked.programes is disappeared.the chip could do nothing.
2024-11-07 03:50 AM
@ycx wrote:
it looked like RDP(read out protection) level 2
If your MCU is at RDP level 2, it's no more recoverable. So need to replace or use another MCU.
To all: please open a new thread as this was closed.
Thank you.