Skip to main content
LGang.1383
Visitor II
December 25, 2020
Question

Trouble with GPIO pin state change during program flashing

  • December 25, 2020
  • 1 reply
  • 1514 views

Hello there!

I am using STM32F103RCT6 and have trouble with GPIO pin state change during program flashing that I don't want.

Attached picture shows this phenomenon. (ch1 : PA9, ch2 : PB14)

These two pins are not related to JTAG/SWD.

0693W000006Gtd9QAC.pngPA9, PB14 are used to turn on MOSFET in my circuit, so this unintended pin state change makes my circuit short. So, I have to solve this.

Is there any document that describes which pin change its state during flashing program?​

or Any idea to protect my circuit which is connected to these two pins from this trouble during flashing (How do experienced engineers usually solve these problem?)

This topic has been closed for replies.

1 reply

Vangelis Fortounas
Associate II
December 25, 2020

Hello

Is NRST pin connected to STLink?

With "HW_reset"(means NRST pin is connected to stlink) and "connection under reset" setup on flashing utility side, will avoid such phenomena.