2023-04-25 05:49 AM - edited 2023-11-20 07:11 AM
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
2023-04-25 05:58 AM
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.
You have a standalone ST-LINK you can try? That will need VTarget connected.
Other signs of life would be to use USART1 PA9/PA10 in System Loader mode. Sending 0x7F data pattern at 9600 8E1
2023-04-25 06:15 AM
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
2023-04-25 07:19 AM
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