In-circuit emulator system with changeable clock frequency
View Patent ↗In an in-circuit emulator system, an in-circuit emulator debugger operated on a personal computer requests operation clock frequency, and transmits data for clock frequency designated by a user to an in-circuit emulator. The in-circuit emulator stores the received clock frequency data in a frequency data register. A PLL synthesizer oscillates with frequency based on the clock frequency data stored in the frequency data register to generate a clock.
1. An in-circuit emulator system comprising:
an in-circuit emulator installed into a target system in order to debug hardware of the target system mounting on a microcomputer and software that operates the microcomputer; in place of the microcomputer of the target system,
a personal computer connected to the in-circuit emulator through a communication interface cable; and
an in-circuit emulator debugger that is operated on the personal computer to control the in-circuit emulator, wherein
the in-circuit emulator includes
a frequency data register that stores clock frequency data set by the in-circuit emulator debugger;
a phase locked loop synthesizer that generates a clock based on the clock frequency data stored in the frequency data register; and
a microcomputer that executes the software and a control program of the in-circuit emulator in place of the microcomputer to be mounted on the target system operated by the generated clock.
2. The in-circuit emulator system according to claim 1 , wherein
the in-circuit emulator further includes
an oscillator that generates a predetermined clock; and
a selector that selects the clock generated by the phase locked loop synthesizer when the microcomputer executes the software to be debugged, and selects the clock generated by the oscillator when the microcomputer executes the control program of the in-circuit emulator to output the selected clock to the microcomputer.
3. The in-circuit emulator system according to claim 2 , wherein
when the control program of the in-circuit emulator is executed on the microcomputer,
the in-circuit emulator specifies either a clock generated by the oscillator or a clock generated by the phase locked loop synthesizer, and instructs the selector to select a specified clock, and
the selector selects and outputs the specified clock to the microcomputer.
4. The in-circuit emulator system according to claim 1 , further comprising a format converter that converts the clock frequency data stored in the frequency data register to a predetermined format and outputs the converted data to the phase locked loop synthesizer.