cancel
Showing results for 
Search instead for 
Did you mean: 

Programming stm32f103 troubleshooting

JACK8
Visitor

Hello, the reset pin of the stm32f103 chip I use uses this method to limit the current and pull it up, but there is a phenomenon that the chip cannot be programmed normally. After checking. The reset terminal potential is about 1.23V. The chip can be programmed normally by shorting the reset terminal and VCC3.3. Can you provide a solution to help troubleshoot the cause? Thank you very much.

Company:Inner Mongolia Bixuan Machinery Co.,Ltd

 

4 REPLIES 4
SofLit
ST Employee

Hello @JACK8 and welcome to the community,

Could you please share your schematics? Knowing that no need to pull Reset pin up as there is an internal pull-up resistor on the chip connected to this pin:

SofLit_0-1733989548956.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@JACK8 wrote:

 uses this method to limit the current and pull it up,


What method?

Please show your schematic.

 

How to write your question to maximize your chances to find a solution

 

PS:

The diagram @SofLit posted can be found in the datasheet:

https://www.st.com/resource/en/datasheet/stm32f103c8.pdf#page=67

 

See also Application note AN2586Getting started with STM32F10xxx hardware development:

https://www.st.com/resource/en/application_note/an2586-getting-started-with-stm32f10xxx-hardware-development-stmicroelectronics.pdf 

Will the 10k pull-up resistor reduce the impedance and increase the current sink due to parallel connection?


@JACK8 wrote:

Will the 10k pull-up resistor reduce the impedance and increase the current sink due to parallel connection?


Will reduce the impedance on NRST pin as you added an external pull-up (two parallel resistors) .

But need to share your schematics. Telling just assumption without any solid information cannot help to move forward.

As said by @Andrew Neil , need to refer to the AN2586: Getting started with STM32F10xxx hardware development.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.