cancel
Showing results for 
Search instead for 
Did you mean: 

Programming using stlink/ V2 isol

Divyanshu
Associate II

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.

6 REPLIES 6

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Divyanshu
Associate II

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

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

Sorry entirely unfamiliar with your design.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Divyanshu
Associate II

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

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

nope.