Microcomputer, electronic equipment and debugging system
First Claim
1. A microcomputer having an on-chip debugging function, comprising:
- a central processing unit for executing instructions; and
a first monitor section which performs data transfer to and from a second monitor section, determines a primitive command to be executed based on the receive data from said second monitor section, and performs processing for execution of the determined primitive command, a monitor program for executing a processing of said first monitor section is stored in a ROM, said second monitor section being provided outside said microcomputer and performing a processing to convert a debugging command into at least one primitive command in order to reduce the size of an instruction code for realizing the first monitor section or a scale of the first monitor section.
0 Assignments
0 Petitions
Accused Products
Abstract
An object is to provide a microcomputer, electronic instrument and debugging system which can realize an on-chip debugging function through a reduced size of instruction code or a reduced circuit scale. A main monitor section (16) converts a debugging command into a primitive command. A mini monitor section (14) transfers data to and from the main monitor section (16) to execute a primitive command determined based on the receive data. The primitive commands include go, write and read commands. A control register having its address allocated on a memory map in the debugging mode is provided together with a mini monitor RAM. The mini monitor section (14) serving as a slave is connected to the main monitor section (16) serving as a master through a half-duplex bidirectional communication line so that transfer data can be fixed-length. The receive data includes a command identifying data. A mini monitor program has been stored in a ROM. The mini monitor section (14) and main monitor section (16) use a clock in common to generate a sampling clock while transferring data in the start-stop synchronization.
-
Citations
38 Claims
-
1. A microcomputer having an on-chip debugging function, comprising:
-
a central processing unit for executing instructions; and
a first monitor section which performs data transfer to and from a second monitor section, determines a primitive command to be executed based on the receive data from said second monitor section, and performs processing for execution of the determined primitive command, a monitor program for executing a processing of said first monitor section is stored in a ROM, said second monitor section being provided outside said microcomputer and performing a processing to convert a debugging command into at least one primitive command in order to reduce the size of an instruction code for realizing the first monitor section or a scale of the first monitor section. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A debugging system for a target system including a microcomputer, said debugging system comprising:
-
a second monitor section which performs processing for converting a debugging command issued by a host system into at least one primitive command; and
a first monitor section which performs data transfer to and from said second monitor section, determines a primitive command to be executed based on the receive data from said second monitor section, and performs processing for execution of the determined primitive command, a monitor program for executing a processing of said first monitor section is stored in a ROM, the second monitor section converts the debugging command into the primitive command in order to reduce the size of the monitor program and a scale of the ROM. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38)
-
Specification