English
Language : 

KWIKSTIK-K40 Datasheet, PDF (9/19 Pages) Freescale Semiconductor, Inc – KwikStik board assembly
Figure 6. KwikStik ON/OFF switch positioning.
An MgLi rechargeable battery is available to test low power capabilities of the K40X256. This battery is
recharged whenever USB power is available.
2.4 Debug Interface
An MCF51JM128VLD based SEGGER J-Link circuit provides a JTAG and Serial Wire Debug (SWD)
interface to program the on-board K40X256 MCU or an external Kinetis MCU.
2.4.1 Programming an on-board MCU
A JTAG debug interface from the JM128 to the K40X256 allows programming through a USB
connection. A standard USB A male to Micro-B male cable (provided) can be used for debugging via
the USB connector, J18. Drivers for the J-Link interface are provided on the KwikStik DVD and are also
available from SEGGER here: http://www.segger.com/cms/jlink-software.html.
Note: The ON/OFF switch, SW1, needs to be in the ON position in order to provide power to the
K40X256. A green led, D4, will indicate when the switch is turned to ON.
2.4.2 Programming an external Kinetis MCU
The Cortex Debug connector is a 10-pin (0.05") connector providing access to the SWD, SWV, JTAG,
cJTAG, and EzPort signals available on the K40 device. The pinout and K40 pin connections to the
debug connector, J8, is shown in Table 1.
Note: The ON/OFF switch, SW1, needs to be in the OFF position in order to provide ground to the
Cortex Debug connector.
Table 1. Cortex Debug Connector Pinout
Pin Function
TWR-K40X256 Connection
1 VTref
3.3V MCU supply (P3V3_MCU)
2 TMS / SWDIO PTA3/SCI0_RTS_b/FTM0_CH0/JTAG_MS/SWD_DIO
3 GND
GND
4 TCK / SWCLK PTA0/SCI0_CTS_b/FTM0_CH5/JTAG_CLK/SWD_CLK/EZP_CLK
5 GND
GND
KWIKSTIKK40UM
KwikStik-K40 User's Manual
Page 9 of 19