Skip to main content
Associate II
October 4, 2024
Solved

Reset button not working

  • October 4, 2024
  • 2 replies
  • 3734 views

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.

Best answer by mƎALLEm

Ok,

I had a doubt you are using Blue pill board: https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill.html

and you confirmed it.

At this stage, I can only suggest you (as I mentioned previously) to check reset pin level according to the user button state. If it doesn't present issue, so I suspect you are facing a fake MCU. So I recommend you to purchase a genuine product such as  NUCLEO-F103RB board.

See for example this thread.

 

2 replies

mƎALLEm
Technical Moderator
October 4, 2024

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 "Best answer" on the reply which solved your issue or answered your question.
Associate II
October 4, 2024

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

mƎALLEm
Technical Moderator
October 4, 2024
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
October 4, 2024

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Associate II
October 4, 2024

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

Tesla DeLorean
Guru
October 4, 2024

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 VenmoUp vote any posts that you find helpful, it shows what's working..