Method for monitoring internal memory varible rewrite based on finite-state-machine
A technology of finite state machine and memory, which is applied in the field of monitoring memory variable rewriting based on finite state machine, which can solve problems such as abnormal reading and writing of CPU memory, limitation of application range, and abnormal interruption of CPU, so as to achieve accurate positioning and improve debugging efficiency , good real-time effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0014] Such as figure 1 As shown, the present invention provides a method for monitoring memory variable rewriting based on a finite state machine, which specifically includes:
[0015] First, according to the monitoring parameters of the memory variable to be monitored and the monitoring conditions, a monitoring unit is set (step 101). Then, set several monitoring points at different positions of the finite state machine (step 102). When the program runs to the monitoring point, it is judged whether the corresponding monitoring conditions recorded in the monitoring unit have been satisfied (step 103). If the monitoring condition has been met, output monitoring information at the monitoring point of the finite state machine (step 104). Next, monitor the next monitoring unit (step 105). If the monitoring condition is not satisfied, then directly monitor the next monitoring unit (step 105).
[0016] Such as figure 2 As shown, the specific steps to set up the monitoring uni...
Embodiment 2
[0030] Such as image 3 As shown, in the present invention, when it is impossible to determine whether the monitoring point and the monitoring unit are set, the specific process is as follows:
[0031] First, judge whether the monitoring point is set (step 301), if the monitoring point is not set, then exit the monitoring program. If the monitoring point is set, then judge whether the monitoring unit is set (step 302); if the monitoring unit is set, then take out a monitoring unit, and judge whether the monitoring has been completed (step 303); Whether condition satisfies (step 304); If monitoring condition satisfies, then mark this unit monitoring completion sign, and record monitoring information (step 305), judge whether monitoring unit scans and finish (step 306); And in above-mentioned process, do not detect If the monitoring unit finds that the monitoring unit has finished monitoring or the monitoring condition of the monitoring unit is not met, it will directly determi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com