Home > User Support > CoverageMaster winAMS FAQ

FAQ - CoverageMaster winAMS, CasePlayer2

You can find answers to CoverageMaster winAMS and CasePlayer2 frequently asked questions here.

FAQ Sections

- License Management Software
Note: A site ID (user ID) and password are required to access this page.

CasePlayer2 Analysis

FAQ-ID

Keywords

Question

D01_01

Analysis error, Basic settings, Advanced analysis mode

How do I setup CasePlayer2 to use the advanced analysis mode, or link with CoverageMaster?

019_04

File I/O error, Include path settings

How do I fix a CasePlayer2 analysis "File I/O Error"?

019_07

Analysis error, User keywords

How do I fix a CasePlayer2 analysis, "CasePlayer2-E-SYN : ; expected." error?

D01_02

IAR compiler analysis error, Advanced analysis mode

Is there a way to efficiently retrieve settings from the IAR compiler when using advanced analysis mode?

D01_03

GCC compiler analysis error, Advanced analysis mode

Is there a way to efficiently obtain the setting information from the GCC compiler when using the advanced analysis mode?

019_06

V850, 78K0 series compiler, Undeclared error, Device file

How do I fix a CasePlayer2 analysis, "CasePlayer2-E-SYN : name (xxx) is not declared." error? I am using the Renesas Electronics (formerly NEC Electronics) cross-compiler.

019_08

RL78, ARM-Cortex, IAR compiler, Undeclared error, SFR header file

How do I fix a CasePlayer2 analysis, "CasePlayer2-E-SYN : name (xxx) is not declared." error? I am using the IAR compiler.

019_09

Nameless structure, Nameless union

When analyzing with CasePlayer2, an analysis error occurs at a line that accesses a structure/union member. How do I fix it?

019_02

Include path

What is the lookup order for CasePlayer2's include path settings?

019_03

Include path, Relative path

Can I use relative paths in the CasePlayer2 "User Include Path" setting?

019_05

Include path, Subfolder

Header files from subfolders are not found by CasePlayer2 even when the parent folder is set in the "User Include Path" setting. What is wrong?

309_01

Include path, Add header files

What is the difference between the include path of the "Preprocessor Settings" and adding a header file to the project?

462_01

CasePlayer2 version

Does the version of CasePlayer2 and CoverageMaster have to match?

462_02

Assembly code analysis

What are the supported assembly code languages for creating program documents from assembly code?

462_03

CasePlayer2 settings copy/transfer

How do I reuse the project settings of a CasePlayer2 project in a different project?


MISRA-C Checker


CasePlayer2 Document Creation


CoverageMaster linked with CasePlayer2


MPU Specific Issues

FAQ-ID

Keywords

Question

017_07

RL78, CubeSuite+, Source reference error

How do I fix a "Source file doesn't exist" simulation error? I am using the Renesas CubeSuite+ compiler for RL78.

005_01

V850 or 78K0 series compiler, Device file, Defined symbol list file

I cannot select an I/O port as an Input/Output variable for my test. I am using the Renesas Electronics (formerly NEC Electronics) cross-compiler. How do I fix it?

005_02

RL78, Variable becomes 0, Mirror area

With the Renesas Electronics RL78 MPU, the input data that I entered in the test CSV file becomes 0 during simulation. How do I fix it?

005_03

RL78, C1 coverage, Conditional skip instruction

With the Renesas Electronics RL78 MPU, I cannot measure C1 coverage for an if statement. How do I fix it?

114_02

Cortex-A or Cortex-R series big endian, Simulation error

I get a simulation error with a Cortex-A or Cortex-R series MPU in big endian. How do I fix it?

114_03

Cortex-A or Cortex-R series, Cortex-M0/M0+/M1, Cortex-M3, Cortex-M4, ARM linker (armlink), Scatter file

Using the ARM linker (armlink) for my object file, some input/output variables I want to use for testing are not displayed in CoverageMaster. How do I fix it?

114_04

Cortex-A or Cortex-R series, Cortex-M0/M0+/M1, Cortex-M3, Cortex-M4, Function pointer, Simulation error

Using an ARM Cortex MPU, running tests for a function calling a sub-function through a function pointer does not execute correctly. How do I fix it?

114_05

RH850, Variable invalid

I am performing a simulation with a RH850 environment, but the value of a variable for the function being tested is incorrect. How do I fix it?


Compiler Specific Issues



Object File, OMF Conversion

FAQ-ID

Keywords

Question

017_01

OMF conversion

The "OMF Convert" button is disabled. How can I use it?

017_02

OMF conversion, Hide warning messages

How to hide the OMF conversion warning messages?

017_03

OMF conversion, Unexpected termination

The tool terminates during OMF conversion.

017_04

OMF conversion,
Conversion error

"Failed to read the object file" error during OMF conversion.

017_05

OMF conversion, Conversion error, IAR

When I try to OMF convert an object file built with the IAR compiler, the conversion fails with the error "Could not open the input file."

017_06

MPU type

I cannot find my MPU type in the test project settings dialog.

017_08

Function List, IAR

When I start WinAMS using an object file built with the IAR compiler, the functions implemented in different source files will be displayed in the "Function List" as corresponding to the same source file.

021_01

VxWorks
loadable module

How do I test using a VxWorks "loadable module"?

115_01

Assembly variable

How to use an assembly symbol as a test variable?

115_02

#pragma inline asm, Inline assembly

How to test a function using #pragma inline_asm with the Renesas HEW compiler?

115_03

Assembly variable, Reference list

I cannot generate reference lists for variables defined in assembly.

316_01

Interrupt handler

How to test an interrupt handler?

453_01

Static function

I cannot find a static function in the function list.

102_08

Inline function, Macro defined function

How to test an inline function or a macro defined function?

102_09

Inline function, Macro defined function

How to create a stub for an inline function or a macro defined function?

 

Tool Startup, Startup Routine


Stub Functions

Test Data Settings

FAQ-ID

Keywords

Question

014_04

Test driver, dummy function, Argument test data not passed

The input data cannot be entered from the CSV file to the target function's arguments. Is there a workaround?

014_05

Register map, Defined symbols list

I cannot find the I/O ports declared in my code in the [Register Maps] tab or the [Defined Symbols] tab. How can I get them to appear?

001_01

#define symbols

Can #define symbol names defined in header files be used in test CSVs?

014_01

Structure argument

When testing a function with a structure argument, a WinAMS pointer allocation has not been set error appears.

014_02

Dummy function,
Static function call

How can I call a static function located in another source file from a dummy function?

014_03

Structure argument

I cannot find the structure type argument in the variable list of the Unit Test CSV Settings dialog.

014_06

Structure pointer member variable

I cannot find the members of a structure declared by pointer in the "All Variables" or "Detected Variables" lists. How can I use them as Input/Output variables?

022_01

const variable

I cannot find the const variables in the variable list of the Unit Test CSV Settings dialog.

022_02

const variable

How to use a const variable as an input variable and change the value?

103_01

Variable length argument

How to test a function with a variable length argument?

104_01

Array, structure initialization

Is there a way to initialize an array with a large number of elements or a structure with a large number of members without using the CSV?

106_01

Memory allocation,
NULL pointer

How to input the NULL value to a pointer allocated using the Allocate Memory feature?

111_01

void pointer

How can I specify a void type pointer variable as an input/output variable in a CSV file?

111_02

Double pointer

How to use a double pointer argument as an input variable?

116_01

Local variable

Can I use a local variable as an input or output in a CSV file?

319_01

enum

How can I use an enum variable in a CSV file?

514_01

Function pointer

When testing a function with a function pointer, how to specify a function address to the function pointer?

535_01

No input/output function

How to test a function that has no input or output?

480_01

Too few arguments

Even though I have added all arguments as inputs, the warning message "too few argument(s)" is displayed.

301_01

Infinite loop

How to test a function including a while() loop waiting for an external signal?

301_02

Assembly function

How to test a function written in assembly?

301_03

Pointer linked structures

I am using complex linked structures with pointers (lists, etc.). Is there an efficient way to setup test data for these complex structures?

301_05

Float, Floating-point variable, expected value, comparison

I set an expected value for a floating-point variable, but even when the simulation result is different from the expected value, the test result comes out as "OK". Why?


MPU Simulator

FAQ-ID

Keywords

Question

000_01

Simulator error,
Simulator log

The simulator stops with an error. How can I output a simulation log to investigate the cause?

452_02

Simulator error,
Invalid Operation code

The error "Invalid Operation code found [code = 16] (pc=******)" is displayed when starting the simulator and the simulation stops. How do I fix it?

A01_01

Simulator error (unknown error)

The error "(unknown error)("CSsIfRoutine::Call::[test function name]")" is displayed when starting the simulator. How do I fix it?

A01_02

Simulator error, memory not assigned

The error "memory is not assigned on the address" is displayed during the simulation. How do I fix it?

009_01

C1 coverage,
Program analysis information

SSTManager outputs "C1 coverage results cannot be measured because program analysis data is missing for [function name]". How do I fix it?

452_01

Simulator error,
Invalid address found

The error "Invalid address found [code = 18] (pc=******)" is displayed during the simulation. How do I fix it?

452_03

character string/array, exceed the size of array

The error "The test data entered exceeds the size of the character string or array" is displayed during the simulation. How do I fix it?

517_01

Execution time

Does enabling the "Output Execution Time" calculate the actual MPU execution time?

529_01

Integration test

Is it possible to combine multiple functions and perform an integration test as one function?

007_01

Batch test

Can I run multiple tests at once?

114_01

Intermediate obj file

Can I test a library file (*.lib) or a compiler intermediate object file (*.obj)?


Coverage Measurement

FAQ-ID

Keywords

Question

013_02

MC/DC setup

How do I setup the test environment for MC/DC measurement?

013_07

Coverage Hook Code Settings

I want to select the "Object with Hook Code" and "MC/DC" check boxes to perform MC/DC coverage measurement, but they are grayed out and cannot be selected. What settings are required?

013_04

C0/C1 coverage using hook code

How to setup CoverageMaster to perform coverage measurement using hook code?

013_05

Hook code, ROM size

When using the hook code feature to perform coverage tests, the compiled object size exceeds the MPU's ROM size.

013_03

MC/DC, Compiler optimization

Why should I disable compiler optimizations for MC/DC testing?

013_06

Object with hook code, Coverage is 0%

I measure code coverage with the object with hook code, but I get 0% coverage results.

013_01

MC/DC coverage measurement feature

I created test data for MC/DC, but the MC/DC coverage result is not displayed.

102_01

Incorrect C1 coverage

I set sufficient test data to cover all branches in my function, but C1 coverage is not 100%. Why?

102_02

Coverage rate calculation

How are the C0, C1 and MC/DC coverage rates calculated?

102_03

Ternary operator

Can C1 coverage be measured for ternary operators (ex. ((x >= y) ? x : y))?

102_04

Incorrect C0 coverage

The C1 (branch) coverage result is 100%, but the C0 (statement) coverage is not 100%. Why?

102_05

Unspecified expected values

Test result CSV reports "OK" even when expected values were not entered.

102_06

Program analysis information, C1 is 0%

I get a "The C1 coverage result cannot be reported because there is no program analysis information" message and C1 coverage is 0%.

102_07

Coverage view,
Position mismatch

Position mismatched with the C0/C1 result and source line in the Coverage view.


CoverageMaster General Specific Issues


Other

FAQ-ID

Keywords

Question

F01_01

ISO 26262

Are WinAMS and CasePlayer2 ISO 26262 certified?


Information Links