Introduction Philips LPC2138 Target Board is an evaluation and a development system for Philips ARM7TDMI-S based LPC2138 microcontroller. The ITLPC2138 package consists of a USB cable and a target board populated with Philips LPC2138 CPU, minimum peripherals, JTAG debug connector, ETM trace connector and an on-board integrated iSYSTEM debugger.
Power Supply The target board is powered from the PC USB port, through which winIDEA (IDE) running on a PC, connects to the on-board integrated debugger. Connection is made using a standard USB cable. Battery power supply for RTC can be optionally connected to J11 (see J11 description for more details). Jumper &...
Page 8
16-pin LCD connector (J21) Pin Assignment for Crystal Clear technology CMC216x04 LCD Pin No. 20-pin JTAG Debug Connector (P3) An external JTAG debug tool can be connected to a 20-pin P3 debug connector. Jumper J9 must be set to 2-3 position when using an external debugger.
Page 9
38-pin Mictor JTAG Debug & ETM Trace Connector (P2) Not used Not used Not used CPU_RESET CPU_TDO CPU_TMS CPU_TDI CPU_TRST An external JTAG & ETM debug tool can be connected to a 38-pin Mictor P2 debug connector. Jumper J9 must be set to 2-3 position when using an external debugger.
Licensing the on-board integrated debugger A 30-days evaluation period starts after the debugger (winIDEA) connects to the ITLPC2138 for the first time. Within the evaluation period, the user should request a regular license from iSYSTEM. Run the request wizard to obtain the license INIT string by pressing the ‘Request INIT…’ button in the ‘Hardware/Hardware/License’ tab.
Use of the on-board integrated debugger Follow below instructions, in order to get a sample application running with “out of the box” experience. All jumpers are set in the default position during the final tests in the manufacturing. If winIDEA 2006 CD is not part of the package, please obtain winIDEA 2006 setup from your local iSYSTEM office or from www.isystem.com.
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 •...
There was a case, where the code was programmed in the flash, which disabled the JTAG debug port shortly after reset. Due to the Philips implementation, the debugger cannot take over control over the CPU immediately after reset, but a part of code is executed before the CPU can be stopped by the debugger. In this particular case, the application disabled JTAG port before the debugger took control over the CPU and the debugger could not connect to the CPU at all.