Skip to main content
LFIAC.1
Associate
March 28, 2022
Question

Problem with the nRST pin in a STM32L021K4

  • March 28, 2022
  • 5 replies
  • 1947 views

I already read this post with no success: https://community.st.com/s/question/0D50X00009Xka0fSAB/problem-with-the-nrst-pin-in-a-stm32f100cbt6

I tried to design a simple board with a STM32L021K4 and to program it with a STLINK-v3 MINI. I got the following error message:

Error in initializing ST-LINK device.

Reason: Target held under reset.

(You can see the full logs attached, as well as the schematics)

I measured the nRST pin, and it's about 0V. I measured VDD and VDDA, and they are at 3.3V. BOOT0 is connected to GND.

I added a 100nF capacitor from nRST pin to the ground and I tried to short the inductor of the VDDA filter.

Did I miss something obvious? Did I burn something?

Do you have any idea before I waste another PCB?

This topic has been closed for replies.

5 replies

TDK
March 28, 2022

Schematic/pinout looks correct. Is the part oriented correctly?

Edit: if chip is powered without debugger attached, is NRST high?

"If you feel a post has answered your question, please click ""Accept as Solution""."
LFIAC.1
LFIAC.1Author
Associate
March 28, 2022

Thanks for your answer. I double-checked the orientation of the components before posting (I'll triple-check tomorrow just in case).

NRST is low whether the stlink is connected or not.

TDK
March 28, 2022
Post a high resolution picture of the board if you can.
"If you feel a post has answered your question, please click ""Accept as Solution""."
LFIAC.1
LFIAC.1Author
Associate
March 30, 2022

I didn't manage to take anything usable.

However, I assembled another board, and got it working.