Microprocessor having an on-chip CPU fetching a debugging...

Electrical computers and digital data processing systems: input/ – Input/output data processing – Input/output command process

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S071000, C712S227000, C714S030000, C714S034000, C714S035000

Reexamination Certificate

active

06356960

ABSTRACT:

FIELD OF THE INVENTION
The invention relates to microcomputers and computer systems.
BACKGROUND TO THE INVENTION
Single chip microcomputers are known including external communication ports so that the chip may be connected in a network including for example connection to a host microcomputer for use in debugging routines. Such systems are known in which each of the interconnected microcomputer chips has its own local memory. When a debugging routine is determined by a host connected to an integrated circuit microcomputer, problems may arise if normal code used by the microcomputer is unaware of how the host operates.
It is an object of the present invention to provide an improved computer system, and an improved method of operating a microcomputer system, in which external communications obtained from locations off-chip are used for debugging.
SUMMARY OF THE INVENTION
The invention provides a computer system including a microprocessor on an integrated circuit chip comprising an on-chip CPU with a plurality of registers and a communication bus providing a parallel communication path between said CPU and a first memory local to said CPU, said integrated circuit device further comprising a debugging port connected to said bus on the integrated circuit chip and to an external debugging computer device having a second memory, said external debugging device being operable to transmit control signals through said debugging port (a) to stop execution by the CPU of instructions obtained from said first memory (b) to provide from said second memory a debugging routine to be executed by the CPU and (c) to restart operation of the CPU after said routine with execution of instructions from an address determined by said external debugging device, whereby said on-chip CPU is operable with code in said first memory which is independent of said debugging routine.
Preferably said CPU is provided with logic circuitry operable to suspend execution of an instruction sequence by said CPU, said logic circuitry having an address store for holding an instruction location address for use in resuming execution of instructions by the CPU, said logic circuitry being connected to said communication bus whereby the logic circuitry may receive a signal packet from said external computer device through said debugging port.
Preferably said CPU includes an instruction pointer circuit for indicating a next fetch address in execution of an instruction sequence and said address store of said logic circuitry is operable to change the pointer value in said instruction pointer circuit in response to a signal packet from said external computer device.
Preferably said pointer circuit is operable to point to addresses in either of said first or second memories.
The invention includes a method of debugging a computer system which comprises a microprocessor on an integrated circuit chip with an on-chip CPU, a plurality of registers and a communication bus providing a parallel communication path between said CPU and a first memory local to said CPU, said integrated circuit device having a debugging port connected to said bus and to an external debugging computer device having a second memory, said method comprising transmitting control signals from said external debugging device through said debugging port (a) stopping execution by the CPU of instructions obtained from said first memory (b) executing by the CPU a debugging routine provided from said second memory and (c) restarting operation of the CPU after said debugging routine with execution of instructions from an address determined by said external debugging device, whereby said on-chip CPU is operated with code in said first memory which is independent of said debugging routine.
Preferably in response to control signals through said debugging port from said external debugging device, logic circuitry connected to said on-chip CPU operates to suspend execution of an instruction sequence by said CPU, store in an address store for said CPU an instruction location address for use in resuming execution of instructions by the CPU and cause said CPU to resume execution of an instruction sequence determined by said address store after execution of said debugging routine.
Preferably instructions executed by the CPU are determined by a fetch address held in an instruction pointer circuit and said logic circuitry operates in response to a control signal through said debugging port to change the pointer value in said instruction pointer circuit.
Preferably communications on said communication bus are effected in bit parallel format and said debugging port includes translation circuitry which translates packets to a less parallel external format.
Preferably said external format is bit serial.
Preferably communications on said communication bus include request packets for sending from a packet source to a destination, both connected to said bus, and response packets for return from a said destination to a said source.
In one embodiment said first memory holds software for execution by said on-chip CPU and said second memory has software for execution by said on-chip CPU in a debugging routine, said software being transferred from said second memory to said first memory prior to execution by the CPU in a debugging routine.
In some embodiments, a plurality of CPUs are provided on said single integrated circuit chip and a debugging routine is carried out on one of said CPUs as a result of control signals through said debugging port from said external debugging computer device while another of said CPUs on said integrated circuit device executes normal code derived from a first memory local to said CPU.
In some embodiments, a plurality of CPUs are provided on said integrated circuit device each having access to local first memory circuitry, one of said CPUs executing code from said first memory circuitry in order to effect debugging of code executed by another one of said CPUs on the same integrated circuit device.


REFERENCES:
patent: 5053949 (1991-10-01), Allison et al.
patent: 5440698 (1995-08-01), Sindhu et al.
patent: 5479652 (1995-12-01), Dreyer et al.
patent: 5530804 (1996-06-01), Edgington et al.
patent: 5544311 (1996-08-01), Harenberg et al.
patent: 5566303 (1996-10-01), Tashiro et al.
patent: 5600790 (1997-02-01), Barnstijn et al.
patent: 5615331 (1997-03-01), Toorians et al.
patent: 5621886 (1997-04-01), Alpert et al.
patent: 5752013 (1998-05-01), Christensen et al.
patent: 5850562 (1998-12-01), Crump et al.
patent: 5903718 (1999-05-01), Marik
patent: 6189140 (2001-02-01), Madduri
patent: 6209045 (2001-03-01), Hasegawa et al.
patent: 0 652 516 (1995-05-01), None
patent: 0 720 093 (1996-07-01), None
patent: 0 762 277 (1997-03-01), None
Standard Search Report dated Sep. 23, 1997.
Byte, vol. 19, No. 6, Jun. 1, 1994, pp. 57-64,Multimedia Powerhouse, Karl M. Guttag.
Componestistica, Elettronica OGGi No. 225, Oct. 31, 1996, Tool Di Sviluppo per Dsp Multiprocessing Giorgio De Cari, pp. 103-107.

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

Microprocessor having an on-chip CPU fetching a debugging... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Microprocessor having an on-chip CPU fetching a debugging..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Microprocessor having an on-chip CPU fetching a debugging... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2848571

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