The invention provides a DSP (
Digital Signal Processor) debugging device which comprises two submodules of AHB_COMPACT_MAST and AHB_COMPACT_SLAVE. The device, serving as an independent IP (
Internet Protocol) module, is in
cascade connection with an on-
chip AHB (Advanced High performance
Bus)
bus, and communicates with out-
chip equipment through an AHB_COMPACT interface; and meanwhile, the device, serving as a part of an out-
chip debugging unit, completes conversion from the AHB_COMPACT interface to an AHB interface. The AHB_COMPACT_MAST module is connected with the MAST interface of the on-chip AHB
bus, and the MAST interface is converted into the AHB_COMPACT interface to be connected with a below-chip test module. The AHB_COMPACT_SLAVE is connected with an SLAVE interface of the on-chip AHB
bus, and the SLAVE interface is converted into an AHB_COMPACT interface to be connected with the below-chip test module. According to the DSP debugging device, the
data transmission of the two modules is completed under different AHB transmission
modes through two state machines of AHB_COMPACT_MAST_FSM and AHB_COMPACT_SLAVE_FSM. A below-chip debugging unit is used for performing conversion of signals from the AHB_COMPACT interface to the AHB interface just by using the device as well in an out-chip
system so as to complete communication between a DSP on-chip
system and out-chip AHB equipment. The DSP debugging device provided by the invention is more flexible, more efficient, better in real time and larger in
throughput, and simultaneously bus resources are also greatly saved.