On-chip debugging device and method
An on-chip debugging and debugger technology, applied in measurement devices, using configuration tests to detect faulty hardware, instruments, etc., can solve problems such as lack of auxiliary debugging, large amount of data, and difficulty in implementation, so as to facilitate discovery, resolution, and occupation. Low-resource, powerful effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Overall structure of technical scheme of the present invention is as Figure 4 shown. An on-chip debugging control module is added to the chip to be debugged. This module mainly includes several parts: external interface module, debugging mode control module, debugging information processing module, debugging monitoring module, time generator, and two debugging memories, a relatively small fast memory and a relatively large slow memory. fast memory. The external interface module is used for outputting chip debugging status information to an external debugger and receiving control commands from the external debugger. Wherein, the debugging mode control module is used to set the to-be-sampled type of the internal signal of the specified chip according to the debugging configuration of the external debugger or the internal CPU, and to set the debugging trigger condition; the debugging monitoring module is used to sample and record the chip of the specified type The inte...
Embodiment 2
[0048] The embodiment of the invention also discloses an on-chip debugging method. Such as Figure 5 As shown, the on-chip debugging method includes the following steps:
[0049] Step S101, according to the configuration of the external debugger or the chip to be debugged, determine the sampling type and the triggering condition for debugging.
[0050] The external debugger or the on-chip CPU of the chip to be debugged configure the working mode of the on-chip debugging function module: specify the internal signal of the chip to be sampled, set the size of the fast and slow memory inside the on-chip debugging module, set the conditions for starting the on-chip debugging function, and set the on-chip The condition for the end of the debugging function, set the format of the debugging status information stored in the internal memory, set the format when the debugging status information needs to be output, and set the subsequent working mode of the debugging module and the chip ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


