Presentation is loading. Please wait.

Presentation is loading. Please wait.

Last update: August 9, 2002 CodeTest Embedded Software Verification Tools By Advanced Microsystems Corporation.

Similar presentations


Presentation on theme: "Last update: August 9, 2002 CodeTest Embedded Software Verification Tools By Advanced Microsystems Corporation."— Presentation transcript:

1 Last update: August 9, 2002 CodeTest Embedded Software Verification Tools By Advanced Microsystems Corporation

2 Software Testing and Reliability  Aditya P. Mathur 2002 2 CodeTest - Introduction Tool for embedded developers and test engineers Can run on Target processor Simulator Native environment (Host environment)

3 Software Testing and Reliability  Aditya P. Mathur 2002 3 CodeTest – Introduction [2] Can be used in three configurations: Hardware in circuit (HWIC) Minimal instrumentation Execution trace data captured by special external hardware Software in circuit (SWIC) Uses target resources for collecting trace data Can be used in a simulator or target platform Native Used to collect trace data in host environments

4 Software Testing and Reliability  Aditya P. Mathur 2002 4 CodeTest – Supported Platforms RTOSes supported VxWorks (v5.3.1, v5.4) VxWorks AE (v1.1) pSOS (v2.2, v2.5) OSE (v4.0-v4.4) ChorusOS (v4.0, v4.01) OS20 (v1.8) QNX (v2.11)

5 Software Testing and Reliability  Aditya P. Mathur 2002 5 CodeTest – Supported Platforms [2] Host Environments supported: Windows NT4.0/2000 Linux (Redhat 6.1 or higher) Solaris 2.6, 2.7, 2.8

6 Software Testing and Reliability  Aditya P. Mathur 2002 6 CodeTest – Tasks CodeTest can: Trace code execution Measure the performance of: Functions Function call pairs Between any two user-designated events Measure memory allocation and deallocation Measure code coverage

7 Software Testing and Reliability  Aditya P. Mathur 2002 7 CodeTest – Components CodeTest software suite consists of: Instrumenter Manager GUI Trace Tool Performance Tool Memory Tool Coverage Tool Scripting interface API Also contains a specialized hardware probe for real-time analysis of target platform

8 Software Testing and Reliability  Aditya P. Mathur 2002 8 CodeTest – Manager GUI Configure Data sources Target platforms on the network Other host nodes Trace data stored in files Specialized hardware probe on the network Workspace pane Displays and manages different views Interface to the other tools

9 Software Testing and Reliability  Aditya P. Mathur 2002 9 CodeTest – HW Probe Special 64-bit write-only memory device Monitors target bus Contains: RS232 Serial connector Ethernet port USB port Variety of hardware connectors for different buses Configured by the manager GUI Can be used as the data source for trace data

10 Software Testing and Reliability  Aditya P. Mathur 2002 10 CodeTest – Coverage Tool Provides information about the tested coverage of instrumented application Summary Coverage data reported at following levels: Entire project Per function Per file Provides: Statement coverage Decision coverage Modified Condition-Decision coverage

11 Software Testing and Reliability  Aditya P. Mathur 2002 11 CodeTest – Memory Tool Used to track application’s dynamic memory allocation and deallocation Provides information on: Each function’s memory usage Source program memory usage Number of times individual memory allocation and deallocation statements are executed Type of allocation call (malloc/realloc) Memory allocation block sizes (Avg., Min. and Max.) Memory allocation failures

12 Software Testing and Reliability  Aditya P. Mathur 2002 12 CodeTest – Performance Tool Used to obtain timing and count information on instrumented functions and tasks Provides four performance views: Task data view – Amount of time spent in RTOS tasks and ISRs Call pair data view – Each calling function and number of times it called a specific function Function performance data view – Timing and invocation information for each function A/B Timer data view – Timing information for upto 8 user configurable event pairs

13 Software Testing and Reliability  Aditya P. Mathur 2002 13 CodeTest – A/B Timers Can be used to measure performance between any two events Could be used for: Loop analysis Execution path analysis RTOS overhead or third party tools overhead analysis Path dependent performance analysis

14 Software Testing and Reliability  Aditya P. Mathur 2002 14 CodeTest – A/B Timers Example – Loop analysis

15 Software Testing and Reliability  Aditya P. Mathur 2002 15 CodeTest – A/B Timers Example – Path based analysis

16 Software Testing and Reliability  Aditya P. Mathur 2002 16 CodeTest – A/B Timers Example – Third party analysis

17 Software Testing and Reliability  Aditya P. Mathur 2002 17 CodeTest – Trace Tool Create trace measurements based on wide variety of trigger events, including C statement types. Can be used to: Trigger trace capture on specific events Trace within a specific context (Task, function call chain or both) Control the amount of trace captured (Call stack depth, Trace buffer limit)


Download ppt "Last update: August 9, 2002 CodeTest Embedded Software Verification Tools By Advanced Microsystems Corporation."

Similar presentations


Ads by Google