Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼


Debug Tool For Windows Embedded Compact 2013 

Software application developers focused on the still-emerging Internet of Things embedded space may be interested to know that Lauterbach's TRACE32 debugger now supports Windows Embedded Compact 2013.

As a streamlined and componentized device operating system offering support for x86 and ARM architectures and a successor to Compact 7, Windows Embedded Compact 2013 has been available for a couple of months and Lauterbach has extended its "Windows Embedded Awareness" for the TRACE32 debugger to include this new version.

For ARM based processors, Microsoft provides the new embedded RTOS with a completely new compiler, which generates Thumb2 code.

This (above note) change means BSP (board support package) developers have to make a considerable effort to port their code, says the firm. In an effort to address this, Lauterbach has enhanced its debugger to read the code and symbol information provided

According to Lauterbach's Barry Lock, his firm's tools support all the major families of embedded processor cores, covering products from 75 silicon companies.

"Using the 'Windows Embedded Awareness' included in TRACE32, the user is able to inspect the current processes and threads. With TRACE32, this is possible even if no software debug channel (e.g., KITL) and no shell are present in the system. Using the extended MMU support of the TRACE32 debugger, the developer has access to the complete virtual address space at any time — i.e., a developer can debug bootstrap, kernel, drivers, and applications simultaneously," he said.

Developers can also debug several processes at once, which may be especially interesting for testing interprocess communications. If the system is based on a CPU with tracing capability (e.g., Cortex-A with ETM), then TRACE32 records the complete program flow without instrumenting the code. Using those records, thread switches can be examined and graphically displayed.

Code coverage information can be obtained down to individual lines of code and also thread runtimes and function runtimes can be analyzed to provide performance details.

Statistics tables provide accurate information about the system load. The debugger also supports Symmetric Multi Processing (SMP), which distributes an application onto several similar processors or cores. The developer can concentrate on the debugging of his application, independent of which core is currently running the thread.

The debugger can switch to any CPU at any time, showing the view of code running on each CPU. It evaluates the call stacks of all active and passive threads and shows where an active thread is currently running or where a passive thread is waiting. By using the support for Windows Embedded Compact 2013, the developer will gain access to the complete system and all OS resources.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.