R41Z-EVAL User Guide
Rev 2.0
15
6.2
Debug Interface
The R41Z Evaluation Board features an OpenSDA 2.1 interface which includes a SWD connection and
virtual COM port for easy programming and debugging of the R41Z module.
6.2.1
OpenSDA Interface
The OpenSDA hardware is separated from the R41Z target by a set of level shifters to ensure that
debugging can be done regardless of the DC-DC mode used. The interface will operate in a similar
manner to other evaluation boards that use OpenSDA. When connected to a host computer, the
Evaluation board will appear as a mass
storage device named “FRDM
-
KW41Z”. Binary files can be
directly copied to this drive to load them to the R41Z target.
The R41Z Evaluation Board ships with a Segger debug application loaded but other OpenSDA 2.1
applications may be used. To load a new OpenSDA application, apply power to the board while
holding the reset button. The Evaluation Board will appear as mass storage device named
“Maintenance” onto which the OpenSDA application binary can be copied.
6.2.2
Reset Button
The reset button is primarily meant to be used to reset the R41Z module. It is also used to put the
OpenSDA interface into “Maintenance” mode to allow for different Debug Applications to be loaded.
The reset pin on the R41Z module and the OpenSDA I/O are both connected to the reset button and
isolated from each other by diodes. Unlike the standard OpenSDA implementation, a header is not
needed to select which device the reset button is connected to.
When power is initially applied, the OpenSDA interface momentarily ignores any reset signal asserted
by the R41Z in order to sample the state of the reset button. This is done by setting the reset line level
shifter between the OpenSDA interface and the R41Z to a high impedance state.
Figure 21
–
Schematic: Reset Button
6.2.3
External Debug Header
Summary of Contents for R41Z-EVAL
Page 1: ...R41Z EVAL User Guide ...