Code analysis boosted with merger of analysis tools and debugger

May 31, 2013 // By Julien Happich
The LDRA tool suite integrated with the Lauterbach TRACE32 debugger and simulator eases the interface to embedded devices, enabling developers to download and fully test an application on the target.

An extension to the LDRA tool suite uses the TRACE32 Debugger to download the code being tested on the target and provide a mechanism for results capture back to the host via a one-click button added into the TRACE32 in-circuit debugger (ICD). Given the limited resources of some embedded devices, the integration offers two options for dynamic analysis of executing code. If memory is limited, test results can be streamed back to the host via the ICD. However, if performance is important and memory available, test results can be compressed on the target and uploaded at a suitable time via the one-click upload button. Rigorous safety-critical standards such as DO-178C Level A and ISO 26262 ASIL Levels A–D require bidirectional requirements traceability linking each requirement with the code and tests that fulfill it. The LDRA tool suite makes this level of traceability possible, down to the object code, ensuring compliance to the most stringent conditions. Code that remains unexecuted by test data is highlighted graphically. The LDRA tool suite can then generate unit tests and execute this previously unexecuted code, ensuring comprehensive testing of the entire application.

For applications where the target is not yet available, the same integration has been achieved with TRACE32 Instruction Set Simulator. Projects under tight timelines can fully test the application in a simulated environment to preserve budget and schedule limits. By doing this, teams produce better quality of code, significantly reducing the time required for on-target testing and debug. Project costs for certification can be kept to a minimum while preserving top-quality code.