Types of Embedded Systems Development Tools
Types of Embedded Systems Development Tools
1.Stimulator
Among all other tools used for development of software for embedded system, there is
another tool stimulator.
The simulator enables you to know how the code that you created actually works in reality.
You might be able to see the interaction of sensors by changing the input entries from
sensors.
You may analyze what type of function different components performing and what is the
effect, created by changing input values.
After knowing about some basic tools for the software development of the embedded
system, you may need to know about a software that we have here in detail.
Examples of simulators are Proteus which is used for simulation of the microcontroller based
project and microprocessor based projects.
Following video lecture will show you show to use Proteus for microcontrollers simulation to
check your program output
Proteus ISIS as a simulator
Proteus is software in which we can make an easily schematic capture, PCB, and simulation
of a microprocessor. It’s a simple but more effective interface that simplifies the task required
to be performed. It’s more attracted to the user also can say that its user-friendly.It provides
a powerful working environment. The user can design the different electronics circuits with
all necessary components like simple resistance, power supply, and different
microprocessors or microcontroller. This application mostly used in educational institutes
because it easy to use and easy to understand the students.
Proteus Feature
Easy to use.
User-Friendly.
Effective interface.
Circuit designing and schematic makes easily.
Provides working environment.
Microcontroller Simulation in Proteusproteus for embedded systems simualtion
The microcontroller simulation in Proteus works by applying “hex” file or another file to the
microcontroller. here some important microcontrollers which we simulate in Proteus
Microchips
PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC33 Microcontrollers.
ARM microcontrollers
MSP microcontrollers
Microprocessors
PIC Simulation
The Circuit
The Schematic
Select Components
Write Program (in Keil uVision, Mikro C for pic etc)
Assembly Program
Attach Program
Test Program
2. Code generation
Code generation and meta-programming can be significant time savers in embedded
software projects. But project leaders and developers are reluctant to use it, for various
reasons. This post looks into these reasons and analyses them one at a time. In conclusion,
only some of the reservations towards code generation tools seem to be justified.
By code generation I mean tools that output C code intended to run on the embedded
system or the wider context (test system, support code). There are some problems that
typically lend themselves to code generation:
Code generation tools save time and effort because developers can concentrate on
specifying the problem and let the tool deal with the implementation. The alternative is
implementing by hand, and relying on informal specification (i.e. a Word document) only.
This is dangerous for several reasons. First – if the specification changes at a later point, the
hand-coded implementation will need to be reworked by hand. And even more importantly –
for any problem that can be described by a formal model, it is probably a good idea to use
the model and stick to its formalism. Even better is to follow the model rigorously. A
laissez-faire approach to model compliance is a risky endeavour. An uncleanly implemented
parser may have serious security implications. Sloppy state machines may have serious
safety repercussions. The best way to guarantee correctness with regards to a model is to
rely on formal specification and a tool to generate the implementation automatically.
EditorMPLAB editor
The very first tool in the development of software for an embedded system is a text editor.
You need to write source code. In Embedded System Development Tools, Editor is used to
writing code for embedded systems applications.
It is the editor where you write that code.
The code is written in programming language either C++ or C.
There is a standard ASCII text editor that is used to write source code and you save your file
as ASCII text file.
Translate the code by Compiler or AssemblerTranslate the code by Compiler or Assembler
Compiler/Assembler is the second tool in your embedded system software development.
Once you are done with your source code, you need to translate that code into the
instructions on the basis of which, the microcontroller will operate.
The set of instructions in the microcontroller is called as ‘Op Codes’.
Now, you might be thinking what Op Codes are.These bits are decoded and then executed.
Most of the times, the Op Codes are not written in bits but in hexadecimal numbers.
And one hexadecimal number means 4 bits.
Two hexadecimal number will represent 8 bits that mean 1 byte.
Op Codes are actually bits (0 and 1) that are present in a sequence.
The compiler is used to for translating the source code into another code called ‘hex code’.
This code now represents the machine’s instruction code.
One can say that the purpose of the compiler is the conversion of a high-level programming
language into a low-level programming language.
Linkers
The codes are written into smaller parts for ease.
The linker is a program that combines the number of codes for execution.
Linkers are used for linking the codes that are saved in different files into one single final
program.
It also takes much care of allocation of memory of chips so that the different modules saved
into a single program do not overlap.
Libraries
You can say a library is an already written program that you can use instantly and some
specific function is provided by that program.For the software development tools of the
embedded system, the library is very significant and appropriate.
Say for instance, you may download an Arduino microcontroller that is available with
different libraries and you can use them in the development of your software for the
embedded system.
Using library you can control LED’s and or read sensors like encoders.
DebuggerMPLAB debugger
The name debugger speaks itself. This tool is used for debugging your code.
The debugger is actually as a tester and is used to test whether your code contains error or
not.
The debugger has a complete look at the code and test if there are any errors or bugs.
It tests different kinds of errors like any error in your syntax or if there is any runtime error
and it tells where the error is actually taking place.
The place where the error occurs is highlighted by the debugger so that you can easily
remove your error by doing some changes.
So, you get to know how important debugger in the development of software is in embedded
systems.
The figure shows the cycle for the development of software.embedded system development
tools