Method for debugging embedded operating system and device therefor
An operating system and embedded technology, applied in the field of communication, can solve the problems of high debugging cost, not knowing various target files, global variables, debugging can not meet the expected requirements, etc., to achieve the effect of reducing debugging costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] A method for debugging an embedded operating system of the present invention may include (see figure 1 ):
[0028] Step 101, determine the embedded operating system to be debugged;
[0029] Step 102, acquiring preset debugging instruction information corresponding to the embedded operating system;
[0030] Step 103, use the debugging instruction information to debug the embedded operating system to be debugged.
[0031] The following are examples of specific implementation manners that can be adopted when implementing the above method. One way of implementation is that the debugging instruction information of the embedded operating system 1 can be stored in the configuration file, and the configuration file is stored in the embedded operating system 1. After the embedded operating system 1 to be debugged is determined, the debugging tool The configuration file stored in the embedded operating system 1 is obtained to obtain debugging instruction information, and then ...
Embodiment 2
[0043] In the method embodiment of the present invention, it may further include: modifying the preset debugging instruction information. Modifying the preset debugging instruction information may include the following steps (see figure 2 ):
[0044] Step 201, adding or editing the type number and name of the embedded operating system, the name of the global variable identifying the embedded operating system, and the number of control blocks included in the embedded operating system in the debugging instruction information;
[0045] Step 202, add or edit the type number and name of the control block, the data size of the control block, the name of the control block linked list pointer variable, the data length of the value pointed to by the control block linked list pointer, and the value contained in the control block in the debugging instruction information. the number of registers;
[0046] Step 203, adding or editing the number, name, data length of the register value, ...
Embodiment 3
[0052] This embodiment describes step 103 in the first embodiment in detail, that is, the process of how the debugging tool uses the debugging instruction information to debug the embedded operating system, which may specifically include (see image 3 ):
[0053] Step 301, according to the name of the control block chain header pointer and the data length information in the debugging instruction information, read the value of the control block chain header pointer, and determine the starting position of a certain type of control block data storage. The name of the control block chain header pointer corresponds to the type of control block;
[0054]When step 301 is specifically implemented, it may be the name of the control block chain header pointer of a certain type (such as task, semaphore, dynamic memory area, etc.) according to the configuration information of the embedded operating system currently being debugged by the debugging tool, and Control the data length of the ...
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