Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

CasePlayer2 Analysis

019_06: 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.

Question:

I am using the Renesas Electronics (formerly NEC Electronics) cross-compiler and I get the following error when I run the CasePlayer2 analysis: "CasePlayer2-E-SYN : name (xxx) is not declared." The declaration concerns an I/O port. How can I fix it?

Answer:

With using a Renesas (formerly NEC Electronics) V850 Series or 78K0 Series MPU with the PM+ or CubeSuite cross compiler, analysis errors like the following may occur during CasePlayer2 analysis.

CasePlayer2-E-SYN : name (TOE0) is not declared.
CasePlayer2-E-SYN : name (TS0) is not declared.
CasePlayer2-E-SYN : name (TT0) is not declared.
CasePlayer2-E-SYN : name (TOE0) is not declared.

With these compilers, the definitions for the MPU's I/O ports and registers are not in a standard header file, but in a proprietary device file used during compilation. These implicit declarations for the ports and registers are known by the compiler, but no definition is present in the source files (including header files), which causes the error during the CasePlayer2 analysis.

To solve this, the content of the device file must be converted to a header file and added to the CasePlayer2 project. GAIO's support team can generate the header files for you. Send an request to GAIO User Support with the device file attached and we will generate the header file and send it to you.

Once you have the header file, add it to the "Pre-Include File" List in CasePlayer2's "Settings" - "Preprocessor" window. Doing so makes the definitions available to all source files in your project. You do not need to add #include to your source code in order to include the header file.

[Additional Information]

When using an I/O port symbol defined in a device file such as an I/O variable in CoverageMaster winAMS, it is required to use an additional file called a "Definition list" file. For more details please refer to the following page.

005_01: 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?

 

Related Technical Tips Search

Other technical tips in GAIO's web site can be searched for using the links below.

Search key word link: V850 | 78K0 Series Compiler | Undeclared Error | Device file
Technical Tips Google Search


Information Links