Reset button not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 12:42 AM - last edited on ‎2024-10-04 2:08 AM by mƎALLEm
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.
Solved! Go to Solution.
- Labels:
-
Bootloader
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 2:38 AM
Yes, and from that time i am unable to upload the codes using uart and the reset pin is not functioning as before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 2:41 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 2:59 AM
Yes, by using the ST - LINK i am uploading the code but cannot reset the program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:03 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:08 AM
I have mentioned the board from beggining i.e STM32F103C8T6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:12 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:18 AM
I am not using any board. For uploading through ST-LINK i am using a ST-LINK V2 clone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:22 AM - edited ‎2024-10-04 3:22 AM
@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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:30 AM
The above picture is my setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-04 3:38 AM
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.

- « Previous
-
- 1
- 2
- Next »