CN103702112A - Register debugging method and device based on factory menu - Google Patents

Register debugging method and device based on factory menu Download PDF

Info

Publication number
CN103702112A
CN103702112A CN201310754715.1A CN201310754715A CN103702112A CN 103702112 A CN103702112 A CN 103702112A CN 201310754715 A CN201310754715 A CN 201310754715A CN 103702112 A CN103702112 A CN 103702112A
Authority
CN
China
Prior art keywords
register
debugging
data value
information
integral body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310754715.1A
Other languages
Chinese (zh)
Other versions
CN103702112B (en
Inventor
曾庆凯
谢金才
王丽丽
李伟
罗杰
麦增荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201310754715.1A priority Critical patent/CN103702112B/en
Publication of CN103702112A publication Critical patent/CN103702112A/en
Application granted granted Critical
Publication of CN103702112B publication Critical patent/CN103702112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a register debugging method and device based on a factory menu, solves the technical problem that more limitation exists in the register debugging technology, and simultaneously effectively reduces the difficulty of solving the technical problem of remote feedback so as to further improve the problem solving efficiency. The method comprises the steps of determining a debugged register bank according to the feedback problem information, locating a fault register by using built-in software according to the information of the register bank, and debugging the data value of the fault register.

Description

Register adjustment method and device based on factory's menu
Technical field
The present invention relates to technical field of television sets, relate in particular to a kind of register adjustment method and device based on factory's menu.
Background technology
Register is the part in central processing unit.Register is the high speed depositing element of limited storage capacity, they can be used to temporary instruction, data and address, especially in the technical research field of television set, the debugging of register is normally sent to instruction by control end the master chip of television set board, then is written to corresponding register by the master chip of television set board.
The adjustment method of current television set register, due under long-range practical situations, need to debug according to the television set problem of long-range feedback again.
Yet, such remote debugging method, need to possess corresponding hardware tools debugs, thereby caused on debugging technique restricted larger, meanwhile, solve the corresponding increase of difficulty of the technical problem of long-range feedback, the efficiency of dealing with problems has also reduced, especially in the situation that needs engineer debugs to client, the waste of the high human cost causing.
Summary of the invention
The embodiment of the present invention provides a kind of register adjustment method and device based on factory's menu, solved the technical larger restrictive technical problem of register debugging, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, improved further the efficiency of dealing with problems.
A kind of register adjustment method based on factory's menu providing in the embodiment of the present invention, comprising:
According to the problem information of feedback, determine the register group of debugging;
According to the information exchange of described register group, cross use embedded software orientation problem register;
Data value to described problem register is debugged.
Alternatively,
According to the information exchange of described register group, crossing use embedded software orientation problem register specifically comprises:
Obtain described register group address;
Obtain described register group byte flag position;
According to described address and described byte flag position by using described embedded software to locate described problem register.
Alternatively,
The data value of described problem register is debugged specifically and is comprised:
Described problem register is write to new described data value;
Whether the new data value after judgement writes is consistent with the data value of the described problem register reading, and if so, returns to debugging and successfully points out, and if not, returns to debugging failed prompting.
Alternatively,
According to the information exchange of described register group, cross use embedded software orientation problem register, the data value of described problem register debugged specifically and comprised:
By memory device guiding structure data value, obtain the information of described register group, the described address that described packets of information contains described register group and described byte flag position;
By using embedded software to carry out integral body location to described problem register;
The data value of the described problem register behind integral body location is carried out to integral body debugging.
Alternatively,
The data value of the described problem register behind integral body location is carried out to integral body debugging specifically to be comprised:
Described problem register behind integral body location is write to new described data value.
A register debugging apparatus based on factory's menu, comprising:
Determining unit, for determining the register group of debugging according to the problem information of feedback;
The first positioning unit, for crossing use embedded software orientation problem register according to the information exchange of described register group;
The first debugging unit, for debugging the data value of described problem register.
Alternatively, the first positioning unit specifically comprises:
First obtains subelement, for obtaining described register group address;
Second obtains subelement, for obtaining described register group byte flag position;
The first locator unit, for according to described address and described byte flag position by using described embedded software to locate described problem register.
Alternatively, the first debugging unit specifically comprises:
Write subelement, for described problem register is write to new described data value;
Judgment sub-unit, whether consistent with the data value of the described problem register reading for judging the new data value after writing, if so, return to debugging and successfully point out, if not, return to debugging failed prompting.
Alternatively, described register debugging apparatus also comprises:
Acquiring unit, for obtaining the information of described register group, the described address that described packets of information contains described register group and described byte flag position by memory device guiding structure data value;
The second positioning unit, for locating by using embedded software to carry out integral body to described problem register;
The second debugging unit, carries out integral body for the data value of the described problem register to behind integral body location and debugs.
Alternatively, the second debugging unit specifically comprises:
The second debugging subelement, writes new described data value for the described problem register to behind integral body location.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The embodiment of the present invention provides a kind of register adjustment method based on factory's menu to comprise:
First, according to the problem information of feedback, determine the register group of debugging, then, according to the information exchange of register group, cross use embedded software orientation problem register, last, the data value of problem register is debugged.。In the present embodiment, according to the problem information of feedback, determine the register group that needs debugging, and based on using embedded software to position problem register under factory's menu, and the data value of register is debugged, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, thereby, further saved in the situation that needs engineer debugs to client the wasting of resources of the high human cost causing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of the embodiment that Fig. 1 is a kind of register adjustment method based on factory's menu of providing in the embodiment of the present invention;
The schematic flow sheet of another embodiment that Fig. 2 is a kind of register adjustment method based on factory's menu of providing in the embodiment of the present invention;
The schematic flow sheet of another embodiment that Fig. 3 is a kind of register adjustment method based on factory's menu of providing in the embodiment of the present invention;
The schematic flow sheet of the embodiment that Fig. 4 is a kind of register adjustment method based on factory's menu of providing in the embodiment of the present invention;
The structural representation of the embodiment that Fig. 5 is a kind of register debugging apparatus based on factory's menu of providing in the embodiment of the present invention;
The structural representation of another embodiment that Fig. 6 is a kind of register debugging apparatus based on factory's menu of providing in the embodiment of the present invention;
The structural representation of another embodiment that Fig. 7 is a kind of register debugging apparatus based on factory's menu of providing in the embodiment of the present invention;
The structural representation of another embodiment that Fig. 8 is a kind of register debugging apparatus based on factory's menu of providing in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of register adjustment method and device based on factory's menu, solved the technical larger restrictive technical problem of register debugging, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, improved further the efficiency of dealing with problems.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiment, but not whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, an embodiment of a kind of register adjustment method based on factory's menu providing in the embodiment of the present invention comprises:
101, according to the problem information of feedback, determine the register group of debugging;
In the present embodiment, when user is when using television set, this TV breaks down, can be for example while searching channel, to occur missing the situation of channel, specifically not limit, now herein, problem need to be reacted to engineer, meanwhile, engineer can be according to the problem of reaction, and feedback needs the problem information of the register group of debugging.
It should be noted that, this register group that need to debug possesses with the fault message of television set the relation being associated.
102, according to the information exchange of register group, cross use embedded software orientation problem register;
After the register group of needs debugging is determined, according to the information exchange of register group, cross use embedded software orientation problem register, be understandable that, the information of this problem register can be to show the function of register and the information of position, makes to need the problem register of debugging to locate fast by aforesaid information.
103, the data value of problem register is debugged.
In the present embodiment, after having located the problem register that needs to debug, just the data value in problem register is debugged.
First, according to the problem information of feedback, determine the register group of debugging, then, according to the information exchange of register group, cross use embedded software orientation problem register, last, the data value of problem register is debugged.In the present embodiment, according to the problem information of feedback, determine the register group that needs debugging, and based on using embedded software to position problem register under factory's menu, and the data value of register is debugged, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and further saved in the situation that needs engineer debugs to client the wasting of resources of the high human cost causing.
That the process of an embodiment of the register adjustment method based on factory's menu in the embodiment of the present invention is described in detail above, below the detailed process of the Information locating register to by register is described in detail, refer to Fig. 2, another embodiment of a kind of register adjustment method based on factory's menu providing in the embodiment of the present invention comprises:
201, according to the problem information of feedback, determine the register group of debugging;
This step is identical with the content of step 101 in the embodiment shown in earlier figures 1, repeats no more herein.
202, obtain register group address and byte flag position;
In the present embodiment, after the register group of needs debugging is determined, obtain the information of the problem register that needs debugging, here can be address information and the byte flag position information of obtaining this problem register that need to debug, for example this problem register address that need to debug is 0x0F12, the byte flag position of the problem register that this need to be debugged is double byte, does not specifically limit herein.
It should be noted that, can also obtain the BANK address information of the problem register that needs debugging, or the character string name information of problem register, specifically do not limit herein.
203, according to address and byte flag position, pass through to use embedded software orientation problem register;
After obtaining the address and byte flag position of the problem register that needs debugging, by address and the byte flag position orientation problem register of the problem register that gets, the address of the problem register for example getting is that 0x0F12 and byte flag position are double byte, according to the address of the problem register getting and byte flag position, this problem register is positioned.
204, the data value of problem register is debugged.
In the present embodiment, when software by built-in according to the Information locating of the problem register getting need the problem register of debugging after, just the data value in problem register is debugged.
In the present embodiment, according to the problem information of feedback, determine the register group that needs debugging, and based under factory's menu by using built-in software to position problem register, and the data value of problem register is debugged, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by obtaining address information and the byte flag position information of register, just can effectively locate the register that needs debugging, realized the function to the fast debugging of register, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
That the detailed process of the Information locating register by register is described in detail above, to the method for register data value debugging be described in detail below, refer to Fig. 3, another embodiment of a kind of register adjustment method based on factory's menu providing in the embodiment of the present invention comprises:
301, according to the problem information of feedback, determine the register group of debugging;
This step is identical with the content of step 101 in the embodiment shown in earlier figures 1, repeats no more herein.
302, obtain register group address and byte flag position;
In the present embodiment, after the register group of needs debugging is determined, obtain the information of the problem register that needs debugging, here can be address information and the byte flag position information of obtaining this problem register that need to debug, for example this problem register address that need to debug is 0x0F12, the byte flag position of the problem register that this need to be debugged is double byte, does not specifically limit herein.
It should be noted that, can also obtain the BANK address information of the problem register that needs debugging, or the character string name information of problem register, specifically do not limit herein.
303, according to address and byte flag position, pass through to use embedded software orientation problem register;
After obtaining the address and byte flag position of the problem register that needs debugging, by address and the byte flag position orientation problem register of the problem register that gets, the address of the problem register for example getting is that 0x0F12 and byte flag position are double byte, according to the address of the problem register getting and byte flag position, this problem register is positioned.
304, problem register is write to new data value;
In the present embodiment, by the information of the register group that gets, after locating by embedded software the problem register that needs debugging, the problem register that need to need to debug this writes new data message and debugs, it should be noted that, new data value is write after problem register, can also be that the problem register of data writing value is read, and show.
305, judge that whether the new data value after writing is consistent with the data value of the problem register reading, if so, perform step 306, if not, perform step 307.
When new data value writes into problem register, and after the problem register of data writing value is read, need to judge whether the data value of the new data value after writing and the problem register reading is consistent, if the new data value writing is consistent with the data value of the register reading, perform step 306, if the new data value writing is inconsistent with the data value of the register reading, perform step 307.
It should be noted that, the data value of the problem register reading can be based on visual demonstration under factory's menu.
306, returning to debugging successfully points out;
In the present embodiment, if the new data value that judgement writes is consistent with the data value of the problem register reading, returning to successfully prompting notice of a debugging, for example, can be that the character information that shows " Successfully written " represents to debug successfully, does not specifically limit herein.
307, return to debugging failed prompting;
In the present embodiment, if the data value of the new data value that judgement writes and the problem register reading is inconsistent, returning to a debugging failed prompting notice, for example, can be that the character information that shows " Failed " represents debugging failed, does not specifically limit herein.
It should be noted that, if it is debugging failed after problem register to write new data, can repeat the step 304 in the present embodiment, write again new data value in problem register, debug and judge, until return to prompting, successfully point out.
In the present embodiment, according to the problem information of feedback, determine the problem register that needs debugging, and based under factory's menu by using built-in software to position problem register, and the data value of problem register is carried out to writing of new data value, by judging, determine whether successfully to write again, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by obtaining address information and the byte flag position information of register, just can effectively locate the register that needs debugging, realized the function to the fast debugging of register, and judge and determine whether successfully problem register is write to design by judgement, further improve the design's method, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
That the method for register data value debugging is described in detail above, to the method for the another kind of location register of the adjustment method of embodiment of the present invention register be described in detail below, refer to Fig. 4, another embodiment of a kind of register adjustment method based on factory's menu providing in the embodiment of the present invention comprises:
401, according to the problem information of feedback, determine the register group of debugging;
In the present embodiment, when user is when using television set, this TV breaks down, can be for example while searching channel, to occur missing the situation of channel, specifically not limit, now herein, problem need to be reacted to engineer, meanwhile, engineer can be according to the problem of reaction, and feedback needs the problem information of the register group of debugging.
It should be noted that, this register group that need to debug possesses with the fault message of television set the relation being associated, the address that this packets of information contains register group and byte flag position;
402, by memory device guiding structure data value, obtain the information of register group; ;
In the present embodiment, after the determining of the register group of needs debugging, obtain the information of the register group that needs debugging, here can be address information and the byte flag position information of obtaining this register group that need to debug, the register group address that need to debug such as this is 0x0F13 etc., the byte flag position of the register group that this need to be debugged is double byte etc., specifically do not limit herein, then, according to the information exchange of aforesaid register group, cross memory device guiding structure data value, the problem register of needs debugging is carried out to integral body location, here can be a plurality of registers, be not specifically limited herein.
It should be noted that, can also obtain the BANK address information of the register group that needs debugging, or the character string name information of register group, can be buffer etc. such as the character string name information of register group, does not specifically limit herein.
402, by using embedded software to carry out integral body location to problem register;
It should be noted that, according to the problem information of feedback, determine and need the register of debugging to have a plurality of, can be in advance in memory device by the setting of carrying out structural data of a plurality of problem registers of needs location, the structural data importing from memory device can be many group structural datas, make to need a plurality of problem registers of debugging to obtain location, for example in the present embodiment according to the structural data importing, needing first group of register address information of location is 0x0F13, character string name information is buffer and byte flag position 2 bytes, specifically do not limit herein.
403, the problem register behind integral body location is write to new data value;
In the present embodiment, when the structural data importing from memory device, after a plurality of problems that needs are debugged are deposited and are carried out integral body location, now, problem register to integral body location writes new data value, for example needing wherein one group of register address information of location is 0x0F13, character string name information is buffer and byte flag position 2 bytes, the data value that writes this problem register can be to be 0x0001, 0x0002, 0x0003, now, with corresponding being shown as of factory's menu " 4K ", " 5K ", " 6K ", second group of register address information is 0x0F12, character string name information is agc and byte flag position 1 byte, the data value that writes this problem register can be 0x01 and 0x02, with corresponding being shown as of factory's menu " 30 " and " 40 ", getting the 3rd group of register address information is 0x0F14, character string name information is time and byte flag position 2 bytes, the data value that writes this problem register can be 100, 200, 300, with corresponding being shown as of factory's menu " 100ms ", " 200ms ", " 300ms ", determine and specifically do not limit herein.
In the present embodiment, according to the problem information of feedback, determine the problem register group that needs debugging, and based on passing through memory device guiding structure data value under factory's menu, again by using built-in software to carry out integral body location to problem register, and the data value of problem register is carried out to writing of new data value, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by obtaining address information and the byte flag position information of register, just whole location needs the register of debugging effectively, realized the function to the fast debugging of register, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
Method to the another kind of location register of the adjustment method of embodiment of the present invention register is described in detail, for ease of understanding, below will be with a concrete application scenarios, to embodiment illustrated in fig. 4, be described in detail, another embodiment of a kind of register adjustment method based on factory's menu providing in the embodiment of the present invention comprises:
In the present embodiment, when user is when using television set, this TV breaks down, can be for example while searching channel, to occur missing the situation of channel, specifically do not limit herein, now, user reacts to engineer the fault content that TV occurs, engineer is by the fault content of customer responsiveness, according to feedback, determine the problem information of the register that needs debugging, it should be noted that, this the register group that need to debug possesses with the fault message of television set the relation being associated, the address that this packets of information contains register group and byte flag position, after having determined the register group that needs to debug, obtain the information of the problem register group that needs debugging, here can be address information and the byte flag position information of obtaining this problem register that need to debug, the register group address that need to debug such as this is 0x0F13 etc., the byte flag position of the register that this need to be debugged is double byte etc., specifically do not limit herein, then, according to the structured data values that imports the information of aforesaid problem register group by memory device, by using embedded software to carry out integral body location to the problem register of needs debugging, can also obtain the BANK address information of the problem register that needs debugging, or the character string name information of problem register, for example the character string name information of problem register can be buffer, specifically do not limit herein, now, according to the problem information of feedback, determine and need the problem register of debugging to have a plurality of, can be in advance in memory device by the setting of carrying out structural data of a plurality of problem registers of needs location, this structural data is set up and is had corresponding relation with the information of register group, the structural data importing from memory device can be many group structural datas, make to need a plurality of problem registers of debugging to obtain location, in the present embodiment according to the structural data importing, for example using first group of register address information of embedded software location is 0x0F13, character string name information is buffer and byte flag position 2 bytes, when the structural data importing from memory device, after a plurality of problem registers of needs debugging are carried out to integral body location, now, problem register to integral body location writes new data value, be understandable that, here can be by setting up and have the operation of the remote controller of correspondence to carry out writing of new data value with television set, for example needing the wherein basket register address information of location is 0x0F13, character string name information is buffer and byte flag position 2 bytes, the data value that writes this problem register can be to be 0x0001, 0x0002, 0x0003, now, with corresponding being shown as of factory's menu " 4K ", " 5K ", " 6K ", second group of problem register address information is 0x0F12, character string name information is agc and byte flag position 1 byte, the data value that writes this problem register can be 0x01 and 0x02, with corresponding being shown as of factory's menu " 30 " and " 40 ", getting the 3rd group of register address information is 0x0F14, character string name information is time and byte flag position 2 bytes, the data value that writes this problem register can be 100, 200, 300, with corresponding being shown as of factory's menu " 100ms ", " 200ms ", " 300ms ", determine and specifically do not limit herein.
In the present embodiment, according to the problem information of feedback, determine the problem register that needs debugging, and based on passing through memory device guiding structure data value under factory's menu, again by using built-in software to carry out integral body location to problem register, and the data value of problem register is carried out to writing of new data value, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by obtaining address information and the byte flag position information of register, just whole location needs the register of debugging effectively, realized the function to the fast debugging of register, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
Refer to Fig. 5, an embodiment of a kind of register debugging apparatus based on factory's menu providing in the embodiment of the present invention comprises:
Determining unit 501, for determining the register group of debugging according to the problem information of feedback;
The first positioning unit 502, for crossing use embedded software orientation problem register according to the information exchange of register group;
The first debugging unit 503, for debugging the data value of problem register.
In the present embodiment, determining unit is determined the register group that needs debugging according to the problem information of feedback, and use embedded software to position problem register based on positioning unit under factory's menu, and debugging unit is debugged the data value of problem register, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
That the function of each unit of the register debugging apparatus based on factory's menu in the embodiment of the present invention is described in detail above, to the function of each subelement of positioning unit be described in detail below, refer to Fig. 6, another embodiment of a kind of register debugging apparatus based on factory's menu providing in the embodiment of the present invention comprises:
Determining unit 601, for determining the register group of debugging according to the problem information of feedback;
The first positioning unit 602, for crossing use embedded software orientation problem register according to the information exchange of register group;
Wherein, the first positioning unit 602 can further include:
First obtains subelement 6021, for obtaining register group address;
Second obtains subelement 6022, for obtaining register group byte flag position;
The first locator unit 6023, for passing through to use embedded software orientation problem register according to address and byte flag position.
The first debugging unit 603, for debugging the data value of problem register.
In the present embodiment, determining unit is determined the register group that needs debugging according to the problem information of feedback, and based on the first positioning unit under factory's menu by using built-in software to position problem register, and first debugging unit the data value of problem register is debugged, just can solve larger restrictive technical problem on debugging technique, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by first, obtain subelement and second and obtain address information and the byte flag position information that subelement obtains problem register, just can effectively locate the register that needs debugging, realized the function to the fast debugging of register, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
That the function of each subelement of positioning unit is described in detail above, below the function of each subelement of the data writing value to debugging unit is described in detail, refer to Fig. 7, another embodiment of a kind of register debugging apparatus based on factory's menu providing in the embodiment of the present invention comprises:
Determining unit 701, for determining the register group of debugging according to the problem information of feedback;
The first positioning unit 702, for crossing use embedded software orientation problem register according to the information exchange of register group;
Wherein, the first positioning unit 702 can further include:
First obtains subelement 7021, for obtaining register group address;
Second obtains subelement 7022, for obtaining register group byte flag position;
The first locator unit 7023, for passing through to use embedded software orientation problem register according to address and byte flag position.
The first debugging unit 703, debugs for the data value to register;
Wherein, the first debugging unit 703 can further include:
Write subelement 7031, for problem register is write to new data value;
Judgment sub-unit 7032, whether consistent with the data value of the problem register reading for judging the new data value after writing, if so, return to debugging and successfully point out, if not, return to debugging failed prompting.
In the present embodiment, determining unit is determined the problem register that needs debugging according to the problem information of feedback, and based on positioning unit under factory's menu by using built-in software to position problem register, and first debugging unit the data value of problem register is debugged, then, judgment sub-unit judges whether to write successfully, not only solved larger restrictive technical problem on debugging technique, and, judgment sub-unit is by judging whether successfully to write new data, just improve further the debug function of register, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, and by first, obtain subelement and second and obtain subelement and obtain address information and the byte flag position information of posting problem storage, just can effectively locate the problem register that needs debugging, realized the function to the fast debugging of register, and determine whether successfully problem register is write to design by judging, further improve the design's method, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
Above the function of each subelement of the data writing value of the first debugging unit is described in detail, below the function of the second positioning unit of the register debugging apparatus that the embodiment of the present invention is provided and the second debugging unit is described in detail, refer to Fig. 8, another embodiment of a kind of register debugging apparatus based on factory's menu providing in the embodiment of the present invention comprises:
Determining unit 801, for determining the register group of debugging according to the problem information of feedback;
Acquiring unit 802, for obtaining the information of register group, the address that packets of information contains register group and byte flag position by memory device guiding structure data value;
The second positioning unit 803, for locating by using embedded software to carry out integral body to problem register;
The second debugging unit 804, carries out integral body for the data value of the problem register to behind integral body location and debugs;
Wherein, the second debugging unit 804 can further include:
The second debugging subelement 8041, writes new data value for the problem register to behind integral body location.
In the present embodiment, determining unit is determined the register group that needs debugging according to the problem information of feedback, and based on passing through the second positioning unit under factory's menu from memory device guiding structure data value, again by using embedded software to carry out integral body location to problem register, simultaneously, problem register after the second debugging subelement is located integral body writes new data value, not only solved larger restrictive technical problem on debugging technique, and, the second positioning unit carries out the design of whole location to problem register by memory device guiding structure data value, the scope that makes to determine the register of required debugging is carried out a step and is dwindled, simultaneously, effectively reduced the difficulty of the technical problem that solves long-range feedback, thereby, efficiency is further improved, realized the function to the fast debugging of register, and, further saved in the situation that needs engineer debugs to client, the wasting of resources of the high human cost causing.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid memory device comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the register adjustment method based on factory's menu, is characterized in that, comprising:
According to the problem information of feedback, determine the register group of debugging;
According to the information exchange of described register group, cross use embedded software orientation problem register;
Data value to described problem register is debugged.
2. method according to claim 1, is characterized in that, crosses use embedded software orientation problem register specifically comprise according to the information exchange of described register group:
Obtain described register group address;
Obtain described register group byte flag position;
According to described address and described byte flag position by using described embedded software to locate described problem register.
3. method according to claim 1, is characterized in that, the data value of described problem register is debugged specifically and comprised:
Described problem register is write to new data value;
Whether the new data value after judgement writes is consistent with the data value of the described problem register reading, and if so, returns to debugging and successfully points out, and if not, returns to debugging failed prompting.
4. method according to claim 1, is characterized in that, according to the information exchange of described register group, crosses use embedded software orientation problem register, and the data value of described problem register is debugged specifically and comprised:
By memory device guiding structure data value, obtain the information of described register group, the described address that described packets of information contains described register group and described byte flag position;
By using embedded software to carry out integral body location to described problem register;
The data value of the described problem register behind integral body location is carried out to integral body debugging.
5. method according to claim 4, is characterized in that, the data value of the described problem register behind integral body location is carried out to integral body debugging and specifically comprise:
Described problem register behind integral body location is write to new described data value.
6. the register debugging apparatus based on factory's menu, is characterized in that, comprising:
Determining unit, for determining the register group of debugging according to the problem information of feedback;
The first positioning unit, for crossing use embedded software orientation problem register according to the information exchange of described register group;
The first debugging unit, for debugging the data value of described problem register.
7. the register debugging apparatus based on factory's menu according to claim 6, is characterized in that, the first positioning unit specifically comprises:
First obtains subelement, for obtaining described register group address;
Second obtains subelement, for obtaining described register group byte flag position;
The first locator unit, for according to described address and described byte flag position by using described embedded software to locate described problem register.
8. the register debugging apparatus based on factory's menu according to claim 6, is characterized in that, the first debugging unit specifically comprises:
Write subelement, for described problem register is write to new described data value;
Judgment sub-unit, whether consistent with the data value of the described problem register reading for judging the new data value after writing, if so, return to debugging and successfully point out, if not, return to debugging failed prompting.
9. the register debugging apparatus based on factory's menu according to claim 6, is characterized in that, described register debugging apparatus also comprises:
Acquiring unit, for obtaining the information of described register group, the described address that described packets of information contains described register group and described byte flag position by memory device guiding structure data value;
The second positioning unit, for locating by using embedded software to carry out integral body to described problem register;
The second debugging unit, carries out integral body for the data value of the described problem register to behind integral body location and debugs.
10. the register debugging apparatus based on factory's menu according to claim 9, is characterized in that, the second debugging unit specifically comprises:
The second debugging subelement, writes new described data value for the described problem register to behind integral body location.
CN201310754715.1A 2013-12-31 2013-12-31 Based on register adjustment method and the device of factory menu Active CN103702112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310754715.1A CN103702112B (en) 2013-12-31 2013-12-31 Based on register adjustment method and the device of factory menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310754715.1A CN103702112B (en) 2013-12-31 2013-12-31 Based on register adjustment method and the device of factory menu

Publications (2)

Publication Number Publication Date
CN103702112A true CN103702112A (en) 2014-04-02
CN103702112B CN103702112B (en) 2016-03-30

Family

ID=50363498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310754715.1A Active CN103702112B (en) 2013-12-31 2013-12-31 Based on register adjustment method and the device of factory menu

Country Status (1)

Country Link
CN (1) CN103702112B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549353A (en) * 2018-05-25 2018-09-18 南京邮电大学 Wisdom factory monitoring method and system, readable storage medium storing program for executing, terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642296A (en) * 2004-01-17 2005-07-20 深圳创维-Rgb电子有限公司 General one-key telecontrol regulation method and apparatus
CN101193223A (en) * 2006-11-27 2008-06-04 深圳创维-Rgb电子有限公司 A TV set and its function control method and system
CN102360325A (en) * 2011-09-26 2012-02-22 青岛海信信芯科技有限公司 Debugging method and device of register
CN202310113U (en) * 2011-11-01 2012-07-04 深圳市航天泰瑞捷电子有限公司 Terminal equipment debugger and terminal equipment debugging system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642296A (en) * 2004-01-17 2005-07-20 深圳创维-Rgb电子有限公司 General one-key telecontrol regulation method and apparatus
CN101193223A (en) * 2006-11-27 2008-06-04 深圳创维-Rgb电子有限公司 A TV set and its function control method and system
CN102360325A (en) * 2011-09-26 2012-02-22 青岛海信信芯科技有限公司 Debugging method and device of register
CN202310113U (en) * 2011-11-01 2012-07-04 深圳市航天泰瑞捷电子有限公司 Terminal equipment debugger and terminal equipment debugging system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549353A (en) * 2018-05-25 2018-09-18 南京邮电大学 Wisdom factory monitoring method and system, readable storage medium storing program for executing, terminal

Also Published As

Publication number Publication date
CN103702112B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN102638397B (en) USB (universal serial bus) device communication transmission method, device and system
CN103970578A (en) Method for upgrading master and slave MCUs (micro control units)
CN102436498A (en) Report form generating method and relative device
US10210069B2 (en) Real-time hierarchical protocol decoding
CN101819550A (en) Interface testing system for serial connecting small computer system
CN102193846A (en) Method for backing up and recovering non-volatile (NV) data
CN104216796A (en) Data backup and recovery method and electronic device
CN102750249B (en) The method that host computer communicates with slave computer, Apparatus and system
CN103970665A (en) FPGA (field programmable gate array) system for simulating SPI (serial peripheral interface) FLASH and debugging method
CN100511179C (en) Enhancement type microprocessor piece on-chip dynamic state tracking method with special function register breakpoints
CN102760109A (en) Data communication method, device and system
US8321604B2 (en) Real-time USB class level decoding
CN105373339A (en) Hard disk data copy method and system
CN104216834A (en) Internal storage assess method, buffering scheduler and internal storage module
CN103702112A (en) Register debugging method and device based on factory menu
CN106708445A (en) Link selection method and device
CN102193860A (en) Microcontroller online debugging circuit and method as well as microcontroller
CN109144853B (en) Software defined radio SoC chip debugging system
CN100485637C (en) Method for realizing hardware register based on built-in applied system
CN104572515B (en) Tracking module, method, system and on-chip system chip
CN103902298B (en) Method to set up and the device of status information write with a brush dipped in Chinese ink by a kind of instruction set firmware
CN107193558B (en) Log file generation method and device
CN101971562B (en) Method, device and system for controlling automatic running process performance
CN103488505A (en) Patching method, device and system
CN105607957A (en) OPC DA based data collection and monitoring system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant