Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Why debug
Verify actual performance of software
in detail
Remove issues in software
Software is never 100% correct
..etc
Debugging
Methods
Verify manually
Use debugger software's
JTAG/SWD
JTAG
An Industry Standard IEEE Std
1149.1-1990(JTAG)
In 1985, an ad hoc group composed of
key electronic manufacturers joined to
form the Joint Test Action Group (JTAG).
Objective: to establish a solution to the
problems of board test and to promote a
solution as an industry standard.
Solution : Boundary scan through TAP
Boundary scanning
Boundary scanning
SWD
SWJ
The known JTAG Debug Port (JTAG-DP) is
supported furthermore. Both debug ports, the SWD
and the alternative JTAG debug port can be
combined to the Serial Wire JTAG Debug Port (SWJDP), the CoreSight standard port.
When using SWD, the TDO signal can provide trace
event messages via the Serial Wire Output (SWO).
This behaviour can be used by the Serial Wire Viewer
(SWV) to output system events via a single pin:
Instrumentation trace ITM (printf-like Debugging)
Watchpoint Trace DWT, Instruction Pointer Trace
Event Trace (Interrupts)
JTAG Connectors
Signal descriptions
SWD Interface