Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Bootloader-STM32

Created an application that runs after the bootloader starts in a different portion of the memory in STM32F411RE Nucleo Board. This repository was created to obtain a hands-on experience in bootloaders.

Key takeaways:

  • Basics of the linker script
  • How to place variables in RAM and FLASH
  • How to create functions in RAM and FLASH
  • How to create a simple bootloader
  • How to offset the interrupt vector and create an application to run in a different memory region
  • How to debug the bootloader and application
  • How to share an API between the bootloader and the application

Memory Partitioning in STM32

image

image

Creating a new function in that memory partition

image

image

image

Bootloader, Application, and the shared static library which is created in the MY_MEMORY region

image

Debugging both the Bootloader and Application by setting the Bootloader as the entry point

image

Shared API for both the Bootloader and the Application

image

Accessing the API which is in the MY_MEMORY from the Application

image image

About

An application that runs, after the bootloader starts in a different portion of the memory, in STM32F411RE Nucleo Board. Developed this repo to have hands-on experience in bootloaders.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages