cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F042 SWD comunication Problem

elb-lab
Associate II
Posted on November 23, 2014 at 19:08

I have designed

a board with

a microcontroller

STM32F042K

where

SWD

does not work

.

I connected

pin 4

(

NRST)

with

a pull

-up

100Kohm

and

a

100nF

capacitor

to GND

and pin

(

BOOT0)

to GND

with a resistance of

470ohm

but

ST

-Link

Utility

says

can not connect

with the

target

.

I tried with

a

STM32F051K

and

SWD

works well

.

Can anyone help me

?

Thanks

!I've

#stm32f042-swd
1 REPLY 1
dan
Associate II
Posted on December 11, 2014 at 17:40

Hello!

You do not need a pull up resister with this part.  It is built-in and enabled by default.  I use a larger cap (10uF) because I have a bunch of them and that works for me.

When I've gotten errors with SWD not working, I hadn't powered all the power pins (1,5, 17)

Dan