BaS & ECE April 2015 - page 21

April 2015
21
T
OOLS
& S
OFTWARE
when parts of a project are generated from a
model based on the state machines or activ-
ities as agreed among the respective depart-
ments. us, as has already been mentioned,
model-based development has a particularly
high value when implemented for automatic
code generation and subsequent debugging.
By eliminating complex con guration param-
eters and any frameworks, entry into mod-
el-based code generation is greatly facilitated
by uml2code. Decisions at the model level
can be transparently traced in the generated
code –which is easy to read and well struc-
tured. Project-speci c requirements for code
generation are implemented directly in the
supplied source code. As a result, the require-
ments are easy to understand. In addition, the
generated code can be integrated without any
problems into existing so ware projects, the
advantages of the model-based and the tra-
ditional development can thus be combined
virtually as desired. Moreover, since the code
generator source code is included, there is
no dependence on the solution suppliers. In
order to shi so ware development com-
pletely to Enterprise Architect, the following
rules – necessary for embedded engineering
– are also included in LieberLieber Embedded
Engineer for Enterprise Architect. Instead of
dynamic memory management, which is a
violation against the MISRA C rules, objects
are created statically, and state machines are
instead implemented by a whole set of func-
tions via short and e ective case distinctions.
e LieberLieber UML Debugger also o ers
users a graphical UML debugger, integrated
into Enterprise Architect, that allows the test-
ing and debugging of the so ware, modeled
in UML or SysML, directly on the model level.
e debugging of the model can be started
directly with the code generated from the
model and compiled with any compiler. e
code generator and the debugger forma closed
circuit and allow debugging at the implemen-
tation level - namely the UML model. us, a
possible error even right at the source - the
model - can be located and corrected.
Coupling with the Universal Debugging
Engine (UDE) by PLS, a tool specialized in
optimized target access and detailed architec-
ture support, allows the execution and debug-
ging of the models directly on the actual target
hardware. is is possible thanks to the UDE
object model, which is based on COM tech-
nology from Microso . COM allows pro-
grammatic use by a variety of programming
languages, including the world of .NET such
as C#. COM refers to the totality of all doc-
umented objects, methods, properties, and
data types as an object model. is means that
almost all functional aspects of the Universal
Debug Engine are covered. e LieberLieber
UML debugger uses the object model of the
UDE for, among other things, a connection to
the microcontroller and the programming of
the application into the ash memory of the
target. It is also able to set breakpoints. is
is done directly in the model, for example, on
a particular state of a state machine. Due to
the integrated code generation, it is known
what line in the generated C/C++ code this
corresponds to. is can be handed over to
the debugger for the setting of breakpoints.
Furthermore, the program execution can be
started and stopped via the object model. It is
even possible to read out the variable values
and display them in the UML debugger.
e coupling of a modeling tool with a code
generator optimized for embedded systems
and a model-based testing tool with hard-
ware-level debugger gives the designer the
advantage to not only design so ware at the
model level, but also test and debug it on the
real target. is seamless integration between
tools increases the acceptance of such devel-
opment methods, reduces the occurrence of
errors and represents a large gain in e ciency.
is innovative approach is suitable for new as
well as existing projects.
„
Figure 2. UML Debugger uses services of the Universal Debug Engine for target control.
„„
LDRA: tools provide functional safety
verification within Hercules SafeTI CSPs
LDRA is collaborating with Texas Instru-
ments to provide automated unit test-
ing capabilities as part of TI’s new SafeTI
Compliance Support Packages (CSPs) for
TI’s Hercules MCUs so ware components.
SafeTI CSPs help TI customers comply with
functional safety standards, reducing veri -
cation and validation e orts so that they can
focus on di erentiating their industrial and
automotive systems, which will accelerate
time to market.
„„
PRQA: support for modern C++
features and improved coverage
for MISRA C++ and HIC++
PRQA announces an upgrade to its ag-
ship products QA•C and QA•C++. The new
releases of these leading static analysis tools
for the C and C++ environments incorporate
new functionality covering; Data ow analy-
sis, enhanced Graphical and Command Line
Interfaces, support for the latest Modern C++
language features, and an improved level of
coverage for compliance with the MISRA C++
and High Integrity C++ coding standards.
„„
Embedded Office: Cert-Kits for
Hercules MCUs from TI
Embedded O ce is now o ering its µC/
OS-MPU Cert-Kits for the Hercules
TMS570LS31x/21x and Hercules RM48
microcontrollers from Texas Instruments.
ese ARM-Cortex-R4F-based MCUs o er
scalable performance, connectivity, mem-
ory and safety features. ese MCUs include
safety features implemented in hardware,
which help customers develop di erentiated
industrial and automotive functional safety
applications.
Product News
1...,11,12,13,14,15,16,17,18,19,20 22,23,24,25,26,27,28,29,30,31,...44
Powered by FlippingBook