DoCD IP Core. DCD on Chip Debug System v. 6.02

Similar documents
DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

C O M P A N Y O V E R V I E W

Revolutionary Quad-Pipelined Ultra High Performance 16/32-bit Microcontroller v. 6.05

Pipelined High Performance 8-bit Microcontroller ver 3.10

DQSPI IP Core. Serial Peripheral Interface Master/Slave with single, dual and quad SPI Bus support v. 2.01

DRPIC166X IP Core. High Performance 8-bit RISC Microcontroller v. 2.17

NEW CEIBO DEBUGGER. Menus and Commands

D16750 IP Core. Configurable UART with FIFO v. 2.25

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

DS-251 In-Circuit Emulator

8-bit Microcontroller ver 1.06

D68HC11F 8-bit Microcontroller

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales

I 2 C Bus Interface - Slave ver 3.08

DEVELOPMENT OF A DEBUG MODULE FOR A FPGA-BASED MICROCONTROLLER. Rainer Bermbach, Martin Kupfer

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Configurable UART ver 2.10

Programming in the MAXQ environment

V8-uRISC 8-bit RISC Microprocessor AllianceCORE Facts Core Specifics VAutomation, Inc. Supported Devices/Resources Remaining I/O CLBs

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

CEIBO FE-5131A Development System

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

DS-51 Microprocessor Development System

_ V Renesas R8C In-Circuit Emulation. Contents. Technical Notes

EB-51 Low-Cost Emulator

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Today. Comments about assignment Max 1/T (skew = 0) Max clock skew? Comments about assignment 3 ASICs and Programmable logic Others courses

Lecture 1. Course Overview and The 8051 Architecture

Introduction to 8051 microcontrollers

R bit Microcontroller Megafunction

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Configurable UART with FIFO ver 2.20

3 2-bit ARM Cortex TM -M3 based

Pipelined High Performance 8-bit Microcontroller ver 3.10

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator

EE4380 Microprocessor Design Project

Keil uvision development story (Adapted from (Valvano, 2014a))

DP8051XP IP Core. Pipelined High Performance 8-bit Microcontroller v. 5.02

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

_ V ST STM8 Family On-Chip Emulation. Contents. Technical Notes

Digital IP Cell 8-bit Microcontroller PE80

Configurable Embedded Systems: Using Programmable Logic to Compress Embedded System Design Cycles

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools

CEIBO FE-5111 Development System

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

Versa-Kit-30xx Getting Started Guide Rev 1.0

Megawin 8051 OCD ICE

D68HC11K 8-bit Microcontroller

NIOS CPU Based Embedded Computer System on Programmable Chip

Chapter 4. Enhancing ARM7 architecture by embedding RTOS

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

NIOS CPU Based Embedded Computer System on Programmable Chip

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Parts List. Nohau In-Circuit Emulators. EMUL51-PC For the 80C51MX Family. By ICE Technology Tel Tel Fax

NEC 78K0- Family On-Chip Emulation

Documentation Design File Formats

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP2

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

EMUL-AVR-PC. User Guide

Figure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on

CEIBO FE-51RD2 Development System

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

EMUL-PPC-PC. Getting Started Guide. Version 1.0

Copyright 2016 Xilinx

ENE 334 Microprocessors

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

DS-XA In-Circuit Emulator

IAR Embedded Workbench for 8051 Version 7.30A

Quick Start Guide for the Turbo upsd DK3300-ELCD Development Kit- RIDE

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

_ V Intel 8051 Family In-Circuit Emulation. Contents. Technical Notes

Rapidly Developing Embedded Systems Using Configurable Processors

AL8253 Core Application Note

Embedded Systems. 8. Hardware Components. Lothar Thiele. Computer Engineering and Networks Laboratory

Laboratory Exercise 3 Comparative Analysis of Hardware and Emulation Forms of Signed 32-Bit Multiplication

Embedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP9

Introduction to ARM LPC2148 Microcontroller

Nios Soft Core Embedded Processor

Design UART Loopback with Interrupts

ECE 471 Embedded Systems Lecture 2

! Program logic functions, interconnect using SRAM. ! Advantages: ! Re-programmable; ! dynamically reconfigurable; ! uses standard processes.

The Design of a Debugger Unit for a RISC Processor Core

PGT302 Embedded Software Technology. PGT302 Embedded Software Technology

Summer 2003 Lecture 1 06/09/03

SIDE51 Quickstart Manual. SPJ Systems 101, Beaver Grandeur Baner Road Pune Tel Fax

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

Multi Cycle Implementation Scheme for 8 bit Microprocessor by VHDL

8051 Microcontroller

Getting started with E909.06

EPM900 - Overview. Features. Technical Data

Overview of Microcontroller and Embedded Systems

HCS12 BDM Getting Started V4.3

Transcription:

2018 DoCD IP Core DCD on Chip Debug System v. 6.02

C O M P A N Y O V E R V I E W Digital Core Design is a leading IP Core provider and a System-on-Chip design house. The company was founded in 1999 and since the very beginning has been focused on IP Core architecture improvements. Our innovative, silicon proven solutions have been employed by over 300 customers and with more than 500 hundred licenses sold to companies like Intel, Siemens, Philips, General Electric, Sony and Toyota. Based on more than 70 different architectures, starting from serial interfaces to advanced microcontrollers and SoCs, we are designing solutions tailored to your needs. I P C O R E O V E R V I E W DCD s on-chip Debug System (DoCD ) prominently cuts debugging time. Integrating DCD IP Cores with a Hardware Assisted Debugger and Debug IP Core, provides a powerful SoC development tool, with advanced features. The DoCD system consists of three major blocks: Debug IP Core Hardware Assisted Debugger Debug Software The Debug IP Core block is a real-time hardware debugger, which provides an access to all chip registers, memories and peripherals, connected to DCD s IP Core (Dx8051/Dx80390 /DRPIC/ DFPIC/Dx6811) and controls CPU work by nonintrusive method. A high-performance Hardware Assisted Debugger (USB-xTAG) is connected to the target system containing the DCD s core either in FPGA or ASIC. The Hardware Assisted Debugger manages communication between the Debug IP Core inside silicon using DTAG, TTAG, or JTAG protocol, and Debug Software using USB port. F L A S H P R O G R A M M I N G The DoCD debugger fully supports programming of all FLASH memory devices. Such support is assured by configurability of FLASH programming algorithm and supported devices database. New FLASH device can be easily added to the existing base, using a built-in editor. The DoCD debugger allows the user to easily perform in-system programming of its FLASH memory, without using any external equipment. The FLASH programming task is performed directly within the Debug software and after uploading of the code, it is ready for the debugging. Due to HAD2 support, the programming time is very short. This feature saves time and makes usage of DCD's debugger very comfortable and flexible. N O N - I N T R U S I V E S Y S T E M In typical intrusive systems, the debugging tool uses for its own needs some system resources, e.g.: part of program space, several cells of RAM memory, ports pins; sometimes system is losing interrupts or the program code is manipulated, to support software breakpoints and so on. Even a simple debugging system consumes UART and timer resources, to support its own tasks. These simple 'emulators' cannot provide trace and other advanced debugging functions, being at the same time very intrusive in the debugging cycle. Imagine, trying to debug an interrupt problem, while the 'emulator' is manipulating interrupts itself! Developing firmware is all about producing code, which is 100% reliable in operation and fully understood, in terms of how it will perform in adverse conditions. A real-time, non-intrusive on-chip debugger, which assists the user in his tasks, is the most important tool that the user can have. This is why using of non-intrusive systems is so important. It is also the reason, why the DoCD debugging tool has been designed as a non-intrusive system. K E Y F E A T U R E S OF T H E D E B U G I P C O R E Processor execution control Run, Halt Reset Step into instruction Skip Instruction Read-write all processor contents Program Counter (PC) Program Memory Internal (direct) Data Memory Special Function Registers (SFRs) External Data Memory Code execution breakpoints up to eight real-time PC breakpoints unlimited number of real-time OPCODE breakpoints (v 4.00 and above) Hardware execution watch-points two at Internal (direct) Data Memory two at Special Function Registers (SFRs) two at External Data Memory Hardware watch-points activated at: certain address by any write into memory certain address by any read from memory certain address by write into memory a required data certain address by read from memory a required data An unlimited number of software watch-points Internal (direct) Data Memory Special Function Registers (SFRs) External Data Memory An unlimited number of software breakpoints Program Memory(PC) Instructions Smart Trace Buffer configurable up to 8192 levels (optional) 1

Automatic adjustment of debug data transfer speed rate between HAD and Silicon Communication interface TTAG interface v4.70 and above JTAG interface v4.00 and above DTAG three wire communication v3.xx Fully static synchronous design with no internal tristates D E B U G S O F T W A R E The DoCD TM Software (DS) is a Windows based application. It is fully compatible with all existing 8051/80251/80390 C compilers and Assemblers. The DS was designed to work in two major modes: a software simulator mode and a hardware debugger mode. Those two modes allow the pre-silicon software validation in simulation mode; then realtime debugging of the developed software inside silicon - using the debugger mode. Once loaded, the program may be observed in the Source Window, run at full-speed, single stepped by the machine or C-level instructions or stopped at any of the breakpoints and watch-points. The DoCD Debug Software supports all DCD s DQ8051x/DT8051x /DP8051x /DP80390x in the following architectures: Revolutionary Quad-Pipelined Ultra High Performance (DQ - 1 CLK per instruction) Pipelined High Performance (DP - 1T cycle) Tiny RISC (DT -2T cycle) with their particular configurations. R E A L - T I M E H A R D W A R E D E B U G G E R The real-time hardware debugger - a tool able to detect processor s internal properties, which are not visible outside the processor without any violation of real-time operations. The DoCD gives you the chance to track down hidden bugs within the application running with a microcontroller. Internal events, such as the reading of the SFR sregisters, are not mirrored on the external addressdata bus. However, by using special logic to detect operations that affect internal resources, the DoCD gives you the ability to track such internal events, without any violation of a real-time operation. There is no need to use any special external logic for the emulation. D E B U G I P C O R E The Debug IP Core can be provided as a VHDL or Verilog source code, as well as CPLD/FPGA EDIF Netlist, depending on customer s requirements. Due to the fact, that many SoC designs have both power and area limitations, the DoCD provides a scaled solution. The Debug IP Core can be scaled to control gate count - the benefit is fewer gates - for lower use of power and core size, while maintaining excellent debug abilities. Typically, all the features are utilized in pre-silicon debug (i.e. hardware emulation or FPGA evaluation) with less features availed in the final silicon. H A D 2 U N I T K E Y F E A T U R E S USB communication interface to target host at FULL speed Synchronous communication interface to Debug IP Core TTAG interface Debug IP v4.70 JTAG interface Debug IP v4.xx, v6.xx DTAG interface Debug IP v3.xx Supports following I/O voltage standards 3.3 Volt systems 2.5 Volt systems 1.8 Volt systems Single power supply directly from USB host Small physical dimensions pendrive package H A R D W A R E A S S I S T E D D E B U G G E R The Hardware Assisted Debugger (HAD) is a small hardware adapter, that manages communication between the Debug IP Core inside silicon and a USB port of the host PC, running the DoCD Debug Software. 2

D E B U G S O F T W A R E K E Y F E A T U R E S In-system FLASH programming Three working modes hardware debugger in circuit emulator software simulator Source Level Debugging: C level hardware/software breakpoints C code execution line by line over line out of function skip line ASM code execution Instruction by instruction over instruction out of function skip instruction ASM, C source view of code Symbol Explorer provides hierarchical tree view of all symbols: modules functions blocks variables and more Contents sensitive Watch window: Local variables view Up to 3 independent watches Symbolic debug including: code variables variable types Unlimited number of real-time hardware breakpoints Program Memory (CODE) Two real-time hardware watch-points for each space: Internal (direct) Data Memory (IDM) Special Function Registers (SFR) external Data Memory (XDM) Unlimited number of software breakpoints Program Memory Internal (direct) Data Memory (IDM) Special Function Registers (SFR) external Data Memory (XDM) Set/clear software or hardware breakpoints, watchpoints in Disassembled and C Source Code windows 1024 steps deep Software Trace Load Program Memory content from: OMF-51, extended OMF-51 files OMF-251 file CDB object format Intel HEX-51, HEX-386 files BIN file Auto refresh of all windows during execution of program Registers panel including ACC, B, PSW, PC, SP, DPTR, DPP and four banks of general purpose registers R0-R7 Internal (direct) Data Memory (IDM) Special Function Registers (SFR) external Data Memory (XDM) Timers/Counters UARTs I/O Ports Dedicated windows for peripherals Configurable auto refresh time period with 1s step resolution Status bar containing number of actually executed instructions, number of clock periods and real processor speed rate Hardware Assisted Debugger interface TTAG interface JTAG interface DTAG interface The system runs on Windows 2000/2003/XP/7/8/8.1 (both 32 and 64 bit) PC Supports software tools from Keil, IAR, SDCC and others 3

Connected together as to pin D O C D I N J T A G C H A I N The DoCD debug IP Core v 4.00 (and higher) can be used as a standalone device or can be plugged into a JTAG chain. It means, that standard JTAG pins can be used and other JTAG devices can be controlled, along with the DoCD Debug IP. Such solution saves off-chip pins of ASIC/FPGA device. Postfix Prefix Chip1 Debug IP Chip3 Chip4 HAD r r The example target shown in the figure above consists of the DoCD Debug IP and three, fully JTAG compliant devices. The Chip1 has 5-bit long IR (Instruction Register), Chip3 IR s has 3-bit long and Chip4 has 4-bit long IR. A DR (Data Register) is always 1-bit long, for each JTAG device. The following values should be written into DoCD Windows Debug Software configuration window: - IR prefix (3+4), DR-prefix (1+1) - IR postfix (5), DR-postfix (1) It is shown in the following figure. The 0 value should be written in an appropriate IR and DR field, in case where there wouldn t be any prefix or postfix devices. D E B U G I P C O R E P I N O U T The following pins are used by DoCD debug IP Core. A. TTAG interface v 4.70 and above: PIN TYPE DESCRIPTION t input DoCD data input ten output DoCD data output enable t output DoCD data output t t ten t t output DoCD clock line 4 Copyright 1999-2018 DCD Digital Core Design. All Rights Reserved.

B. JTAG interface v 4.00 and above: r PIN TYPE DESCRIPTION input DoCD TAP data input input DoCD TAP clock line input DoCD TAP mode select output DoCD TAP data output r output DoCD return clock C. DTAG interface v 3.xx : docddatai docddatao docdclk PIN TYPE DESCRIPTION docddatai input DoCD data input docddatao output DoCD data output docdclk output DoCD clock line A R E A U T I L I Z A T I O N The following table gives a survey about the Debug IP Core area, in the FPGA and ASIC devices. Device vendor Area DTAG JTAG TTAG ALTERA [LCs] 720 600 470 XILINX [Slices] 360 300 240 LATTICE [LUT4s] 720 610 500 ASIC [gates] 2500 2100 1650 S Y S T E M F E A T U R E S FLASH PROGRAMMING: All FLASH memory devices are supported by the DoCD debug system. Such support is assured by configurability of a FLASH programming algorithm and devices database. A new FLASH device can be easily added to the existing database, by using a built-in editor. The DoCD debugger allows simple in-system programming of its FLASH memory, without using any additional tools. The DoCD programming task is performed directly within the Debug software and after uploading of the core, it is ready for debugging. The programming time is very short and write operations are performed by certain FLASH device, with maximum speed allowed. HARDWARE BREAKPOINTS: The number of hardware breakpoints is unlimited. Like software breakpoints, hardware execution breakpoints can be set in the Program Memory space. They stop program execution just prior an instruction is pointed by the Program Counter (PC). In other words, instruction located at the PC breakpoint address, is not executed. The difference is in the method of program execution. In this case, program is run with full clock speed (in realtime) and the processor is halted, when the hardware signalizes a real breakpoint condition. HARDWARE WATCH-POINTS: The number of hardware watch-points is limited to six in different address spaces. Like software breakpoints, hardware execution watch-points can be set in direct RAM, SFRs and external RAM. They stop program execution after an instruction is being executed. The difference is in the method of program execution. In this case, the program is run with full clock speed (in real-time) and the processor is halted, when the hardware signalizes a real watch-point condition. SOFTWARE BREAKPOINTS: An unlimited number of software breakpoints can be set anywhere in the physical address space of the processor (in Program Memory space, direct RAM, SFRs and external RAM). If at least one software breakpoint is set, the program is executed in an automatic step by step mode, with checking if a certain breakpoint condition is met. Program execution is halted, when the breakpoint condition is already met and its execution can be resumed at any time, in any appropriate mode. MIXED MODE BREAKPOINTS: The mixed breakpoint mode is also available and it means, that software and hardware breakpoints and watch-points are mixed in the system. This gives you the flexibility in the debugging - for example, two different break conditions can be set, by using watch-points and hardware breakpoints. In each breakpoint mode halt means: CPU is halted and instructions are no longer being fetched and all internal peripherals are also stopped (e.g. timers, watchdog). The UARTs work correctly in any case. SYMBOL EXPLORER: The Symbol Explorer provides a hierarchical tree view of all C project symbols. It supports all C types, variables, constants, functions and symbolic names of registers. Along with a watch window, it provides a flexible and powerful debugging feature at high C language level. SCALED SOLUTION: Due to the fact, that many SoC designs have both power and gate limitations, DCD provides a scaled solution. Debug extensions can be scaled to control gate counts. The benefit is fewer gates, for lower use of power and core size, while maintaining excellent debug abilities. HOST REQUIREMENTS: A Pentium class computer (with minimum 512 MB of memory, 32 MB of free space on Hard Disk, CD-ROM drive, USB port and Windows 2000/2003/XP/7 operating system) is required. C O N T A C T Digital Core Design Headquarters: Wroclawska 94, 41-902 Bytom, POLAND e-mail: info@dcd.pl tel.: 0048 32 282 82 66 fax: 0048 32 282 74 37 Distributors: Please check: http://dcd.pl/sales 5