LPC2138 Philips Semiconductors, LPC2138 Datasheet - Page 28

no-image

LPC2138

Manufacturer Part Number
LPC2138
Description
(LPC2131 - LPC2138) Single-chip 16/32-bit microcontrollers 32/64/512 kB ISP/IAP Flash with 10-bit ADC and DAC
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC2138FB064
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2138FBD/01
Manufacturer:
NXP
Quantity:
5 000
Part Number:
LPC2138FBD64
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2138FBD64/01
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2138FBD64/01
0
Company:
Part Number:
LPC2138FBD64/01
Quantity:
10
Part Number:
LPC2138FBD64/01+151
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2138FBD64/01,11
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
LPC2138FBD64/01,11
Manufacturer:
NXP
Quantity:
160
Part Number:
LPC2138FBD64/01,15
Manufacturer:
NXP
Quantity:
800
Part Number:
LPC2138FBD64/01,15
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
LPC2138FBD64/01,15
Manufacturer:
NXP
0
Part Number:
LPC2138FBD64/01,15
Manufacturer:
NXP
0
Part Number:
LPC2138FBD64/01,15
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2138FBD64/01,151
Quantity:
9 999
Part Number:
LPC2138FHN64
Manufacturer:
NXP
Quantity:
100
Company:
Part Number:
LPC2138FHN64
Quantity:
630
Philips Semiconductors
9397 750 14868
Preliminary data sheet
6.22.1 EmbeddedICE
6.22.2 Embedded trace
6.22.3 RealMonitor
Standard ARM EmbeddedICE logic provides on-chip debug support. The debugging of
the target system requires a host computer running the debugger software and an
EmbeddedICE protocol convertor. EmbeddedICE protocol convertor converts the Remote
Debug Protocol commands to the JTAG data needed to access the ARM core.
The ARM core has a Debug Communication Channel function built-in. The debug
communication channel allows a program running on the target to communicate with the
host debugger or another separate host without stopping the program flow or even
entering the debug state. The debug communication channel is accessed as a
co-processor 14 by the program running on the ARM7TDMI-S core. The debug
communication channel allows the JTAG port to be used for sending and receiving data
without affecting the normal program flow. The debug communication channel data and
control registers are mapped in to addresses in the EmbeddedICE logic.
Since the LPC2131/2132/2134/2136/2138 have significant amounts of on-chip memory, it
is not possible to determine how the processor core is operating simply by observing the
external pins. The Embedded Trace Macrocell provides real-time trace capability for
deeply embedded processor cores. It outputs information about processor execution to
the trace port.
The ETM is connected directly to the ARM core and not to the main AMBA system bus. It
compresses the trace information and exports it through a narrow trace port. An external
trace port analyzer must capture the trace information under software debugger control.
Instruction trace (or PC trace) shows the flow of execution of the processor and provides a
list of all the instructions that were executed. Instruction trace is significantly compressed
by only broadcasting branch addresses as well as a set of status signals that indicate the
pipeline status on a cycle by cycle basis. Trace information generation can be controlled
by selecting the trigger resource. Trigger resources include address comparators,
counters and sequencers. Since trace information is compressed the software debugger
requires a static image of the code being executed. Self-modifying code can not be traced
because of this restriction.
RealMonitor is a configurable software module, developed by ARM Inc., which enables
real time debug. It is a lightweight debug monitor that runs in the background while users
debug their foreground application. It communicates with the host using the DCC, which is
present in the EmbeddedICE logic. The LPC2131/2132/2134/2136/2138 contain a
specific configuration of RealMonitor software programmed into the on-chip Flash
memory.
Rev. 02 — 15 April 2005
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
28 of 41

Related parts for LPC2138