There are several main hardware configuration steps. After installing the battery, once the USB cable has been connected between the evaluation board and PC, it may be necessary to update the chip firmware which requires moving a jumper pin on the evaluation board.
Install the included battery into the VBAT (RTC) battery holder. Then, connect one end of the USB cable to the PC and the other end to the Power/OSJTAG mini-B connector on the TWRK40x256 module. Allow the PC to automatically configure the USB drivers if needed.
Before updating the firmware, it is necessary to start a CodeWarrior Project.
Firmware may change after an evaluation board has been manufactured and shipped. As a result, an alert will be displayed during the first attempt to download software to the board. Follow the instructions carefully.
With propertly set up hardware, users can return to Step 3: Import the LED Project of the Blink a LED on Kinetis Tutorial
When using CW 10.2, Update 1.0.0, there is no K40 MK40X256VMD100 chip listed. The closest match would appear to be MK40DX256Z. Under connections, there are many P&E options, but the only Open Source JTAG does not have the P&E label in front of it. Similarly other references in above steps to the chip ID and to PnE, etc., do not show up.
The code generated by the bareboard project does work; if someone gets the firmware updated, they might as well continue with this project first to see the "Hello World" print out.
Note that in the above instructions, there is no step 3: Import the LED Project.
Robert,
Thanks for the feedback. I would also suggest people look at the LabGuide on the TWR-K40 product page.
To answer your questions though:
MK40DX256Z is the target you want to pick.
Open Source JTAG (OSJTAG) is administered by P&E on Freescale's behalf. Hence, some people improperly refer to it as P&E OSJTAG.
I will likely revamp this page and maybe consolidate it with another.