Skip to main content
Visitor 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.

    This topic has been closed for replies.
    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

    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.


     

    Visitor 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!!?

    Technical Moderator
    October 4, 2024
    Graduate II
    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. 

    Visitor II
    October 4, 2024

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

    Graduate II
    October 4, 2024

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