STM32F0: Using bootloader through USB-UART.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-06 8:30 AM
Hello everyone.
At my device I have to make an opputunity to load a firmware through UART interface. I know, that it's possible to do using just USB-UART converter. At the F1 series for this purpose I should set the BOOT0 and BOOT1 pins, but I don't have those at my STM32F0 uC. In that case, I want to ask the community: how can I organise all of the processes of loading firmware through USB at my controller? If it's possible, provide me please some code examples and schematics. I use STM32F0DISCOVERY board for development, in future I will have only the same controller, as installed at the board.I look forward for your answers. #stm32 #usb #uart #usart #stm32f0- Labels:
-
STM32F0 Series
-
UART-USART
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-06 11:20 AM
Ok, so which part specifically are you using that doesn't have a BOOT[0] pin?
Would suggest you review the documentation for the STM32 System Loader, and USART protocol. Also look at the Flash Loader Demonstrator, with source, and other Open Source equivalents.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
‎2015-07-07 12:17 AM
Sorry, I made a mistake.
I mean, I have only BOOT0 pin at the uC.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-07 2:21 AM
Hi n.yuriy,
BOOT1 isn't a pin but a bit that you may update using the option bytes.With the STLink Utility, you can update the value of ''nBoot1''. WHen nBOOT1 is checked and BOOT0=1, you will boot from System Memory.-Mayla-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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-07 4:41 AM
Dear Mayla, thank you very much for your answer. I'll try to use it.
