Professional Documents
Culture Documents
Systems
Nam Ho
Dr. Anh-Vu Dinh-Duc
Module Outline
Development Process
Consists of cycles of editing-testing-
debugging
Processor and hardware part once
chosen remains fixed, the application
software codes have to be perfected by a
number of runs and tests
Cross-Platform Development
8/20/2010 Embedded Systems Course: Development of Embedded Systems - 2010 5
Cross-Platform Development
Software for an embedded system is developed on
one platform but runs on another
The host system is the system on which the
embedded software is developed
The target system is the embedded system under
development
A set of connections might be available between
the host and the target system
JTAG
BDM
Serial Port
Ethernet
Building Process
Free Software
GNU make: Automation tool for compilation and
build
GNU Compiler Collection (GCC): Suite of compilers
for several programming languages
GNU Binutils: Suite of tools including linker,
assembler and other tools
GNU Debugger (GDB): Code debugging tool
C Library: uLibc, gLibc
Supporting x86, ARM, MIPS, PowerPC, SuperH …
Compiling/Linking
How ?
Executable
image
How ?
.o .elf
SECTION {
.text :
{
my_section *(.text)
}
loader : > FLASH
GROUP ALIGN (4) :
{
.text,
.data : {}
.bss : {}
} >RAM
}
Embedded
processors are built-
in a small boot code