Characteristics of Embedded System: Basic Software Techniques For Embedded Applications
Characteristics of Embedded System: Basic Software Techniques For Embedded Applications
Characteristics of Embedded System: Basic Software Techniques For Embedded Applications
Examples:
◦ Personal Computer
Failure to meet deadline results in ◦ Audio and Video
degraded performance
Systems
Timing is critical
Hard Real-
Time Systems
Failure to meet deadline can result
in disaster
4. Perform Specific Task
◦ Total focus of the processor is to perform a single dedicated task
5. User Interface
◦ Used by user to interact with the system
◦ Touchscreen or LCD
6. Processors in Embedded Systems
On-Chip
Packaging Cost Performance
Features
Size
7. Ready-Made Boards
◦ Arduino Board
◦ Raspberry Pi
◦ Banana Pi
◦ Intel Galileo
◦ Beaglebone
BASIC SOFTWARE TECHNIQUES FOR
EMBEDDED APPLICATIONS
Embedded Software
• Editor
• Compiler
• Assembler
• Debugger
This is where the code is written
2. Compiler
Object code is in low level
programming language
therefore it is understandable by
computer
Converts an assembly
language code into machine
language
3. Assembler
All mnemonics and data is
converted to op codes and
bits
Used to debug code
4. Debugger
Tests for errors and bugs
◦ Combines one or more object
code files and library files 5. Linker
together in executable program
Pre-written program that is
ready to use and provides
specific functionality
6. Libraries
File written in C or C++ and
can be used by different
programs and users
Helps to see how the code will
work in real time
7. Simulator
Input values can be changed to
see corresponding outputs
Integrated
Development
Environment (IDE)
• MPLAB and
PICKIT
• Arduino Software
• MATLAB
• LabVIEW
• Visual Studio
MPLAB
◦ is a proprietary freeware integrated development
environment for the development of embedded
applications on PIC and dsPIC microcontrollers,
and is developed by Microchip Technology.