View
2
Download
0
Category
Preview:
Citation preview
© Lothar ThieleComputer Engineering and Networks Laboratory
Embedded Systems
2. Software Development
2 - 2
Where we are …
1. Introduction to Embedded Systems
2. Software Development
3. Hardware-Software Interface
4. Programming Paradigms
5. Embedded Operating Systems
6. Real-time Scheduling
7. Shared Resources
8. Hardware Components
9. Power and Energy
10. Architecture Synthesis
Software
Hardware
Hardware-Software
2 - 3
Remember: Computer Engineering I
Compilation of a C program to machine language program:
textual representationof instructions
binary representationof instructions and data
2 - 4
Embedded Software Development
Compiler
Simulator
Debugger
BinaryCode
operatingsystem
FPGA
Flash
processormicro-
RAM
Software Developer
SoftwareSource Code
previousslide
sensorsactuators
HOST EMBEDDED SYSTEM
2 - 5
Software Development with MSP432 (ES-Lab)
host PC
2 - 6
Software Development (ES-Lab)
Software development is nowadays usually done with the support of an IDE (Integrated Debugger and Editor / Integrated Development Environment)
edit and build the code
debug and validate
2 - 7
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 8
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 9
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 10
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 11
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 12
Software Development (ES-Lab)
source codefile in C
assembly code
relocatableobject file
object librariesthat are referencedin the code
object libraries that contain the operatingsystem (if any)
Linker command file that tells the linkerhow to allocate memory and to stitch the object files and libraries together.
report created by the linker describingwhere the program and data sections are located in memory.
the executable output file that is loaded into flashmemory on the processor
target configuration file specifies the connection to the target (e.g. USB) and the target device
2 - 13
Much more in the ES-PreLab …
The Pre-lab is intended for students with missing background in software development in C and working with an integrated development environment.
2 - 14
Much more in the ES-PreLab …
The Pre-lab is intended for students with missing background in software development in C and working with an integrated development environment.
Recommended