2023-07-12 09:20 PM
Hi, I am currently working on Stm32F407 Microcontroller and I have need a bootloader code for USART. So kindly I am requesting you to share the code as soon as possible. I have completed my project, but because of bootloader I am not able to finalized my project. I have tried and saw your bootloader tutorial, but I did not get it.
In my customised hardware BOOT 0 pin is kept low(i.e. ground).
Thank you.
2023-07-13 02:50 AM
Hello @ssah.1,
I recommend you the following resources to configure the bootloader:
Hope this helped you!
Imen
2023-07-13 03:33 AM
What is the perceived role of this bootloader in this project?
Strapping BOOT0 low is unhelpful if you expect the ROM based System Loader to function.
If you have code running on the MCU it is possible to transfer control to the ROM code. Is that what you're looking for? Or to implement your own loader for easier updating?
Explain your situation better.
2023-07-23 10:05 PM
2023-07-23 10:22 PM
Benefits you will take away:
• Understand the basics of the linker script
• Understand how to place variables in RAM and FLASH
• Understand how to create functions in RAM and FLASH
• Learn how to create a super simple bootloader
• Learn how to offset the interrupt vector and create an application to run in a different memory region
• Learn how to debug bootloader and application
• Learn how to share an API between bootloader and application
See here:
How to Create a Super Simple Bootloader, Part 1: Getting Started
Note: I couldn't get the USB Host part to work in the application. But bootloader via USB Host worked.
2023-07-23 10:24 PM - edited 2023-07-23 10:25 PM
Playlist: https://www.youtube.com/watch?v=OkUQ3iMmiYQ&list=PLnMKNibPkDnEb1sphpdFJ3bR9dNy7S6mO
(There are 6 parts)