LEVEL 00 / LESSON 10

Interview Questions

Learn the concept first, then connect it to registers, firmware implementation, hardware behavior and debugging.

01 / CONCEPT

Compiler → Linker → ELF → HEX

Embedded source code is transformed through several build stages. The compiler translates source files into object files. The linker combines objects and libraries according to a linker script and produces an executable image such as ELF. A HEX file is a representation suitable for programming tools; it is not the same thing as the ELF debugging image.

CORE IDEA

.c → compiler → .o

ENGINEERING VIEW

Linker + linker script → ELF

WHAT TO CHECK

ELF contains executable/debug information

REMEMBER

Map files help inspect memory placement

02 / PRACTICAL CHECK

Engineer’s checklist

  • .c → compiler → .o
  • Linker + linker script → ELF
  • ELF contains executable/debug information
  • HEX represents programmed image data
  • Map files help inspect memory placement
lesson-notes.c
// Level 0 practical notes
// Next iteration: register diagrams + full STM32 examples.