Workflow in the IDE
The IAR add-on of Testwell CTC++ offers a full integration with IAR Embedded Workbench, for all steps from building to report generation.
Configuration
Use to configure the coverage level, the usage of HOTA or BITCOV, and other ctc options.
Build
Use to build instrumented binaries. They replace the uninstrumented version. The symbol file MON.sym is created in the project directory.
Tests
With the instrumented binaries, execute the tests as usual with IAR Embedded Workbench - on the real target, or in a simulation.
For many targets, the standard implementation of the HOTA runtime library works, especially when the debugger is used for communication. If an adaption is necessary, see HOTA: Adapting the runtime for details.
Coverage Data and Reports
With the default setup for HOTA, only one step is necessary to build reports: Use to choose the report and to generate it.
- Use the memory screen of the IAR debugger to locate
CTC_array. - Save it to the project directory with file format "intel-extended" and filename memory.hex.
After that, you can continue with as described for HOTA.