CN106292456B - Single-chip microcontroller RAM global variable monitoring method and device - Google Patents
Single-chip microcontroller RAM global variable monitoring method and device Download PDFInfo
- Publication number
- CN106292456B CN106292456B CN201610861708.5A CN201610861708A CN106292456B CN 106292456 B CN106292456 B CN 106292456B CN 201610861708 A CN201610861708 A CN 201610861708A CN 106292456 B CN106292456 B CN 106292456B
- Authority
- CN
- China
- Prior art keywords
- data
- chip microcontroller
- monitored
- address code
- code data
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
- G05B19/0425—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23214—Checksum CRC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of single-chip microcontroller RAM global variable monitoring method, single-chip microcontroller receives the address code data to be monitored that preset controlling terminal is sent;When the address code data verification to be monitored passes through, the address code data to be monitored is subjected to conversion, identifiable destination address code data are calculated;The data value of the corresponding single-chip microcontroller address of the destination address code data is read, and is sent to the controlling terminal after being encrypted, so that the controlling terminal is shown.The invention also discloses a kind of single-chip microcontroller RAM global variable monitoring devices.The present invention is monitored all RAM global variables of single-chip microcontroller, verifies the correctness of product, reliability and rapidly finds out question classification, improves the quality of product.
Description
Technical field
The present invention relates to the monitoring technology field of single-chip microcontroller more particularly to a kind of single-chip microcontroller RAM global variable monitoring methods
And device.
Background technique
At present using microcontroller chip AT89S51 and AT89S52 single-chip microcontroller is small in size with its, light-weight, anti-interference ability
By force, many advantages, such as cheap, is widely used in the Industry Control of many industries in China, instrument and meter, electromechanical equipment, leads to
The various fields such as T unit or even household electrical appliance.Since single chip circuit is relatively simple for structure, itself control performance is limited, in reality
It is often difficult to build more complex circuit in the use process of border, cannot effectively realize the control operation to single-chip microcontroller.It is common at present
The monitoring to single-chip microcontroller only simply by the code of write-in setting, the code for making single-chip microcontroller return to setting is realized to monolithic
The manipulation of machine, and the data of single-chip microcontroller cannot be read and return to the data of single-chip microcontroller to control.It therefore often can only be real
The policer operation of the code now set, and all data of single-chip microcontroller cannot be read.So the prior art can not achieve to volume production
Product by all RAM global variables of monitoring singlechip come root the problem of realizing quick testing product.
Summary of the invention
The main purpose of the present invention is to provide a kind of single-chip microcontroller RAM global variable monitoring method and devices, it is intended to list
All RAM global variables of piece machine are monitored, and are verified the correctness of product, reliability and are rapidly found out question classification, mention
Rise the quality of product.
To achieve the above object, a kind of single-chip microcontroller RAM global variable monitoring method provided by the invention, the single-chip microcontroller
RAM global variable monitoring method the following steps are included:
Receive the address code data to be monitored that preset controlling terminal is sent;
When the address code data verification to be monitored passes through, the address code data to be monitored are subjected to conversion and are calculated
To identifiable destination address code data;
The data value of the corresponding single-chip microcontroller address of the destination address code data is read, and is sent to after being encrypted
The controlling terminal, so that the controlling terminal is shown.
Preferably, the step of address code data verification to be monitored includes:
Store the address code data to be monitored that the controlling terminal is sent;
Whether the first code for examining address code data to be monitored is preset value;
If so, the data amount check received is carried out add-one operation, when the number of received data is more than or equal in advance
If when value, the number for receiving data is reset;
Whether test ending code is preset value, while whether checking code is correct;If so, the address code to be monitored
Data verification passes through.
Preferably, it is described by the address code data to be monitored carry out conversion identifiable destination address yardage is calculated
According to the step of include:
Address code data conversion to be monitored is calculated as to 16 bit address of single-chip microcontroller, after reading conversion for the single-chip microcontroller
Destination address code data.
Preferably, the data value for reading the corresponding single-chip microcontroller address of the destination address code data, and encrypted
The controlling terminal is sent to after processing includes:
Data assignment is sent to first code, the end code of the data value of single-chip microcontroller address, and data assignment is sent to check code,
So that data value of the controlling terminal to single-chip microcontroller address is tested.
Preferably, the address code data to be monitored of the controlling terminal transmission include:
The controlling terminal receives the operational order that user issues;
Parsing obtains the corresponding address code data to be monitored of the operation;
The address code data to be monitored are exported to the single-chip microcontroller.
In addition, to achieve the above object, the present invention also provides a kind of single-chip microcontroller RAM global variable monitoring device, the lists
Piece machine RAM global variable monitoring device includes:
Receiving module, the address code data to be monitored sent for receiving preset controlling terminal;
Conversion module, for when the address code data verification to be monitored passes through, by the address code data to be monitored
It carries out conversion and identifiable destination address code data is calculated;
Read module for reading the data value of the corresponding single-chip microcontroller address of the destination address code data, and is added
The controlling terminal is sent to after close processing, so that the controlling terminal is shown.
Preferably, the conversion module includes:
Storage element, the address code data to be monitored sent for storing the controlling terminal;
Whether first detection unit is preset value for examining the first code of address code data to be monitored;
Arithmetic element: the data for when the first code of the address code data to be monitored is preset value, then will receive
Number carries out add-one operation, and when the number of received data is more than or equal to preset value, the number for receiving data is reset;
Whether second detection unit is preset value for test ending code, while whether checking code is correct;When described
When check code is correct, then the address code data verification to be monitored passes through.
Preferably, the conversion module includes:
Converting unit, for address code data conversion to be monitored to be calculated as to 16 bit address of single-chip microcontroller, for the list
The machine-readable destination address code data taken after conversion of piece.
Preferably, the read module includes:
Assignment unit, first code, end code for the data value to single-chip microcontroller address send data assignment, and to check code
Data assignment is sent, so that data value of the controlling terminal to single-chip microcontroller address is tested.
Preferably, the controlling terminal is specifically used for, and receives the operational order that user issues;Parsing obtains the operation
Corresponding address code data to be monitored;The address code data to be monitored are exported to the single-chip microcontroller.
Single-chip microcontroller of the embodiment of the present invention receives the address code data to be monitored that preset controlling terminal is sent;When described wait supervise
When control address code data verification passes through, the address code data to be monitored is subjected to conversion, identifiable destination address is calculated
Code data;The data value of the corresponding single-chip microcontroller address of the destination address code data is read, and is sent to after being encrypted
The controlling terminal, so that the controlling terminal is shown.Become using all RAM overall situations of method of the invention to single-chip microcontroller
The problem of amount is monitored, and is verified the correctness of product, reliability and is rapidly found out project root, improves the product of product
Matter.
Detailed description of the invention
Fig. 1 is the flow diagram of single-chip microcontroller RAM global variable monitoring method first embodiment of the present invention;
Fig. 2 is to verify the address code to be monitored in single-chip microcontroller RAM global variable monitoring method first embodiment of the present invention
The refinement flow diagram of data;
Fig. 3 is the functional block diagram of single-chip microcontroller RAM global variable monitoring device first embodiment of the present invention;
Fig. 4 is the refinement function mould of conversion module in single-chip microcontroller RAM global variable monitoring device first embodiment of the present invention
Block schematic diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of single-chip microcontroller RAM global variable monitoring method, wherein uses between single-chip microcontroller and controlling terminal
Serial port communicating protocol is communicated, and communications protocol baud rate is 1200bps;Referring to Fig.1, in one embodiment, single-chip microcontroller RAM
Global variable monitoring method includes:
Step S10 receives the address code data to be monitored that preset controlling terminal is sent;
In the present embodiment, user issues the data for needing to monitor to controlling terminal, this implementation by the interface of controlling terminal
The controlling terminal of example terminal is PC machine.Specifically, address of the user at the monitored address data block of the monitoring software of PC machine
The RAM global variable of single-chip microcontroller is inputted in code 1~10.PC machine receives the operational order that user issues, and parsing obtains the behaviour
Make corresponding band monitored address code data.The address code data to be monitored of parsing are transferred to institute by serial port communicating protocol by PC machine
State single-chip microcontroller.
Step S20 is turned the address code data to be monitored when the address code data verification to be monitored passes through
It changes and identifiable destination address code data is calculated;
It should be noted that after the single-chip microcontroller receives the address code data to be monitored that PC machine sends over, it can be to institute
The address code data to be monitored received are verified.
Further, in this embodiment single-chip microcontroller receives the address code data to be monitored that PC machine sends over, and examine
The transmitted address code data to be monitored to come are in correct situation, single-chip microcontroller by the address code data to be monitored received into
Row conversion is calculated as destination address code data.Specifically, in the present embodiment, address code data to be monitored that single-chip microcontroller will receive
Conversion is calculated as 16 bit address of single-chip microcontroller, and 16 bit address of single-chip microcontroller cannot exceed this value range of 0x0000~0x3000,
The data value (this i.e. RAM global variable data) being read out in address again.
Step S30, reads the data value of the corresponding single-chip microcontroller address of the destination address code data, and is encrypted
After be sent to the controlling terminal, so that the controlling terminal is shown.
Specifically, after single-chip microcontroller reads the data value of corresponding monitored address, by the data of the monitored address read
Value is encrypted.Specific encrypting step is the data value assignment for the single-chip microcontroller address that the single-chip microcontroller sends needs, respectively
Data assignment is sent to first code, end code, and to check code data assignment, so that the controlling terminal is with receiving single-chip microcontroller
When the data value of location inspection can be compared according to the data after assignment.
It is understood that working as PC after data value of the single-chip microcontroller to the single-chip microcontroller address of required transmission carries out assignment
When machine receives the data value for the single-chip microcontroller address that single-chip microcontroller sends over, PC machine is by the data to the single-chip microcontroller address received
Value is verified.It is i.e. whether correct to first code value, end value and the check code of the data value of the single-chip microcontroller address received, such as
It is correct that fruit, which verifies, then it represents that the data value for the single-chip microcontroller address that single-chip microcontroller sends over is correctly, not lose number
According to, while not receiving the interference of other data yet.The display window of PC machine would indicate that received data value at this time.Tool
Body, in the present embodiment, user inputs single in the address code 1~10 at the monitored address data block of the monitoring software of PC machine
The RAM global variable of piece machine shows that data 1~10 are shown in the monitoring software of PC machine after completing above-mentioned step accordingly
The numerical value of the RAM global variable of single-chip microcontroller is inputted out.In the present embodiment, the data received are shown in graph form
Come, when equipment (such as air conditioner) certain monitored is broken down, for example, frequency converter or compressor inside air-conditioning are sent out
Raw failure etc., at this point, the data of the monitored address read are sent to PC machine by single-chip microcontroller, data shown in PC machine and normal
Data value there is deviation, then, user can then detect air-conditioning according to this result accordingly.
The embodiment of the present invention between the single-chip microcontroller and the controlling terminal by using serial port communicating protocol to be led to
News, communications protocol baud rate are 1200bps.Address code data to be monitored are transferred to the single-chip microcontroller by the controlling terminal;Institute
It states single-chip microcontroller and receives the address code data to be monitored that the controlling terminal sends over, and verify the address code data to be monitored
It whether is true value;If so, the address code data to be monitored received are carried out conversion calculating, and read after conversion calculates to
The data value of single-chip microcontroller address corresponding to monitored address code data;The single-chip microcontroller is sent after encrypting the data value read
To the controlling terminal;The data value that single-chip microcontroller sends over is decrypted in the controlling terminal, to read corresponding
Data value completes the data monitoring to the single-chip microcontroller.Using method of the invention to all RAM global variables of single-chip microcontroller
The problem of being monitored, verifying the correctness of product, reliability and rapidly find out project root, promotes the quality of product.
Further, referring to Fig. 2, single-chip microcontroller RAM global variable monitoring method first embodiment of the present invention, above-mentioned step are based on
Suddenly S20 includes:
Step S21 stores the address code data to be monitored that the controlling terminal sends over;
Step S22, examines whether the first code of address code data to be monitored is preset value;
Step S23, if so, the data amount check received is carried out add-one operation, when the number of received data is big
When being equal to preset value, the number for receiving data is reset;
Step S24, whether test ending code is preset value, while whether checking code is correct;If so, described wait supervise
Control address code data verification passes through.
In the present embodiment, the first code that PC machine is sent to the address code data to be monitored of single-chip microcontroller is 0xEE, when inspection PC machine
When the first code of the address code data to be monitored sended over is 0xEE, then it represents that there is no mistake, continue in next step, to receive
The data amount check arrived carries out add-one operation;When the number of received data is more than or equal to 24, the data amount check that will receive
It is zeroed out operation.And examine address code data to be monitored end code whether 0x77, meanwhile, examine send over wait supervise
Whether the check code for controlling address code data is correct.If above-mentioned inspection is all correct, then it represents that PC machine send over to be monitoredly
Location code data are correctly, not lose data, also do not interfered with by other data, at this point, single-chip microcontroller will be to receiving
Address code data to be monitored carry out next step operation.If discovery receives the data to come not during above-mentioned checked operation
Correctly, then the prompt of PC machine input address information errors is returned to.
The present embodiment is tested by treating monitored address code data, improves the accuracy of data transmission, thus real
Now to the effective monitoring of single-chip microcontroller.
The present invention provides a kind of device of monitoring singlechip RAM global variable, wherein adopts between single-chip microcontroller and controlling terminal
It is communicated with serial port communicating protocol, communications protocol baud rate is 1200bps;Referring to Fig. 3, in one embodiment, the monitoring list
The device of piece machine RAM global variable includes:
Receiving module 10, the address code data to be monitored sent for receiving preset controlling terminal;
In the present embodiment, user issues the data for needing to monitor to controlling terminal, this implementation by the interface of controlling terminal
The controlling terminal of example terminal is PC machine.Specifically, address of the user at the monitored address data block of the monitoring software of PC machine
The RAM global variable of single-chip microcontroller is inputted in code 1~10.PC machine receives the operational order that user issues, and parsing obtains the behaviour
Make corresponding band monitored address code data.The address code data to be monitored of parsing are transferred to institute by serial port communicating protocol by PC machine
State single-chip microcontroller.
Conversion module 20, for when the address code data verification to be monitored passes through, by the address yardage to be monitored
Identifiable destination address code data are calculated according to conversion is carried out;
It should be noted that after the single-chip microcontroller receives the address code data to be monitored that PC machine sends over, it can be to institute
The address code data to be monitored received are verified.
Further, in this embodiment single-chip microcontroller receives the address code data to be monitored that PC machine sends over, and examine
The transmitted address code data to be monitored to come are in correct situation, single-chip microcontroller by the address code data to be monitored received into
Row conversion is calculated as destination address code data.Specifically, in the present embodiment, address code data to be monitored that single-chip microcontroller will receive
Conversion is calculated as 16 bit address of single-chip microcontroller, and 16 bit address of single-chip microcontroller cannot exceed this value range of 0x0000~0x3000,
The data value (this i.e. RAM global variable data) being read out in address again.
Read module 30 for reading the data value of the corresponding single-chip microcontroller address of the destination address code data, and carries out
The controlling terminal is sent to after encryption, so that the controlling terminal is shown.
Specifically, after single-chip microcontroller reads the data value of corresponding monitored address, by the data of the monitored address read
Value is encrypted.Specific encrypting step is the data value assignment for the single-chip microcontroller address that the single-chip microcontroller sends needs, respectively
Data assignment is sent to first code, end code, and to check code data assignment, so that the controlling terminal is with receiving single-chip microcontroller
When the data value of location inspection can be compared according to the data after assignment.
It is understood that working as PC after data value of the single-chip microcontroller to the single-chip microcontroller address of required transmission carries out assignment
When machine receives the data value for the single-chip microcontroller address that single-chip microcontroller sends over, PC machine is by the data to the single-chip microcontroller address received
Value is verified.It is i.e. whether correct to first code value, end value and the check code of the data value of the single-chip microcontroller address received, such as
It is correct that fruit, which verifies, then it represents that the data value for the single-chip microcontroller address that single-chip microcontroller sends over is correctly, not lose number
According to, while not receiving the interference of other data yet.The display window of PC machine would indicate that received data value at this time.Tool
Body, in the present embodiment, user inputs single in the address code 1~10 at the monitored address data block of the monitoring software of PC machine
The RAM global variable of piece machine shows that data 1~10 are shown in the monitoring software of PC machine after completing above-mentioned step accordingly
The numerical value of the RAM global variable of single-chip microcontroller is inputted out.In the present embodiment, the data received are shown in graph form
Come, when equipment (such as air conditioner) certain monitored is broken down, for example, frequency converter or compressor inside air-conditioning are sent out
Raw failure etc., at this point, the data of the monitored address read are sent to PC machine by single-chip microcontroller, data shown in PC machine and normal
Data value there is deviation, then, user can then detect air-conditioning according to this result accordingly.
The embodiment of the present invention between the single-chip microcontroller and the controlling terminal by using serial port communicating protocol to be led to
News, communications protocol baud rate are 1200bps.Address code data to be monitored are transferred to the single-chip microcontroller by the controlling terminal;Institute
It states single-chip microcontroller and receives the address code data to be monitored that the controlling terminal sends over, and verify the address code data to be monitored
It whether is true value;If so, the address code data to be monitored received are carried out conversion calculating, and read after conversion calculates to
The data value of single-chip microcontroller address corresponding to monitored address code data;The single-chip microcontroller is sent after encrypting the data value read
To the controlling terminal;The data value that single-chip microcontroller sends over is decrypted in the controlling terminal, to read corresponding
Data value completes the data monitoring to the single-chip microcontroller.Using method of the invention to all RAM global variables of single-chip microcontroller
The problem of being monitored, verifying the correctness of product, reliability and rapidly find out project root, promotes the quality of product.
Further, above-mentioned based on the device first embodiment of monitoring singlechip RAM global variable of the present invention referring to Fig. 4
Conversion module 20 includes:
Storage element 21 stores the address code data to be monitored that the controlling terminal sends over;
First detection unit 22, examines whether the first code of address code data to be monitored is preset value;
Arithmetic element 23, if so, the data amount check received is carried out add-one operation, as of received data
When number is more than or equal to preset value, the number for receiving data is reset;
Second detection unit 24, whether test ending code is preset value, while whether checking code is correct;If so,
Determine that the address code data to be monitored are true value, then the address code data verification to be monitored passes through.
In the present embodiment, the first code that PC machine is sent to the address code data to be monitored of single-chip microcontroller is 0xEE, when inspection PC machine
When the first code of the address code data to be monitored sended over is 0xEE, then it represents that there is no mistake, continue in next step, to receive
The data amount check arrived carries out add-one operation;When the number of received data is more than or equal to 24, the data amount check that will receive
It is zeroed out operation.And examine address code data to be monitored end code whether 0x77, meanwhile, examine send over wait supervise
Whether the check code for controlling address code data is correct.If above-mentioned inspection is all correct, then it represents that PC machine send over to be monitoredly
Location code data are correctly, not lose data, also do not interfered with by other data, at this point, single-chip microcontroller will be to receiving
Address code data to be monitored carry out next step operation.If discovery receives the data to come not during above-mentioned checked operation
Correctly, then the prompt of PC machine input address information errors is returned to.
The present embodiment is tested by treating monitored address code data, improves the accuracy of data transmission, thus real
Now to the effective monitoring of single-chip microcontroller.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of single-chip microcontroller RAM global variable monitoring method, which is characterized in that the side of the monitoring singlechip RAM global variable
Method the following steps are included:
Receive the address code data to be monitored that preset controlling terminal is sent;
When the address code data verification to be monitored passes through, the address code data to be monitored are carried out conversion, and be calculated can
The destination address code data of identification;
The data value of the corresponding single-chip microcontroller address of the destination address code data is read, and is sent to after being encrypted described
Controlling terminal, so that the controlling terminal is shown.
2. single-chip microcontroller RAM global variable monitoring method as described in claim 1, which is characterized in that the address code to be monitored
The step of data verification includes:
Store the address code data to be monitored that the controlling terminal is sent;
Whether the first code for examining address code data to be monitored is preset value;
If so, the data amount check received is carried out add-one operation, when the number of received data is more than or equal to preset value
When, the number for receiving data is reset;
Whether test ending code is preset value, while whether checking code is correct;If so, the address code data to be monitored
It is verified.
3. single-chip microcontroller RAM global variable monitoring method as described in claim 1, which is characterized in that it is described will be described to be monitored
Address code data carry out converting the step of identifiable destination address code data are calculated
Address code data conversion to be monitored is calculated as to 16 bit address of single-chip microcontroller, so that the single-chip microcontroller reads the mesh after conversion
Mark address code data.
4. single-chip microcontroller RAM global variable monitoring method as described in claim 1, which is characterized in that described to read the target
The data value of the corresponding single-chip microcontroller address of address code data, and the step of being sent to the controlling terminal after being encrypted packet
It includes:
Data assignment is sent to first code, the end code of the data value of single-chip microcontroller address, and data assignment is sent to check code, for
The controlling terminal tests to the data value of single-chip microcontroller address.
5. single-chip microcontroller RAM global variable monitoring method as described in claim 1, which is characterized in that the controlling terminal is sent
Address code data to be monitored include:
The controlling terminal receives the operational order that user issues;
Parsing obtains the corresponding address code data to be monitored of the operation;
The address code data to be monitored are exported to the single-chip microcontroller.
6. a kind of single-chip microcontroller RAM global variable monitoring device, which is characterized in that the dress of the monitoring singlechip RAM global variable
It sets and includes:
Receiving module, the address code data to be monitored sent for receiving preset controlling terminal;
Conversion module, for when the address code data verification to be monitored passes through, the address code data to be monitored to be carried out
Identifiable destination address code data are calculated in conversion;
Read module for reading the data value of the corresponding single-chip microcontroller address of the destination address code data, and carries out at encryption
The controlling terminal is sent to after reason, so that the controlling terminal is shown.
7. single-chip microcontroller RAM global variable monitoring device as claimed in claim 6, which is characterized in that the conversion module includes:
Storage element, the address code data to be monitored sent for storing the controlling terminal;
Whether first detection unit is preset value for examining the first code of address code data to be monitored;
Arithmetic element, for when the first code of the address code data to be monitored be preset value when, by the data amount check received into
Row add-one operation resets the number for receiving data when the number of received data is more than or equal to preset value;
Whether second detection unit is preset value for test ending code, while whether checking code is correct;When the verification
When code is correct, then the address code data verification to be monitored passes through.
8. single-chip microcontroller RAM global variable monitoring device as claimed in claim 6, which is characterized in that the conversion module also wraps
It includes:
Converting unit, for address code data conversion to be monitored to be calculated as to 16 bit address of single-chip microcontroller, for the single-chip microcontroller
Destination address code data after reading conversion.
9. single-chip microcontroller RAM global variable monitoring device as claimed in claim 6, which is characterized in that the read module includes:
Assignment unit, first code, end code for the data value to single-chip microcontroller address send data assignment, and send to check code
Data assignment, so that data value of the controlling terminal to single-chip microcontroller address is tested.
10. single-chip microcontroller RAM global variable monitoring device as claimed in claim 6, which is characterized in that the controlling terminal is specific
Ground is used for, and receives the operational order that user issues;Parsing obtains the corresponding address code data to be monitored of the operation;Will it is described to
Monitored address code data are exported to the single-chip microcontroller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610861708.5A CN106292456B (en) | 2016-09-28 | 2016-09-28 | Single-chip microcontroller RAM global variable monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610861708.5A CN106292456B (en) | 2016-09-28 | 2016-09-28 | Single-chip microcontroller RAM global variable monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106292456A CN106292456A (en) | 2017-01-04 |
CN106292456B true CN106292456B (en) | 2018-12-07 |
Family
ID=57715866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610861708.5A Active CN106292456B (en) | 2016-09-28 | 2016-09-28 | Single-chip microcontroller RAM global variable monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106292456B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2247547B (en) * | 1990-08-31 | 1994-12-07 | Mitsubishi Electric Corp | Microcomputer |
CN2802330Y (en) * | 2004-06-30 | 2006-08-02 | 深圳职业技术学院 | Control system of air conditioner |
JP2008198143A (en) * | 2007-02-15 | 2008-08-28 | Fuji Electric Fa Components & Systems Co Ltd | Program preparation support device and program preparation support method for programmable controller |
CN103984278A (en) * | 2014-05-28 | 2014-08-13 | 天津瑞能电气有限公司 | Storage and quick positioning reading method for long-time multivariable monitoring data |
CN104461806A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Data breakpoint monitoring method and device and debugger |
CN104508583A (en) * | 2012-08-03 | 2015-04-08 | 东芝三菱电机产业系统株式会社 | Plant control monitoring system |
-
2016
- 2016-09-28 CN CN201610861708.5A patent/CN106292456B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2247547B (en) * | 1990-08-31 | 1994-12-07 | Mitsubishi Electric Corp | Microcomputer |
CN2802330Y (en) * | 2004-06-30 | 2006-08-02 | 深圳职业技术学院 | Control system of air conditioner |
JP2008198143A (en) * | 2007-02-15 | 2008-08-28 | Fuji Electric Fa Components & Systems Co Ltd | Program preparation support device and program preparation support method for programmable controller |
CN104508583A (en) * | 2012-08-03 | 2015-04-08 | 东芝三菱电机产业系统株式会社 | Plant control monitoring system |
CN104461806A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Data breakpoint monitoring method and device and debugger |
CN103984278A (en) * | 2014-05-28 | 2014-08-13 | 天津瑞能电气有限公司 | Storage and quick positioning reading method for long-time multivariable monitoring data |
Non-Patent Citations (2)
Title |
---|
Vxworks下系统信息监控的研究;秦国亮等;《微计算机信息》;20091231;第 25 卷(第12-2期);92-93 * |
基于TMS320F2812DSP的调试监控软件实现;曹昕等;《电子测量技术》;20090228;第32卷(第2期);86-89 * |
Also Published As
Publication number | Publication date |
---|---|
CN106292456A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103077114B (en) | Based on the automated testing method of temperature measuring equipment communication protocol | |
CN103954011B (en) | The indoor unit and outdoor unit matching process and device and air-conditioner set of air-conditioner set | |
KR102016812B1 (en) | Method of Deriving and Visualizing the Causes of Process Malfunctions Through Machine Learning Model In Data Imbalance Environment | |
JP2014507730A (en) | Method and apparatus for partial stroke inspection of emergency shut-off valve | |
CN101324363B (en) | Air conditioner monitoring system | |
CN104618054A (en) | Parameter adjusting method and device | |
CN104301007A (en) | Field devices and communication system | |
CN104216828A (en) | Testing method for performing function traversal on tested application program | |
CN114205427B (en) | Method, apparatus and storage medium for protocol docking debugging | |
CN105024873A (en) | Protocol conformance testing system and method based on equipment and scene simulation | |
WO2022022717A1 (en) | Test method and device | |
CN104181913A (en) | Testing system used for intelligent household system | |
JP2007246040A (en) | Electronic control device, simulation device, testing device, and testing method | |
TWI635717B (en) | System and method for data packet transceiver testing after signal calibration and power settling to minimize test time | |
CN112198861A (en) | Application program testing method of vehicle-mounted terminal | |
CN106292456B (en) | Single-chip microcontroller RAM global variable monitoring method and device | |
CN104699609A (en) | Method and device for detecting serial port communication | |
CN115792583B (en) | Method, device, equipment and medium for testing vehicle-gauge chip | |
CN104135403B (en) | A kind of distributed environment Monitoring Data transfer check method | |
WO2013064063A1 (en) | Encryptor simulation test device and method | |
US7721260B2 (en) | Embedded Test I/O Engine | |
CN113556210B (en) | Upper computer and method for establishing communication connection | |
CN106919748B (en) | Device and method for improving FPGA prototype verification efficiency | |
CN105376117A (en) | FC switch chip data monitoring test method | |
CN112953799A (en) | Data verification system and data verification 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |