armembeddedmicrocontrollerstm32stm32cubemx

How to fix STM32CubeProgrammer: "No STM32 target found"


After I ran my code into my STM32F446RE, I couldn't upload any code after my last code, and it gave 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 was run, and I updated it from STM32CubeProgrammer as in the photo.

But none those solutions work. How can I fix it?


Solution

  • I used the STM32 ST-LINK Utility to solve this problem.

    I connect with the board with "connect under reset". After that, I did the "full chip erase" option.

    Enter image description here