Invention Grant
- Patent Title: Code coverage tracking for a microcontroller program
-
Application No.: US15916509Application Date: 2018-03-09
-
Publication No.: US10402309B2Publication Date: 2019-09-03
- Inventor: Joseph Drzewiecki , James McInnes
- Applicant: Microchip Technology Incorporated
- Applicant Address: US AZ Chandler
- Assignee: MICROCHIP TECHNOLOGY INCORPORATED
- Current Assignee: MICROCHIP TECHNOLOGY INCORPORATED
- Current Assignee Address: US AZ Chandler
- Agency: Slayden Grubert Beard PLLC
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/36 ; G06F8/33

Abstract:
A microcontroller may include a processor and at least one memory device storing (a) program code of a program defining a plurality of dominator arcs based on logical relationships among basic blocks (instructions) in the program code; and (b) a set of instrumentation points consisting of a subset of the program code basic blocks that correspond with the plurality of dominator arcs, each instrumentation point being located in a respective dominator arc. A code coverage implementation program (e.g., IDE or compiler) may be configured to instrument each instrumentation point in the program code with execution tracking instruction(s) to store or generate execution recording information. A testing tool may be used to execute the program on the microcontroller, wherein execution of each respective instrumentation point in the program code causes the respective execution tracking instruction to store or generate execution recording information indicating that the dominator arc corresponding with that instrumentation point has been executed by the testing tool.
Public/Granted literature
- US20180322033A1 Code Coverage Tracking For A Microcontroller Program Public/Granted day:2018-11-08
Information query