Philips LPC2138 Use of an external debugger, Setting up a debug environment for the first time

Page 13

Use of an external debugger

An external debugger can be:

a JTAG debugger, which connects to a 20-pin P3 connector

a development tool supporting JTAG debugging and ETM (on-chip trace), which connects to a 38-pin Mictor P2 connector

Setting up a debug environment for the first time

Verify jumpers J15-J20 (see Jumpers description for their default position)

Verify that jumper J8 is set

Verify that jumper J7 is set if your development tool connects to P2

Verify that jumper J9 is set in position 2-3 (on-board integrated debugger disabled)

winIDEA 2006 application must to be installed and run once in order to power the ITLPC2138 board through the USB connection.

Connect the USB cable to the PC and to the ITLPC2138.

Windows should auto-detect a new USB device and install belonging USB driver. In case of any problems, the driver is located under winIDEA install directory (e.g. c:\winIDEA\2006\USBDrv).

Disconnect the USB cable from the ITLPC2138 and then connect it again. The two power LEDs should turn on. The target board is not powered if the LEDs don’t lit and the problem needs to be resolved before proceeding to the next step!

Disconnect the USB cable from the ITLPC2138 once again, connect the external development system to P2 or P3 (depending on the development system), turn it on and then connect back the USB cable.

Execute a debug command equivalent to the CPU reset debug command. This should initialize the development system and the user should be able to write to the internal CPU RAM through the memory window. The development system should be now ready for use.

© iSYSTEM, December 2005

13/16

Image 13
Contents Dimensions User’s GuidePhilips LPC2138 Target Board V1.4Contents Description IntroductionView of the ITLPC2138 Block Diagram Name Components ListDescription Jumper & Connector Descriptions Power SupplyJ21 16 Pin LCD Connector see connectors J12 Manufacturing purpose connectionsDB9 male connector UART1 P5 Connectors3-pinserial connector UART0 J14 Pin No. Symbol20-pinJTAG Debug Connector P3 16-pinLCD connector J21Symbol Pin NoCPU expansion connectors 38-pinMictor JTAG Debug & ETM Trace Connector P2Figure 4 Expansion connectors 10/16 Schematic11/16 Licensing the on-boardintegrated debuggerUse of the on-boardintegrated debugger Setting up a debug environment for the first time Use of an external debuggerTroubleshooting 15/16 16/16 iSYSTEM. All rights reserved
Related manuals
Manual 13 pages 47.16 Kb