Join our subscribers list to get the latest news, updates and special offers directly in your inbox
Overview
Start-Up Code is the soul of an MCU. It is the first-ever code that runs on an MCU right after the Power On Reset (POR). The Start-Up code triggers the initializing of crucial parts of the MCU needed for booting and the subsequent target application launch.
The start-up code in embedded systems is typically lightweight and is written in assembly language, or a combination of C and assembly. When code is written in assembly language, the developer has greater control and can optimize for speed by carefully selecting specific instructions or instruction types.
NOTE : For more detailed overview of Boot Sequence click on this link
Start-Up Code performs several essential tasks to get the MCU ready to run the target application.
These Tasks include :
All the start-up code tasks execution is done by the reset handler function. After completing all start-up code tasks, the reset handler exits and transfers control to the main() function, beginning execution of the target application.
EmbeddedWala
EmbeddedWala Jun 14, 2023 0 23.6K
EmbeddedWala Apr 27, 2023 0 22.6K
EmbeddedWala Apr 26, 2023 0 19.6K
EmbeddedWala Feb 15, 2024 0 17.9K
EmbeddedWala Aug 30, 2022 0 17.7K
EmbeddedWala Jun 19, 2022 0 5.0K
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies Find out more here