Hard single-step system memory read and write monitoring method

A hard single-step, memory technology, applied in the field of memory monitoring in software systems, can solve problems that affect the normal operation of the system, affect the software debugging progress of multi-task embedded systems, and GDB cannot define and judge all rules well. Improve the effect of debugging progress

Active Publication Date: 2014-12-24
SHANGHAI BAUD DATA COMM
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. When the memory to be detected is frequently read/written, and programmers only care about memory operations that meet certain rules, GDB cannot define and judge all the rules well, which may cause the program being debugged to frequently enter the observation point exception, Many times programmers don't care about these exceptions
[0005] 2. In a multi-tasking system, there may be complex relationships between

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hard single-step system memory read and write monitoring method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0032] This example takes IBM's PPC405EP to run the VxWorks operating system as an example to further illustrate the specific implementation process of the present invention's solution. The specific implementation steps are as follows, refer to figure 1 :

[0033] 1. After the initialization of VxWorks, use excVecSet to mount the EXC_OFF_DBG exception handling function, handle observation points and hard single-step exceptions, and use taskSwitchHookAdd to mount the task switching hook function;

[0034] 2. Set the memory interval to be monitored, and set the memory observation point as the memory interval to be monitored through the Dbcr1, Dac1, and Dac2 registers of the CPU. Dbcr1 can select the DA12 mode, and set D1R, D1W according to the acce

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a hard single-step system memory read and write monitoring method. The memory monitoring is implemented through a CPU observing point mechanism, a hard single-step mechanism and an advanced patch technology. By the aid of the method, the problems of the existing memory monitoring mechanism can be solved effectively, and the method is adaptive to online debugging of a multiple (single) task embedding system.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Owner SHANGHAI BAUD DATA COMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products