Skip to main content
Visitor II
May 10, 2019
Question

Programming using stlink/ V2 isol

  • May 10, 2019
  • 3 replies
  • 1814 views

hi

I am having a problem while programming STM32030F4P6 with trustudio. I have done connection as below:

  1. gnd
  2. vdd
  3. swdio
  4. swclk
  5. nrst

with repective pin of STLink/v2

The error coming is :

Target no device found

Error in initializing ST-Link device.

Reason: No device found on target.

    This topic has been closed for replies.

    3 replies

    Graduate II
    May 10, 2019

    Perhaps your device just isn't functioning? Custom board?

    Can you see the device with the ST-LINK Utilities?

    Check power pins and orientation.

    Check the state of the NRST pin.

    Review the schematic/design.

    DivyanshuAuthor
    Visitor II
    May 10, 2019

    HI

    STLINK UTILITy is showing the same problem.

    I have just take the pin out from the STM32 Controller and connecting it through jumpers.

    NRST is low

    Graduate II
    May 10, 2019

    So an issue probably with how you are powering the device, most likely VDDA.

    Sorry entirely unfamiliar with your design.

    DivyanshuAuthor
    Visitor II
    May 10, 2019

    hi

    I am giving power to microcontroller externally.

    Then i connect my NRST,SWDIO,SWCLK,GND through Stm32 board.

    hardware part is done. I give power to STM32 Board through usb and build the code then debug it.

    This is how i am procedding

    Graduate II
    May 10, 2019

    Ok, but you're question suggests the part is dead in the water, right? You've haven't managed to talk to it or download anything on it?

    Here's a picture illustrating my concern

    0690X000008BXbaQAG.jpg

    DivyanshuAuthor
    Visitor II
    May 10, 2019

    nope.