cancel
Showing results for 
Search instead for 
Did you mean: 

Reset button not working

Shaktimayee
Associate II

I am using stm32f103c8t6 microcontroller for uploading the bootloader and application. After uploading the bootloader binary code using UART communication (boot1=0 and boot0=1) to the controller, the reset pin is not working for further functionality i.e it is not erasing the current program and the uploaded code is working after pressing the reset button. Please guide me regarding that problem.

19 REPLIES 19
SofLit
ST Employee

Hello @Shaktimayee and welcome to the community,

What do you mean by "reset erasing program":


@Shaktimayee wrote:

the reset pin is not working for further functionality i.e it is not erasing the current program and the uploaded code is working.


 

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.

Sounds normal, and reset shouldn't erase the part.

Are you driving the RESET pin? How and to what is it connected?

The BOOTx pins will determine what is run out of reset. 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

thank you for your reply!!!! have you any idea regarding the original bootloader code for the stm32f103c8t6 microcontroller for the system memory!!?

yes i am driving the RESET button as the reset pin.

Hello,

Sorry still not able to understand your question.

I propose to refer to these application notes:

https://www.st.com/resource/en/application_note/an2606-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf

https://www.st.com/resource/en/application_note/an3155-usart-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf

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.

Only a button to ground, with a pull-up, or connected to anything else in your circuit?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I am uploading the code present in this link:- "https://www.youtube.com/watch?v=ppQx_scTsvQ" 

for the bootloader and the application. For another operation let if i want to use my stm32f103c8t6 board for another program or if i am resetting the controller by pressing the RESET pin it is not working for which i am unable to upload the programme using the UART communication. Please guide me regarding that.

After using the code present in the link " https://www.youtube.com/watch?v=ppQx_scTsvQ"

controller's RESET pin is not working for another program to upload the code or flash the code in the controller using UART.

Did you set back boot0=0 ?

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.