8/20/2010

QNX wins Best in Show at FTF India

This just in: QNX Software Systems has won the Best in Show award at the Freescale Technology Forum in India.

QNX took top honors for its multi-core tools and RTOS, which were showcased on a dual-core version of the Freescale QorIQ P2020 communications processor.

QNX takes a two-pronged approach to multi-core support: 1) the QNX Neutrino RTOS, which supports symmetric multiprocessing, and 2) the QNX Momentics Tool Suite, which provides a system profiler for diagnosing and optimizing multi-core software behavior.

Using the system profiler, a developer can track threads as they migrate from one core to another, diagnose IPC flowing across cores, and identify resource contention between threads on different cores. As a result, it becomes much easier to pinpoint bottlenecks and identify the best strategy for improving performance.

Here's an example of the system profiler being used to diagnose a missed deadline on a quad-core system (click image to magnify):



To learn more about how the system profiler helps improve the performance of multi-core systems, check out this whitepaper.
 

8/12/2010

Can smart phones increase reduce driver distraction?

Phones and cars don't mix, right? I mean, everyone knows that handholding a phone while driving is distracting, dangerous, and just plain dumb.

But what if your phone could warn you of potentially dangerous traffic conditions? What if it could emit an alert when your driving behavior suggests you are distracted?

For Roger Lanctot of Strategy Analytics, those aren't academic questions. He believes that the smart phone is "rapidly becoming a platform for delivering safety systems into vehicles."

For this reason, Roger argues that government agencies should avoid the temptation to ban all use of mobile phones in cars. Otherwise, they will deny drivers the very real "distraction mitigating" capabilities of smart phones. To read Roger's blog on this issue, click here.
 

8/11/2010

QNX gets new VP of sales and marketing

In case you haven't noticed, QNX has hired Derek Kuhn to take over the post of VP, sales and marketing.

Derek is that rarest of birds: An engineer who totally gets marketing and PR. He groks that, to succeed, a technology business must do two things: 1) build the best mousetrap, and 2) ensure that everyone knows it. Emphasis on the everyone.

If you want evidence of Derek's marketing savvy, you don't have to look far. He was, for example, the driving force behind the LTE Connected Car, which, within days of its introduction, was covered by publications such as Wired and Scientific American, and by blogs such as Mashable and Engadget. (If you're unfamiliar with these blogs, they're currently rated the world’s #2 blog and #4 blog, respectively, by Technorati.)

Prior to joining QNX, Derek held senior positions at Alcatel-Lucent, including vice president of emerging technology & media and vice president of strategy for the Americas region in the office of the CTO/CMO. As a global business lead, he was responsible for Alcatel-Lucent’s ecosystem for emerging technologies, such as 4G mobile connectivity and wireline broadband. Earlier this year, he won Alcatel-Lucent's 2010 CEO Award.

For more details on Derek, check out the press release

8/04/2010

Protect your software against Heisenbugs

By definition, Heisenbugs are sensitive to being observed: They appear sporadically during normal operation, but disappear when the developer attempts to track them down in debug mode. The very act of debugging eliminates the subtle timing interactions or other conditions that trigger these bugs into action.

It's no surprise, then, that Heisenbugs are often difficult, if not impossible, to eradicate. Nonetheless, developers can create applications that are resilient to these maddeningly elusive defects. They can, for example, use virtually synchronous replication (VSR), a technique described in a recent whitepaper by Chris Hobbs, a kernel developer at QNX.

A few days ago, QNX posted this paper on its website, along with a paper on memory analysis (co-authored by yours truly) and two papers on developing in-car telematics systems. Here they are:

7/30/2010

Want the latest on QNX? Get your news straight from the source

Every month, QNX publishes The Source, a newsletter that provides the skinny on the latest QNX BSPs, product releases, whitepapers, webinars, and blog posts. It's a quick read — virtually no marketing fluff — and you can scan it in about 20 seconds. To subscribe, click here.

In case you missed the July issue, here it is:


The Source
monthly e-newsletter for the QNX community


QNX® Software Development Platform 6.5.0 now shipping
We're pleased to announce the general availability of release 6.5.0. New features include multi-core support for ARM Cortex-A9 processors and Freescale Power e500MC cores, a persistent publish/subscribe service, an updated tool chain, and various performance enhancements. More...

QNX Achieves IEC 61508 SIL 3 Certification
The QNX
® Neutrino® RTOS Safe Kernel has been certified to IEC 61508 Safety Integrity Level 3 (SIL3). This certification provides independent validation that the Safe Kernel offers a very high level of reliability and risk reduction for safety-critical systems. More...

Hot Hardware Updates

New and updated BSPs for the QNX Neutrino RTOS
Atmel AT91SAM9G45
Freescale i.MX51 EVK
MEN MPC5200B
MEN MPC8245
MEN MPC8540
MEN MPC8548, 8543
MEN Intel Atom
MEN Intel Core 2 Duo/Celeron
TI AM1808
View all available BSPs

Whitepapers

Protecting Applications Against Heisenbugs
Learn how virtually synchronous replication can help reduce the impact of elusive and non-reproducible bugs in your applications.
More...

Wideband Speech Communications for Automotive:
The Good, the Bad, and the Ugly

Learn how wideband speech communications can increase intelligibility, reduce driver distraction, and enable spatial auditory displays.
More...

Webinars

To download archived versions of recent webinars, including "Taking a product through IEC 61508 certification," visit the webinars page.

News-o-Matic

QNX Software Systems Wins Best in Show at Freescale Technology Forum
ng Connect Launches New LTE Connected Car during Shanghai World Expo
QNX Achieves IEC 61508 SIL 3 Certification for Safety-Critical Systems

Blog Watch

The key fob is dead! Long live the key fob!
QNX-based instrument tests haptic systems for bionic limbs
Infotainment 2015 and beyond
QNX, BMW, and Apple iPod Out
QNX posts source code for smart energy demo
July 26, 2005: QNX boards NASA’s return to flight mission
 

7/28/2010

Meet AJ, the car that tweets

I've posted a number of articles on the LTE Connected Car, which helps automakers, service providers, and content developers explore what happens when cars connect to the cloud over wideband wireless networks.

But here's the thing: people often assume that a cloud-connected car is simply about pushing more social media, more music, more video, more games, and, in short, more entertainment into the vehicle. Nested within that assumption is another assumption: that cloud-connected cars will lead to more driver distraction.

I'm not convinced. First, automakers aren't about to create cars that let you post Facebook updates or upload YouTube videos while driving. And even if they were tempted to do so, their teams of lawyers would advise otherwise. And if their lawyers failed, teams of government regulators (and lawyers) would step in. In short, mobile broadband technology will deliver more "infotainment" into the automobile, but drivers won't have unfettered access to this content while rocketing down the turnpike at 80 mph.

Second, cloud connectivity can actually help reduce distraction. For instance,
today's voice recognition system are relatively primitive, using grammars and speech models limited by the car's onboard processing and storage. But once you add a wideband wireless connection, the car’s infotainment unit can use a sophisticated server-based voice recognition system that lets the driver use natural language. In fact, a remote server can provide a variety of helpful features — such as realtime traffic reports integrated into navigation services — that are difficult or impossible to implement using only on-board resources.

"People forget that, when you have an Internet connection, data can travel in both directions..."

Third, people forget that, when you have an Internet connection, data can travel in both directions. Case in point: "AJ", the 2011 Ford Fiesta that can automatically post tweets on its own Twitter account. If you read the New York Times article on AJ, you may feel that a Twittering car is a solution in search of a problem. And you'd be right. But AJ is just the beginning — or, more correctly, a platform for exploring what happens when cars become mobile Internet terminals.

Imagine, if you will, a critical mass of vehicles acting as floating traffic probes, anonymously uploading real-time information about traffic and road conditions, such as whether a stretch of road is icy. And then imagine nearby vehicles accessing this aggregated data and warning their drivers to slow down accordingly.

Personally, I'd be happy if my car distracted me long enough to say, "Paul, buddy, ease up on the accelerator, or you'll wipe out." What about you?
 

7/26/2010

July 26, 2005: QNX boards NASA’s return to flight mission

Has it been five years already? I just came across a blog post on the PARS3C website that says today marks the fifth anniversary of the Space Shuttle’s return to flight mission.

This was, of course, the first shuttle mission after the tragic loss of the Columbia and its crew in 2003. It was also the first mission to use the QNX-based Laser Camera Systems (LCS) from Neptec.

The goal of the LCS is simple: Detect any fractures or anomalies on the shuttle’s exterior surface that could lead to a repeat of the Columbia disaster. Achieving that goal is anything but simple, however. To get an idea, check out this article that I co-authored with Iain Christie of Neptec back in 2005...



Laser camera system puts focus on shuttle safety
By Iain Christie, Neptec, and Paul Leroux, QNX Software Systems

On February 1, 2003, the space shuttle Columbia disintegrated upon re-entering the Earth’s atmosphere, killing the entire crew. The most likely cause: a hole in the shuttle’s left wing. To avoid such disasters in the future, NASA decided they needed in-flight technology that could inspect the shuttle exterior — including areas normally invisible to the astronauts inside — and identify even the smallest threat to mission safety.

Enter the Neptec Laser Camera System (LCS). Designed and built by Neptec, a Canadian-based developer of space vision systems, this high-precision 3D laser scanner made its debut on the space shuttle Discovery, which launched on July 26 of this year and returned safely to Earth two weeks later. Using the LCS, NASA can detect tiny fractures in the shuttle's heat shield, even if they’re only a few millimeters in size. Just as important, the LCS can provide NASA with the data needed to determine whether a fracture does, in fact, pose a threat to the shuttle crew.

In this artist’s rendering, Neptec's LCS scans the nose cone of the shuttle Discovery for potential damage to the shuttle's heatshield tiles.

While in orbit, the shuttle faces extreme, fluctuating temperatures, with the sun rising and setting 18 times each day. These harsh conditions make it virtually impossible to use a traditional video camera to inspect the shuttle exterior. Neptec's LCS not only provides 3D information of the exterior, but is immune to changing temperature and lighting conditions. To achieve this immunity, the LCS incorporates a number of design features, including the wavelength of the laser source (1.5 micrometers) and the very small instantaneous field of view of the scanner. Radiation at 1.5 micrometers falls in a part of the spectrum in which there is very little competing radiation from the sun. As a result, there is only a small possibility that direct sunlight or specular reflections of the sun will be in the field of view at any given time.

A striking insight
Neptec has been a prime NASA contractor for 10 years and has worked on over 25 space shuttle flights. Working closely with more than 40 astronauts, the Neptec team has logged over 10,000 hours at NASA's mission control center in Houston.

The inspiration for Neptec's core technology occurred when an engineer for Canada's National Research Council (NRC) was watching The Graduate, a 1967 movie starring Dustin Hoffman. At the end of the movie, Hoffman runs quickly past a brick wall. The engineer found the image — a person moving against a regular pattern of bricks — very striking. More importantly, he realized that a computer could be programmed to use this regular pattern as a means to accurately measure the person’s motion. The idea led to the birth of the Space Vision Systems (SVS), with which Neptec eventually became involved.

Synchronized scanning
Neptec’s LCS is a wide-angle, high-speed, high-precision laser scanner. At distances of up to 10 metres, it can create a model of any object that is accurate to a few millimeters. Using a synchronized scanning technique, the LCS generates precise images in three modes: QuickView Area Scan, Detailed Area Scan, and Continuous Line Scan.

Using the Quickview Area Scan, the LCS gathers data to generate a 2D image that helps the astronaut operating the system to determine what is in the field of view of the LCS. In the Detailed Area Scan and Continuous Line Scan modes, the LCS gathers 3D data that is processed by software running on a ground-based workstation to produce 3D images and make quantitative measurements.


The LCS generated this 3D wireframe model, which shows a damaged tile on the underside of the shuttle wing. The model is color-coded to indicate the depth of the damage.

System design
The LCS consists of three main components: the Laser Camera Head, the Laser Camera Controller, and the Image Analysis Workstation. The Laser Camera Head is attached to a 50-foot-long extension of the Canadarm (the robotic arm used to deploy and retrieve satellites from the shuttle), allowing it to scan critical portions of the shuttle exterior. The output of the Laser Camera Head consists of raw time-tagged 3D data that is forwarded to the Laser Camera Controller for consolidation and storage.

The Laser Camera Controller, installed in the shuttle cockpit, consists of a laptop computer that executes the Neptec-developed LCS control software. This software provides the graphical interface for the LCS, which lets the user control various functions of the LCS and view the inspection images.

The ground-based Image Analysis Workstation consists of a computer platform situated in or near the mission control center. It runs software applications that process and analyze the 3D image data to support damage-inspection and detection operations.

Tight schedules
The biggest challenge facing Neptec’s LCS software development team was the tight production schedule. The team had to design and develop software to run on new hardware platforms, port application code to a new version of the operating system, develop new features, and qualify and deliver the product — all in less than one year.

“As if that wasn’t difficult enough,” says John Schneider, Neptec’s director of engineering, “Neptec encountered technical challenges with interfacing third-party hardware and resolving cross-platform communications protocol issues.”
QNX Neutrino, the realtime operating system (RTOS) chosen for the LCS, played a key role in helping Neptec address these issues.

OS matters
Neptec’s software developers have worked with QNX operating systems since 1991. They first used QNX during research and development work for Neptec’s early Space Vision System (SVS). Used with the Canadarm, the SVS allows astronauts to accurately position and orient payloads, such as satellites. In fact, the SVS can support all kinds of shuttle operations — everything from piloting the shuttle to providing relative range, bearing, and elevation information that helps astronauts monitor clearances between a payload and the shuttle.

In 2000 the Neptec team used QNX in the first-generation LCS system, which they developed as a Design Test Object (DTO) for the STS-105 shuttle mission in August 2001. They then ported the code to the QNX Neutrino RTOS, the latest generation of QNX operating system technology.

“Having developed a core expertise in QNX and gaining trust in the reliability of QNX products,” says John Schneider, Neptec’s director of engineering, “QNX became the natural choice for the LCS.”

Because Neptec developed a new computing platform for the LCS project, they needed a custom Board Support Package (BSP) to run QNX Neutrino on the new hardware. Consequently, they invited the application support team at QNX Software Systems to develop the BSP. This saved Neptec considerable time and resources, allowing Neptec developers to concentrate on the application development.

“The Neptec staff found the QNX support team to be knowledgeable, competent, and very responsive to the requirements,” says Schneider.

Extreme conditions
On the space shuttle, there is no room for error. Every system must perform with absolute reliability. To address this challenge, the QNX Neutrino RTOS uses a microkernel architecture. Microkernel RTOSs have two defining characteristics, both of which are critical to ensuring system reliability:

1. The OS kernel contains only a small core of fundamental services, such as timers, messages, and scheduling. All higher-level services and programs — device drivers, file systems, protocol stacks, user applications, and so on — run outside the kernel as separate, memory-protected components.

2. Most software components communicate via message passing, a well-defined communication mechanism that allows programs to exchange data while remaining safely isolated from each other.


In the QNX Neutrino RTOS, most system services run as separate, memory-protected processes.

This architecture offers two key reliability benefits. First, it makes it much easier to isolate and correct programming errors before the errors can make their way into a deployed system. For instance, if any service or application under development attempts to access memory outside its process container, the OS can identify the process responsible, indicate the location of the fault, and create a process dump file viewable with source-level debugging tools. The dump file can include all the information the debugger needs to identify the source line that caused the problem, including a history of function calls, contents of data items, and other diagnostic information. Errors that would normally take days or weeks to resolve can be pinpointed almost immediately.

Second, microkernel architecture enables dramatically shorter Mean Time to Repair (MTTR). Consider what happens if, say, a device driver faults in a deployed system: the OS can terminate the driver, reclaim the resources the driver was using, and then restart it, often within a few milliseconds. From start to finish, the entire procedure can be orders of magnitude faster than the conventional solution, which is to reboot the entire system.

Extreme conditions
“The LCS was a critical element of NASA's Return to Flight mission and we had to be sure it used the most reliable operating system available,” said Iain Christie, vice president of research and development at Neptec. “Selecting the QNX Neutrino RTOS was an easy decision because we already knew that the system can handle the extreme conditions found in space.”

This article first appeared in Embedded Control Europe (ECE) magazine.

For more information on Neptec's technology and its role in NASA's Retun to Flight mission, visit www.neptec.com. For more information on the QNX Neutrino RTOS, visit www.qnx.com.