Processor development systems

Data processing: structural design – modeling – simulation – and em – Emulation – In-circuit emulator

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S733000, C714S727000, C714S726000, C714S030000

Reexamination Certificate

active

06473727

ABSTRACT:

The present invention relates to a method and apparatus for carrying out debugging procedures on a processor, for example a microprocessor, Digital Signal Processing (DSP) processor, or programmable ASIC core.
Software debugging is commonly carried out using In Circuit Emulation (ICE) wherein a monitor program located in the microprocessor provides information to an external host.
It has been recognised that software debugging using ICE techniques may be carried out more expeditiously using techniques adapted from production testing of microprocessor with production scan-chains. Such production scan chains are to be distinguished from boundary scan registers as in the known JTAG standards. In production scan chains, registers are provided through the processor so that the working of a software routine through the processor can be observed, i.e. it is “visible”. For production testing the production scan chain of registers can be loaded with a random pattern of logic values. One or more machine cycles may then be executed, and the logic values are fed into the microprocessor logic. The resultant logic values in the registers may then be uploaded and examined to assess whether the microprocessor logic is working correctly.
A scan module coupled to an ASIC core is commonly used to detect an appropriate time to halt the core's operation, so that off-chip external host can both examine and alter the core's state under the control of user. This is achieved by stopping the system clock, scanning-out the state of the core, modifying the register values in the off-chip host and finally scanning the new state back in. The method essentially gives full observability and controllability of the core by serially accessing every flip-flop in the design.
A key requirement of an embedded debug system for a microprocessor core is to provide access to system memory. It is not commercially viable to make a significant block of memory scannable, so an alternative approach must be found. A known approach to accessing synchronous SRAM for embedded debug purposes makes use of a “monitor” program actually running on the core (target processor). On reaching an appropriate breakpoint, the monitor code is executed and memory values are transferred to and from the core in real time via a memory-mapped mailbox, implemented as a dual-port RAM. It is usual for a software-driven handshaking protocol to be used to control the operation. On completion of the debugger activities, the monitor program is exited and control passes back to the breakpointed program.
The disadvantages with this approach are: firstly, the “monitor” program consumes some significant area of memory in the processor that either raises cost in production devices or means production devices are implemented without debug circuitry. Secondly, the interface between the microprocessor and the mailbox is typically implemented as a parallel bus consuming a considerable number of pins and again raising costs. Thirdly, the only registers “visible” to the off-chip debug circuitry are those that can be accessed by actual processor instructions (located in the “monitor” program), i.e. those that form part of the programming model, and therefore a complete picture of the processor is not given.
SUMMARY OF THE INVENTION
It is an object of the invention to provide a processor development system which can access memory without creating undue demands on memory and creating undue delays.
Accordingly, the present invention provides in a first aspect a processor including in-circuit emulation means comprising a plurality of scan-chains of serially connected registers coupled to a means for enabling a serial scan procedure to be carried out, a first scan-chain including an address register for providing an address on an address bus to memory, and means for incrementing the value in the address register under the control of the processor, the scan-chains being arranged to control the processor for incrementing the address register, and the scan-chains including a data register coupled to the data bus of the memory to read/write data.
In a second aspect, the invention provides a method of in-circuit emulation for a processor comprising:
1) providing in the processor, a plurality of scan-chains of serially connected registers, a first scan-chain including an address register for providing an address to memory, and one of said chains including a processor control register for the controlling of the address register
2) incrementing the contents of the address register a predetermined amount under control of the processor control register; and
3) reading or writing data for the address locations in a data register located in the scan chains.


REFERENCES:
patent: 5153882 (1992-10-01), Lyon et al.
patent: 5224101 (1993-06-01), Popyack, Jr.
patent: 5325367 (1994-06-01), Dekker et al.
patent: 5329471 (1994-07-01), Swoboda et al.
patent: 5347523 (1994-09-01), Khatri et al.
patent: 5515382 (1996-05-01), Lassorie
patent: 5515530 (1996-05-01), Eskandari
patent: 5551050 (1996-08-01), Ehlig et al.
patent: 5553249 (1996-09-01), Datwyler et al.
patent: 5581564 (1996-12-01), Miller et al.
patent: 5592493 (1997-01-01), Crouch et al.
patent: 5596734 (1997-01-01), Ferra
patent: 5661732 (1997-08-01), Lo et al.
patent: 5867507 (1999-02-01), Beebe et al.
patent: 5995993 (1999-11-01), Liang
patent: 6055656 (2000-04-01), Wilson, Jr. et al.
patent: 6088823 (2000-07-01), Ayres et al.
patent: 0 854422 (1998-07-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Processor development systems does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Processor development systems, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Processor development systems will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2990598

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.