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

Yes, and from that time i am unable to upload the codes using uart and the reset pin is not functioning as before.

What board are you using?

And if you upload your application using ST-LINK and STM32CUbeProgrammer, are you able to connect and program the MCU? 

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.

Yes, by using the ST - LINK  i am uploading the code but cannot reset the program.

So, check reset pin level when you press the button.

You need to have:

- High level when the button is unpressed

- Low level when it is pressed.

Still you didn't mention what board you are using!

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.

I have mentioned the board from beggining i.e STM32F103C8T6.


@Shaktimayee wrote:

I have mentioned the board from beggining i.e STM32F103C8T6.


This is not a board, this is a microcontroller.

For example NUCLEO-F103RB is a board having a STM32F103RB microcontroller on it.

So please tell us about the board you are using.

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.

I am not using any board. For uploading through ST-LINK i am using a ST-LINK V2 clone.


@Shaktimayee wrote:

I am not using any board. For uploading through ST-LINK i am using a ST-LINK V2 clone.


Your MCU STM32F103RB is soldered on which PCB then? Could you please share a photo of your setup?

Are you using blue pill board?

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.

6053313777723622632.jpg

The above picture is my setup.

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.

 

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.