JTAG, Multi-ICE and Angel

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Nios Multi Processor Ethernet Embedded Platform Final Presentation
Cortex-M3 Implementation Overview. Chapter 6 in the reference book.
BOUNDARY SCAN.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Processor support devices Part 1:Interrupts and shared memory dr.ir. A.C. Verschueren.
1 Architectural Complexity: Opening the Black Box Methods for Exposing Internal Functionality of Complex Single and Multiple Processor Systems EECC-756.
The ARM7TDMI Hardware Architecture
BEEKeeper Remote Management and Debugging of Large FPGA Clusters Terry Filiba Navtej Sadhal.
Real-Time Systems Design JTAG – testing and programming.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
Prardiva Mangilipally
ARM Processor Architecture
Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.
Cortex-M3 Debugging System
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
COMPUTER SYSTEM LABORATORY Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/
MICE III 68000/20/30 MICETEK International Inc. CPU MICEIII MICEView Examples Contents Part 1: An introduction to the MC68000,MC68020 and Part.
National Taiwan University JTAG and Multi-ICE Speaker : 沈文中.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
NS7520.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
S&IP Consortium Course Material Standard I/O and Core Peripherals Speaker: Tian-Sheuan Chang July, 2004.
25 April 2000 SEESCOASEESCOA STWW - Programma Evaluation of on-chip debugging techniques Deliverable D5.1 Michiel Ronsse.
SOC Consortium Course Material Core Peripherals National Taiwan University Adopted from National Chiao-Tung University IP Core Design.
The ARM7TDMI Processor Block Diagram Vector Table
SOC Consortium Course Material Debugging and Evaluation Speaker: Yung-Tsung Wang InstructorProf. Tsung-Han Tsai.
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
Lab 2 Parallel processing using NIOS II processors
SOC Consortium Course Material Standard IO National Taiwan University Adopted from National Taiwan University SoC Design Laboratory.
Implementation of Embedded OS Lab4 Cortex-M3 Programming.
HCS12 Technical Training Module 15 – Break Module Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
LAB 6 JTAG and Multi-ICE 第四組 R 蘇倉弘 R 莊銘罡 R 陳建志.
SOC Consortium Course Material Lab2 Debugging and Evaluation Speaker: Sun-Rise Wu Directed by Prof. Tien-Fu Chen October 23, 2003 National Chung Cheng.
Computer System Structures
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Lab 1: Using NIOS II processor for code execution on FPGA
Everybody.
Microcontrollers, Basics Fundamentals of Digital Debugging
Computer System Laboratory
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
Implementation of Embedded OS
Microcontroller Applications
Mobile Operating System
COP Interface Requirements
Introduction of microprocessor
JTAG Emulators JTAG emulator Target System Debugger software
JTAG and Multi-ICE National Taiwan University
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 2)
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
ECE 434 Advanced Digital System L18
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Speaker: Tian-Sheuan Chang July, 2004
9.0 EMBEDDED SOFTWARE DEVELOPMENT TOOLS
JTAG Emulators JTAG emulator Target System Debugger software
Debugging Debug environments Debug via serial
COMPUTER PERIPHERALS AND INTERFACES
Five Key Computer Components
Single Event Upset Simulation
Chapter 2: Operating-System Structures
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
ARM Introduction.
Computer System Laboratory
COMP3221: Microprocessors and Embedded Systems
Chapter 2: Operating-System Structures
Chapter 13: I/O Systems.
Presentation transcript:

JTAG, Multi-ICE and Angel Speaker :沈文中 National Taiwan University Adopted from National Taiwan University SOC Course Material

Outline ARM debug Architecture Content of JTAG Content of Embedded ICE Multi-ICE Arch. Angel Arch.

ARM debug Arch.(I) AXD can debug design through: ARMulator(software) Multi-ICE(hardware) Angel(hardware)

ARM debug Arch.(II) Limits of ARMulator Processor core model Memory interface Coprocessor interface Operating system interface

ARM debug Arch.(III) Multi-ICE The solution for ARMulator limits Can emulate custom logic Use hardware to emulate truly results Extended from JTAG Architecture

ARM debug Arch.(IV) Angel A hardware can be real-Monitor interface Angel communicates using ADP Allow multiple indep. sets of messages to share a communications link

Outline ARM debug Architecture Content of JTAG Content of Embedded ICE Multi-ICE Arch. Angel Arch.

JTAG Arch. Serial scan path from one cell to another Controlled by TAP controller

JTAG principle(I)

JTAG Principle(II) JTAG Signals TRST Test reset signal TDI Test data in TMS Test mode select TCK Test clock TDO Test data out

EmbeddedICE interface Pin Name Function 1 SPU System powered up, pin connected to Vdd through a 33 ohm resistor 3 nTRST Test reset, active low 5 TDI Test data in 7 TMS Test mode select 9 TCK Test clock 11 TDO Test data out 12 nICERST Target System Reset (sometimes referred to nSYSRST or nRSTOUT) 13 2, 4, 6, 8,10,14 VSS System ground reference (All VSS pins should be con-nected

Outline ARM debug Architecture Content of JTAG Content of Embedded ICE Multi-ICE Arch. Angel Arch.

Debug extensions to the ARM core The extensions consist of a number of scan chains around the processor core and some additional signals that are used to control the behavior of the core for debug purposes : BREAKPT: enables external hardware to halt processor execution for debug purposes.active high DBGRQ: is a level-sensitive input that causes the CPU to enter debug state when the current instruction has completed. DBGACK: is an output from the CPU that goes high when the core is in debug state

The EmbeddedICE logic This logic is the integrated onchip logic that provides JTAG debug support for ARM core. This logic is accessed through the TAP controller on the ARM core using the JTAG interface. Consists of: Two watchpoint units A control register A status register A set of registers implementing the Debug Communications Channel link

Watch /break point Watchpoints are taken when the data being watchpointed has changed. Breakpoints are taken when the instruction being breakpointed reaches the execution stage. the program counter is not updated, and retains the address of the breakpointed instruction.

Outline ARM debug Architecture Content of JTAG Content of Embedded ICE Multi-ICE Arch. Angel Arch.

Multi-ICE(I)

Multi-ICE(II) Debugging software can be run on different computer through Network. Debugger can be run in different computers

The portmap application To support network connections, an additional application must be running on the windows workstation that runs the The multi-ICE server. the portmapper allows software on other computers on the network to locate the The multi-ICE server.

How multi-ICE differs from a debug monitor A debug monitor is an application that runs on your target hardware in conjunction with your application, and requires some resources(ex:memory) to be avaible The EmbeddedICE debug arch. Requires almost no resources. Rather than being an application on the board, it works by using : Additional debug hardware within the core, parts that enable the host to communicate with the target An external interface unit that buffers and translates the core signals into something usable by a host computer

Outline ARM debug Architecture Content of JTAG Content of Embedded ICE Multi-ICE Arch Angel Arch.

Angel (I) Angel system Debugger: Running on the host computer, giving instructions to Angel and displaying the results obtained from it. Angel debug monitor: Running alongside the application being debugged on the target platform. Armsd: The command line must be of the form: armsd –adp –port s=1 –linespeed 38400 image.axf

Angel (II) Debug support C library semihosting support Reporting and modifying memory and processor status Downloading applications to the target system Setting breakpoints C library semihosting support Enabling applications linked the ARM C and C++ libraries to make semihosting requests by SWI Communications support Using ADP for communicates Providing an error-correcting communications protocol.

Angel (III) Angel’s communications diagram

Angel (IV) Task management Ensuring that only a single operation is carried out at any time Assigning task priorities and schedules tasks accordingly Controlling the Angel environment processor mode

Angel(V) Exception handling SWI Installing it to support semihosting requests , to allow applications and Angel to enter Supervisor mode Undefined Using 3 undefined instructions to set breakpoints in code Data, Prefetch Abort Reporting the exception to the debugger, suspend the application, and pass control back to the debug FIQ,IRQ Enabling Angel communications to run off, or both types of interrupt.

Lab 6: JTAG and Multi-ICE Goal Set up the hardware and the software of Multi-ICE unit and target board.Use Multi-ICE to debug. Principles Basic debug skill Debugger-Target Interface Guidance Overview of examples used in the Steps Steps Multi-ICE connects the parallel port of a workstation to the JTAG interfaces of an ASIC Angel debug monitor uses a serial line or Ethernet to communicate with a development host running an ARM debugger. Requirements and Exercises Write a lotto program that generates N sets of number. The user can specify: Number of the set: N. The numbers must be included in these N sets of number The numbers must not be included in these N sets of number Discussion What’s different between with ARMulator and MultiICE or ARMulator and Angel that we do the debugging task.

Reference Topic & Related Documents Multi-ICE [DUI_0048F_MICE2_2_UG] AXD and armsd Debuggers Guide [DUI_0066D_AXDDG_2_UG ] Getting Started Guide [DUI_0064D_GSG_UG ] AFS_Referece_Guide