Skip to main content
Visitor II
December 16, 2020
Question

STM32CubeProgrammer & ST-LINK/V2 & STM32F030 I get "Error: No STM32 target found!" error regardless of what configuration I try.

  • December 16, 2020
  • 3 replies
  • 1326 views

STM32CubeProgrammer & ST-LINK/V2 & STM32F030

I get "Error: No STM32 target found!" error regardless of what configuration I try. 

Log:

ST-LINK SN : 55FF6F066675544945212587

ST-LINK FW : V2J37S7

Board : --

Voltage : 3.99V

Error: No STM32 target found!

The soldering is done correctly (tried it on multiple boards as well).

The correct USB driver is being used.

Not sure if relevant, but will add the following info:

> ARM-JTAG 20-10 adapter

> Under "ST-LINK/V2" it's written "B 2020 26"

What could be wrong? What should I try?

Edit:

The voltmeter reads 3.3V. (The earlier "Voltage : 3.99V" is from the logging output of STM32CubeProgrammer)

Edit 2:

So my PCB is connected to a battery source that supplies 3.3V when the switch is on (without ST-LINK/V2)

When the switch is off, the log outputs from STM32Cube Programmer reads 0.7V.

So I reckon, the combination of being connected with a battery source and the ST-LINK/V2 creates 4V that I was getting earlier.

Is this a thing? How do I resolve this? Do I need to provide an adjusted power source every time I update the software?

    This topic has been closed for replies.

    3 replies

    Visitor II
    December 17, 2020

    Hello.

    > Voltage : 3.99V.... Too high. Is this the VDD voltage from MCU?

    HLee.16Author
    Visitor II
    December 17, 2020

    Oh, I missed "VDD = 2.4 V to 3.6 V​" in the documentation. Thank you. I'll check this and update if it fixed the issue or not.

    Graduate II
    December 17, 2020

    Tends to happen if the chip is non-functional or not connected properly.

    4V probably not good, you'll want to double check that.

    HLee.16Author
    Visitor II
    December 17, 2020

    Updated original post.

    Graduate II
    December 18, 2020

    Common the grounds in the system.

    Visitor II
    December 18, 2020

    Hello,

    GND, SWDIO, SWCLK must be connected to board at least.