Installing the JTAG connector IAR KickStart Development Kit for LEGO MINDSTORMS NXT This guide describes how to solder the JTAG connector onto the LEGO MINDSTORMS NXT. This connector and cable will later be used along with the IAR J-Link USB-JTAG debug probe for ARM. DISCLAIMER: You have to open the LEGO MINDSTORMS NXT and solder on PCB. Please note that the LEGO Group warranty of the NXT is invalid after doing this. Neither IAR Systems nor the LEGO Group will take any responsibility of damages done to your NXT once it has been opened. We strongly recommend previous knowledge of soldering on PCB and open electronics. 1. Make sure you have everything you need Suggested tools checklist 1 One LEGO MINDSTORMS NXT 2 A ribbon cable with a 1,27 pitch connector and a JTAG connector (included in kit) 3 A soldering iron and solder 4 A small Philips head screwdriver 5 An electronic precision wire cutter 6 A desoldering pump (Solder sucker) 7 A 1.27 mm x 1.27 mm 16-pin (2x8) dual row pinheader connector (included in kit) QSSOLDERING-01 DRAFT
2. Open your LEGO MINDSTORMS NXT 1 Open the battery case and unscrew the four screws inside. 2 Remove the front that covers the LCD screen. 3 Unscrew the two screws that hold the LCD screen in place. 4 Unplug the connector between the LCD card and the processor card. Be careful since the speaker cables still are attached between the two cards. QSSOLDERING-01 DRAFT 2
3. Unsolder the card and remove it from the plastic case 1 Unsolder the two spots that hold the PCB card to the plastic case. 2 Remove the battery case from the backside. 3 Remove the two plastic parts on the top and bottom. QSSOLDERING-01 DRAFT 3
4. Solder the pin connector 1 Locate the holes where the header pins are to be soldered. The area is marked J17. 2 Cut the dual row pin header connector to be 8x2 pin long. Remove the six middle pins from the pin header connector according to the picture below. You can do this either by pulling the pins out, or by cutting them off. QSSOLDERING-01 DRAFT 4
3 Place the connector in the J17 area. 4 Solder all 10 pins on the backside. QSSOLDERING-01 DRAFT 5
5. Re-assemble the LEGO MINDSTORMS NXT with the JTAG connector cable It is now time to re-asseble the NXT with the JTAG cable connected. You will have to do most of the previous steps in the reverse order: 1 Place the top and bottom plastic parts on the card (step 3.3). 2 Put the battery case back (step 3.2) 3 Solder the card to the battery case (step 3.1) 4 Place the LCD card in the right position and make sure the connection between the cards are correct (step 2.4) 5 Screw the two screws back in place to hold the LCD card steady (step 2.3) 6 Attach the JTAG cable to the pin connector you just soldered (see picture below). 7 Attach IAR J-Link USB-JTAG with the JTAG connector cable using the 20-pin JTAG ribbon cable 8 You will now have a LEGO MINDSTORMS NXT with an IAR J-Link debug probe for ARM ready to play around with. QSSOLDERING-01 DRAFT 6
KickStart Kit content One Welcome letter One KickStart CD One IAR J-Link USB-JTAG debug probe for ARM One USB-A USB-B cable One JTAG connector ribbon cable One 8 pin connector - JTAG connector cable Trademarks etc. IAR, IAR Systems, IAR Embedded Workbench, IAR MakeApp, C-SPY, visualstate, From Idea To Target, IAR KickStart Kit and IAR PowerPac are trademarks or registered trademarks owned by IAR Systems AB. All other product names are trademarks or registered trademarks by their respective owners. Copyright 2007 IAR Systems. All rights reserved. Part number:qssoldering-01. First edition: November 2007. QSSOLDERING-01 DRAFT 7