How to fix STM32CubeProgrammer No STM32 Target Found

Mina Karam picture Mina Karam · Apr 7, 2020 · Viewed 10.9k times · Source

Hello guys
Any one here faced this problem before ?
After I run my code into my stm32f446re I couldn't upload any code after my last code and give me this error " No STM32 Target Found "

enter image description here


I tried to do these options :-
1- Update my ST-Link driver and run it as "dpinst_amd64".
2- Update my ST-Link firmware , It's was ran and updated it from STM32CubeProgrammer as in photo.


but Doesn't work any of those solution.

Answer

Sarbjeet Singh picture Sarbjeet Singh · May 16, 2021
  1. First connect your board

  2. Click to Refresh on Right Hand Side of STM32CubeProgrammer

  3. First Select ST-Link for connecting from drop-down above ST-Link Configuration.

  4. The set the configuration as:

    Port : SWD
    Mode : Normal
    Reset Mode : Normal
    
  5. Then Press the reset and hold it and click "Connect" button. And just after pressing release the reset button. Now, your board should get connected