UNIT 4 JTAG, BDM and Nexus
UNIT 4 JTAG, BDM and Nexus
UNIT 4 JTAG, BDM and Nexus
UNIT 4
In-Circuit Emulators
BDM/JTAG and Nexus
Dr.T.C.Kalaiselvi
Associate Professor /Department of ECE
Kongu Engineering
College
Perundurai
Topics to be covered
BDM, JTAG, and Nexus
• The debug kernel has been implemented in
firmware.
• Thus, for the kernel to execute correctly on new
hardware, the new design must at least get the
processor–memory interface correct.
• Increasing levels of integration create a related
problem: How do you modify firmware when
it’s embedded on a chip in which you can’t use
a ROM emulator?
• Chip vendors are beginning to supply
Hardware implementations of the debug
kernel as part of the chip circuitry.
• Debugging tools can continue to deliver run
control and to monitor system resources even
if the processor chip isn’t able to
communicate with the rest of the board
• debugging tools can continue to deliver run control
and to monitor system resources even if the processor
chip isn’t able to communicate with the rest of the
board
• Thus, moving the debug kernel into hardware has
contributed to the emergence of new standard interface
protocols.
Three major debug protocols are used today: BDM
(Background Debug Mode), IEEE 1149.1 ,JTAG (Joint Test
Action Group), and IEEE-5001 ISTO (Nexus).
Background Debug Mode
• The first level provides for simple run control commands. Each successive level
adds more capabilities and requires more pins on the processor to implement.
These additional pins allow real-time trace data to be output by the processor
without stalling the processor core.
• Thus, a manufacturer of an 8-bit embedded controller might only need to
implement the first level of compliance because I/O pins are precious
commodities for a low-cost device.
• Manufacturers of high- performance 32-bit embedded processors would probably
want to implement a higher level of compliance to provide real-time trace and
other capabilities.
• Also, Nexus used the JTAG protocol (IEEE 1149.1) as the standard protocol for the
lowest level of compliance. This means a well-accepted standard protocol, with a
rich set of existing tools and software support, is usable for the Nexus
Methodology.