×

Microprocessor and debug system

  • US 5,978,937 A
  • Filed: 12/28/1995
  • Issued: 11/02/1999
  • Est. Priority Date: 12/28/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A microprocessor comprising:

  • a processor core for executing a user program and a monitor program for debugging a user target system; and

    a debug module connected to said processor core through at least one of an internal debug interface and a processor bus, having interface means serving as an interface with a debug tool so that said processor core may execute the monitor program, and control means for requesting said processor core for one of an interrupt and an exception to switch said processor core from the user program to the monitor program,wherein said debug module has;

    a break circuit for comparing the address of an instruction of data provided by said processor core with an preset address or data, and if they coincide with each other, sending an address break exception request to said processor core;

    a processor bus break circuit connected to said processor core through the processor bus, for monitoring bus cycles in the processor bus, and if a bus cycle for preset address and data is executed, sending an exception request to said processor core;

    a serial monitor bus circuit connected to said processor core through the processor bus, serving as an interface with the debug tool when said processor core executes the monitor program stored in the debug tool;

    a register circuit for storing information to control the functions of said debug module, the information being accessed by said processor core;

    an external interface circuit serving as an interface, serial monitor bus circuit, and processor core with the debug tool; and

    a clock signal generator for providing the debug tool with a clock signal that defines the transfer speed of signals transmitted between the microprocessor and the debug tool.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×