DS2790 Maxim Integrated Products, DS2790 Datasheet - Page 39

no-image

DS2790

Manufacturer Part Number
DS2790
Description
Programmable 1-Cell Li-Ion Fuel Gauge and Protector
Manufacturer
Maxim Integrated Products
Datasheet
www.DataSheet4U.com
DataSheet U .com
IN-CIRCUIT DEBUG
Embedded debugging capability is available through the JTAG-compatible Test Access Port. Embedded debug
hardware and embedded ROM firmware provide in-circuit debugging capability to the user application, eliminating
the need for an expensive in-circuit emulator. Figure 21 shows a block diagram of the in-circuit debugger. The in-
circuit debug features include:
Figure 21. In-Circuit Debugger
The embedded hardware debug engine is an independent hardware block in the microcontroller. The debug engine
can monitor internal activities and interact with selected internal registers while the CPU is executing user code.
Collectively, the hardware and software features allow two basic modes of in-circuit debugging:
4
·
·
·
·
·
Background mode allows the host to configure and set up the in-circuit debugger while the CPU continues
to execute the application software at full speed. Debug mode can be invoked from background mode.
Debug mode allows the debug engine to take control of the CPU, providing read/write access to internal
registers and memory, and single step trace operation.
a hardware debug engine,
a set of registers able to set breakpoints on register, code, or data accesses
a set of debug service routines stored in the utility ROM.
TMS
TDO
TCK
TDI
(ICDA, ICDB, ICDC, ICDD, ICDF, ICDT0, and ICDT1)
CONTROLLER
UTILITY ROM
ROUTINES
SERVICE
DEBUG
TAP
DS2790 Programmable 1-Cell Li-Ion Fuel Gauge and Protector
39 of 41
ENGINE
DEBUG
BREAKPOINT
CONTROL
ADDRESS
DATA
CPU

Related parts for DS2790