Home > User Support > CoverageMaster winAMS FAQ
Question:
The input data cannot be entered from the CSV file to the target function's arguments. Is there a workaround?
Answer:
In some cases the debug information that the cross compiler creates does not include the function’s argument (parameter) information (e.g. argument order, argument bit width) required by CoverageMaster. When this occurs, the input values set in the test CSV file cannot be applied to the function’s arguments through the winAMS process.
You can confirm data types that cannot be set from the test CSV file to function arguments in the MPU Restrictions manuals located in the following WinAMS installation folders.
C:\WinAMS\DOC\MPU Restrictions(System-G).pdf
C:\WinAMS\DOC\MPU Restrictions(SX).pdf
As a workaround, a dummy function can be created for use as a "test driver" that calls the function to be tested. Through the dummy function, the desired input values can be set to the function’s arguments.
The following PDF files available for download describe how to use a dummy function as a test driver.
Using a dummy function for verification (V3.3 or later).
Using a dummy function for verification (prior to V3.3).
Note: this method can still be used for newer versions, but the above V3.3 or later method is recommended when possible.
Other technical tips in GAIO's web site can be searched for using the links below.
Search key word link: Argument | CSV file
Technical Tips Google Search