Quảng cáo
Quảng cáo
SET_COVERAGE
5.36
SET_COVERAGE
SCV
Sets coverage range
Format
Set:
SET_COVERAGE˘<start address>˘{<end address>|
@<byte count>} (RET)
Setting state display:
SET_COVERAGE (RET)
SET_COVERAGE- [˘<start address>] (RET) Clear:
Parameter
• <start address>˘{<end address>|@<byte count>}
Specifies the range for which coverage information is to be acquired.
Function
Sets, displays, and clears the range of addresses over which C0 and C1 coverage information is acquired.
Note that this command only sets the range for coverage measurement, and that the COVERAGE command is used to start the acquisition of coverage information.
Description
Set: Sets the area for the acquisition of C0 and C1 coverage information.
Up to 16 address ranges can be specified.
The coverage ranges may not be set during coverage execution.
When a debugging object program is loaded with the LOAD command, the code segment areas in that program are automatically set as the address range.
Setting state display: Displays the setting state.
When the setting state is displayed during coverage execution, the address range(s), the file name, and the enable/disable state are displayed.
When coverage is not being executed, only the coverage areas are displayed.
Clear: The specified coverage area is made invalid.
When the address specification is omitted, all areas settings are cleared.
148
SET_COVERAGE
In this case a confirmation message will be displayed. Respond "Y" to clear all areas or "N" to cancel the clear operation.
Examples
1.
To set the address range for coverage data acquisition to be from address H'1000 to address
H'12FF:
: SCV 1000 12FF (RET)
:
2.
To display coverage setting following the start of coverage measurement:
: SCV (RET) file name = test1.cov
Enable/Disable = E coverage area
00001000 - 000012FF
00001800 - 00001FFF
:
3.
To cancel the area starting at address H'1000 from the coverage address ranges:
: SCV- 1000 (RET)
149
Tải xuống
Quảng cáo