摘要 |
The present invention discloses an emulation system for a single-chip multiple-microcontroller and an emulation method thereof, wherein a multiple-microcontroller emulator comprises: an emulation control logic, at least two microcontrollers, and program counters separately related to the microcontrollers; each program counter corresponds to at least one breakpoint address; every executing program will stop at its corresponding breakpoint address; the status of every microcontroller at the breakpoint addresses is transmitted to a personal computer via the emulation control logic. Thereby, the multiple-microcontroller emulation program in the personal computer can read the execution status of every microcontroller occurring at the breakpoint addresses, and the programmer can obtain the execution status of the multiple-microcontroller emulator in order to develop and debug the program of a single-chip multiple-microcontroller.
|