Skip to main content
HSamm.1
Associate II
March 1, 2021
Solved

After unplugging ST-Link and reconnecting it I get: Error in initializing ST-LINK device. Reason: (4) No device found on target.

  • March 1, 2021
  • 1 reply
  • 1060 views

I'm using the STM32H735G DK eval board. Was able to load my code and use the FDCAN ok, when I went on to get the SD-Card going, I found that when reading a block the first 12 bytes would not be transferred. Since I have two boards and so tried the second one, and the result was the same. But switching back to the first one could not get ST-Link connect to the target.

Message: Error in initializing ST-LINK device. Reason: (4) No device found on target.

Going back to the other board the situation is now the same. There were no changes to the hardware or any jumper settings. The boards are powered via ST-Link. Both boards where disconnected with the MCU stopped at a breakpoint and after that didn't work any more.

Any ideas?

This topic has been closed for replies.

1 reply

Technical Moderator
March 10, 2021

Hello @HSamm.1​ ,

Do you have still this problem to solve?

Try to connect and program through STM32CubeProgrammer, then please keep me informed about your update.

If you still need help, feel free to ask your question in detail.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 10, 2021
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..