English
Language : 

DS4830_13 Datasheet, PDF (27/30 Pages) Maxim Integrated Products – Optical Microcontroller
DS4830
Optical Microcontroller
DS4830
DEBUG
SERVICE
ROUTINES
(UTILITY ROM)
TMS
TAP
TCK
CONTROLLER
TDI
TDO
CPU
DEBUG
ENGINE
CONTROL
BREAKPOINT
ADDRESS
DATA
Figure 10. In-Circuit Debugger
In-Circuit Debug
Embedded debugging capability is available through
the JTAG-compatible test access port (TAP). 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 10 shows a block diagram of the in-circuit debug-
ger. The in-circuit debug features include the following:
• A hardware debug engine
• A set of registers able to set breakpoints on register,
code, or data accesses (ICDA, ICDB, ICDC, ICDD,
ICDF, ICDT0, and ICDT1)
• A set of debug service routines stored in the utility ROM
The embedded hardware debug engine is an independ-
ent 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 fea-
tures allow two basic modes of in-circuit debugging:
• Background mode allows the host to configure and
set up the in-circuit debugger while the CPU contin-
ues 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 reg-
isters and memory, and single-step trace operation.
Maxim Integrated
Applications Information
Power-Supply Decoupling
To achieve the best results when using the DS4830,
decouple the VDD power supply with a 0.1FF capaci-
tor. Use a high-quality, ceramic, surface-mount capaci-
tor if possible. Surface-mount components minimize
lead inductance, which improves performance, and
ceramic capacitors tend to have adequate high-fre-
quency response for decoupling applications.Decouple
the REG285 and REG18 pins using 1FF X5R and 10nF
capacitors (one each/per output). Note: Do not use
either of these pins for external circuitry.
Additional Documentation
Designers must have three documents to fully use all the
features of this device. This data sheet contains pin descrip-
tions, feature overviews, and electrical specifications. Errata
sheets contain deviations from published specifications.
User guides offer detailed information about device features
and operation. The following documents can be download-
ed from www.maximintegrated.com/DS4830.
• This DS4830 data sheet, which contains electrical/timing
specifications, package information, and pin descrip-
tions.
• The DS4830 revision-specific errata sheet, if applicable.
• The DS4830 User’s Guide, which contains detailed infor-
mation and programming guidelines for core features
and peripherals.
Development and
Technical Support
Maxim and third-party suppliers provide a variety of
highly versatile, affordably priced development tools for
this microcontroller, including the following:
• Compilers (C and assembly)
• In-circuit debugger
• Integrated Development Environments (IDEs)
• Serial-to-JTAG converters for programming and debugging
• USB-to-JTAG converters for programming and debugging
A partial list of development tool vendors can be found at
www.maximintegrated.com/MAXQ_tools.
Email mixedsignal.apps@maximintegrated.com for
technical support.
  27