Skip to main content
Visitor II
October 9, 2025
Question

Blue Pill - Error: Target not found

  • October 9, 2025
  • 2 replies
  • 326 views

I'm using the stm32 board (STM32F103C8T6) the blue pill for testing. I'm just flashing a blinking led code but getting an error Target not found: No stm board found and also getting ST-Link not found after that. Can anyone help me to resolve this issue. -Screenshot (18).pngScreenshot (19).png Attaching the screenshots for your reference.

    This topic has been closed for replies.

    2 replies

    Super User
    October 9, 2025

    Note that the Blue Pill is not an ST product, and likely contains a fake STM32.

    Are you using a genuine ST-Link?

    How to recognize a genuine ST-LINK/V2 versus a cloned one.

     

    General troubleshooting guides for debugger connection issues:

    How to solve connection errors when connecting and programming the STM32 target board.

    How to solve debugger connection issues.

    Super User
    October 9, 2025

    @sambanerjee wrote:
    AndrewNeil_0-1759996682258.png

    This happens when you have specified a specific ST-Link (by serial number) in your debug setup, and that particular ST-Link is not found.

    AndrewNeil_2-1759996986914.png

    Uncheck that box.

     

     

    Visitor II
    October 9, 2025

    Hi Andrew,

    Thanks for your reply. As you mentioned, I unchecked that box and tried again. Now I'm getting an error as Target no device found. Screenshot (20).png

    Super User
    October 9, 2025

    Hi,

    so at first get CubeProgrammer, and connect then with the blue pill.

    Show screen...what its telling.

    Then we go on, to get it working.