2021-09-07 11:15 PM
2021-09-17 09:52 AM
Hello @Saurav Mishra and welcome to the Community :)
Update ST-link firmware to latest one.
Check the cables and your USB connector.
Check also the jumper settings and pinout config following the user manual.
Try to connect "under reset" mode, then please keep me informed about your result.
Let me know if my answer has been useful to you.
Imen
2021-09-17 11:20 AM
Lacking a lot of detail about how or what is connected.
Connect Under Reset will however require you to have connected NRST on the debug interface.
Device will be hard to connect if pins are reconfigured, or you put the device into a low power mode which turns off the electronics attached to the pin. Think WFI loops.
Pulling BOOT0 High will stop your code from running.
Designs should pull BOOT0 Low to insure user code is run normally on a board.