How to reinstall (restore) manufacturer`s bootloader on STM32F103C8T6 development board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 8:57 AM
I have STM32F103C8T6 development board (like this: https://www.rogerclark.net/wp-content/uploads/2014/11/STM32Mini.jpg) which can be programmed by USB interface. I programmed it several time before, but now I can't do this. When I connect it to the PC, I get a warning messege (pinned) and can't load firmware to the STM.
- Labels:
-
Bootloader
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 9:47 AM
The ST boot loader is in ROM, strap BOOT0 high to enter it.
People call this the "Blue Pill"
Still doesn't work, perhaps review voltages on supplies, and behaviour of NRST pin. Try using a SWD/JTAG in "Connect Under Reset" mode, where you connect SWDIO, SWCLK, NRST, GND
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 10:10 AM
Thanks for reply. I can program my STM32 board by external ST-Link V2 programmer, but USB interface is doesn't working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 10:41 AM
And all voltages is normal. On NRST pin is 3.3V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 10:45 AM
USB doesn't report as "STM32 DFU MODE" (or whatever) when BOOT0 is high at power on/reset, or your code running doesn't support USB?
You could have broken/damaged the port and or cable.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 12:30 PM
When I loading empty code (with empty cycles while() and int main()) by external programmer St-Link V2 - usb bootloader still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 12:44 PM
The code you're loading should be irrelevant is BOOT0 is HIGH.
Attempt to isolate the issue to the board by changing USB port, USB cable, or PC
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-07 9:29 PM
Blue pill can't be programmed with USB unless you put an USB-bootloader in it. I wonder if there has been STM32duino USB bootloader in it. The only manufacturer-made bootloader in it is RS-bootloader.
https://wiki.stm32duino.com/index.php?title=Burning_the_bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-08 4:02 AM
Thanks for reply. It's a new board. All that I was do - it load blink code (​then it worked). I did nothing with bootloader. I was try to connected board to the another PC, by another usb cable, but it's still not working:slightly_frowning_face:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-13 5:17 AM
Where did you got it? If it's from STM32DUINO-related place, it may have USB-bootloader preinstalled. STM doesn't put USB-bootloader in F103s.
Check table 3 here...
