Graphical state
machine
debugging on
hardware
|
The unique
integration
between C-SPY
Debugger in IAR
Embedded
Workbench and
IAR visualSTATE
makes it
possible to see
what is going on
at the state
machine design
level at the
target device.
- View
received event
triggers,
executed
action
functions and
the resulting
global system
state directly
in C-SPY.
- Set state
machine
breakpoints
directly at a
state or a set
of states, to
stop execution
once the
specified
states become
active.
- Get
animation
directly in
the design
diagrams, to
follow
execution on
an even higher
level.
- No need to
write support
code in the
form of
communications
routines
etc—just
compile and
go! There is
no need for
extra
communications
ports
etc—C-SPY
handles all
communication
needed.
- Available
for the vast
majority of
available IAR
Embedded
Workbench
solutions for
8-, 16-, and
32-bit
architectures.
- Choose
between a
number of
different
execution
modes, to
maximize
feedback or
real-time
performance
while
debugging.
|
Benefits
|
The benefits are
obvious: By
getting instant
graphical
feedback of the
system state you
get a real grasp
of what the
system is doing
at any given
time.
Contrast this
with the usual
mode of state
machine
debugging, where
C implementation
level details
distort the view
of the system to
a point where it
is sometimes
more or less
impossible to
figure out what
is going on—if
the data is even
available.
Add to this the
possibility of
specifying
breakpoints on
the state
machine level,
instead of
trying to
specify
complicated and
error-prone data
breakpoints on
the C statement
level to obtain
something
similar, but not
at all with the
same level of
simplicity and
ease.
|
Back to IAR Home Page
Back to Testech Home Page
Compiler
RTOS
Emulator/Debugging
|