Debugging method and debugging system
A debugging method and technology of debugging points, which are used in transmission systems, digital transmission systems, electronic circuit testing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] image 3 It is a structural diagram of the remote debugging system in Embodiment 1 of the present invention. like image 3 As shown, the system includes a client 210 , a server 220 and a debugged device 230 . The communication between the client 210 and the server 220 is based on the TCP / IP protocol. in,
[0059] image 3 The client 210 in specifically includes a debugging instruction generation unit 211 and a communication unit 212:
[0060] The debugging command generating unit 211 is configured to generate a debugging command and send it to the communication unit 212 ; in this embodiment, the debugging command is a reading command for reading the level of an I / O pin in the logic circuit 231 .
[0061] The communication unit 212 is configured to establish a communication channel with the server, send the debugging instruction to the server 220 through the established communication channel, and receive the execution result of the debugging instruction from the ser...
Embodiment 2
[0076]In this embodiment, the client can also obtain the program code from the debugged device through the server, so as to determine the fault in the program code, and send the correct program code back to the debugged device after debugging. When the client sends a new program code to the device to be debugged, the client needs to enter the In-System Programming (ISP, In-System Programming) mode, write the new program code and restart. Entering ISP mode and restarting are controlled by ISP switch pin and system reset (RESET) pin on the debugged device respectively. The remote debugging system in the embodiment of the present invention can further remotely control the levels of the ISP switch pin and the RESET pin. If the micro control unit (MCU) of the device to be debugged, that is, the control unit that executes the program code, has a reset circuit and an ISP control circuit, the ISP switch pin and the RESET pin are on the MCU of the device to be debugged; If the logic c...
Embodiment 3
[0097] In this embodiment, the remote debugging system integrates the remote debugging function provided by the existing GDB debugging tool, so that the user can single-step execute the program code on the device being debugged, set breakpoints, view content, etc. from the client through remote debugging. operate. In the prior art, GDB is an abbreviation of GNU symbolic debugger, which is a type of debugging tool provided by GNU. GDB provides a local debugging machine and a debugging agent, which are physically separated. The debugging agent is set on the device to be debugged and connected to the control unit of the device to be debugged. The local debugging machine is set on the debugging side. The debugging agents communicate according to the GDB Remote Serial Protocol (RSP, Remote Serial Protocol). The RSP protocol defines the format of the data packet in the communication between the local debugging machine and the debugging agent. RSP is a simple, ASCII-based protocol ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com