1/14
Flashcards for reviewing embedded systems software development concepts.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
steps of development the code goes through
compilation, linking, debugging/simulation and execution
ELF (Executable and Linking Format)
Stores compiled code and data, works for relocatable code
DWARF2 (Debug With Arbitrary Record Format)
Holds debug information, such as variable names and line numbers. used for symbolic debugging
ROM
Read-only memory used for permanent code storage.
RAM
Random access memory used for changing data.
how does start up work in embedded systems
ROM is filled with program data, RAM is empty
Execution starts from address 0×0
Initialization routine sets up RAM
Main function runs
the purpose of scatterloading
to control exactly where each part of the code and data go in memory
Load Regions
Defines where data/code is stored at power-on. ROM
whats a debug table
enables symbolic source code debugging, providing a:
link between the source line and the current PC on the target
links between variable names in the source code and target registers
what is fromelf tool for
to convert ELF to a binary format
what is code memory area used for
instructions of the program
what is initialized data memory area used for
variables with predefined values
what is Zero-initialized data memory area used for
variables that start as 0
What is heap memory area used for
dynamic variables
what is stack memory area used for
used for function calls and local variables