cancel
Showing results for 
Search instead for 
Did you mean: 

Program custom target with nucleo st link

AHöfl.1
Associate II

Hi

I have a Nucleo F103RB where I would like to use the st link to program my custom board with a ST321F03. I removed the jumpers on CN2 and connected SWDIO, SWCLK and GND.

When I try to connect via SWD with CubeIDE I get "Error in initializing ST-LINK device.

Reason: No device found on target."

I also removed the 0Ohm resistor SB12 without any luck.

Is it necessary to connect also NRST?

Any help is highly appreciated.

Thx

Andy


_legacyfs_online_stmicro_images_0693W00000bimnlQAA.png

3 REPLIES 3

Generally it means the target is inoperable, check supplies and orientation. Check level seen on target NRST.

The NRST doesn't need to be connected to the ST-LINK, should work without, although "Connect Under Reset" won't have control it expects.

Y​ou have a standalone ST-LINK you can try? That will need VTarget connected.

O​ther signs of life would be to use USART1 PA9/PA10 in System Loader mode. Sending 0x7F data pattern at 9600 8E1

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

Hi

First of all thanx for the quick reply.

Unfortunately I do not have an ST-Link at my disposal.

But generally it means, connecting SWCLK, SWDIO and GND should be enough?

Do I really need to remove the SB12 resistor?

Anything wrong with my schematics maybe? (I am quiet new to the HW Topic)

Cheers

Andy

Hi

First of all thanx for the quick reply.

Unfortunately I do not have an ST-Link at my disposal.

But generally it means, connecting SWCLK, SWDIO and GND should be enough?

Do I really need to remove the SB12 resistor?

Anything wrong with my schematics maybe? (I am quiet new to the HW Topic)

Cheers

Andy