8. communication and synchronization

14
© Lothar Thiele Computer Engineering and Networks Laboratory Embedded Systems 2. Software Development

Upload: others

Post on 09-Dec-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 8. Communication and Synchronization

© Lothar ThieleComputer Engineering and Networks Laboratory

Embedded Systems

2. Software Development

Page 2: 8. Communication and Synchronization

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

Page 3: 8. Communication and Synchronization

2 - 3

Remember: Computer Engineering I

Compilation of a C program to machine language program:

textual representationof instructions

binary representationof instructions and data

Page 4: 8. Communication and Synchronization

2 - 4

Embedded Software Development

Compiler

Simulator

Debugger

BinaryCode

operatingsystem

FPGA

Flash

processormicro-

RAM

Software Developer

SoftwareSource Code

previousslide

sensorsactuators

HOST EMBEDDED SYSTEM

Page 5: 8. Communication and Synchronization

2 - 5

Software Development with MSP432 (ES-Lab)

host PC

Page 6: 8. Communication and Synchronization

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

Page 7: 8. Communication and Synchronization

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

Page 8: 8. Communication and Synchronization

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

Page 9: 8. Communication and Synchronization

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

Page 10: 8. Communication and Synchronization

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

Page 11: 8. Communication and Synchronization

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

Page 12: 8. Communication and Synchronization

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

Page 13: 8. Communication and Synchronization

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.

Page 14: 8. Communication and Synchronization

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.