Skip to main content
Associate
July 2, 2023
Question

How to Program and Debug micro STM3203

  • July 2, 2023
  • 5 replies
  • 3976 views

Hi,

I developed a boiard with micro STM32F030C8T6TR. But when I try to create a software in STMcubeMx Build and Debug. I can always  build succesfully my project, but When I try to Flash and Debug STcubemxIDE  open a popup with wrote, as following reported: 

Target connection failed

 

 


Target no device found

Error in initializing ST-LINK device.
Reason: No device found on target.

 

vdavi81_0-1688295557433.png

I'm usinf STM32 LINK v2 Debugger, with SWD I respected pinout connection. Following, microprocessor section, taken on the schematics:

vdavi81_1-1688295743251.png

And the Debug connector schematics

vdavi81_3-1688295824078.png

SomeBody Can help me to understand Why I cannot Flash and Debug, receving error messsage.

 

 

    This topic has been closed for replies.

    5 replies

    MM..1
    Chief III
    July 2, 2023

    Your schematics is buggy need connet VSSA and VDDA

    vdavi81Author
    Associate
    July 2, 2023

    But I don't need to use Analog, then VSSA and VDDA are not mandatory.

    MM..1
    Chief III
    July 2, 2023

    MCU isnt analog as you mean, for example ADC part power on reset or clock oscilator is powered from "analog" as you connect now your MCU is dead

    vdavi81Author
    Associate
    July 2, 2023

    Ok I tried to connect both of VDDA and VSSA, Can I connet them to VDD e GND? SWD Debug Peripheral need VSSA and VDDA?

    Another question NRST need pull-up Resistor?

     

    MM..1
    Chief III
    July 2, 2023

    Open Nucleo 030 schematics and learn.

    vdavi81Author
    Associate
    July 2, 2023

    Ok .. Now I tied to connect everythig after that I let you know if I need still help.

    Technical Moderator
    July 4, 2023

    Hello @vdavi81,

    Are you still having issues? If not, please close this post by selecting Accept as Solution

    To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL