datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech

Design Article

The case for stand-alone reset timers in mobile devices

Travis Williams, Fairchild Semiconductor

12/9/2010 12:15 PM EST

Open Source Operating Systems and Third Party Applications

A second major factor contributing to the need for including a stand-alone hardware based reset solution is due the use of broad based third-party applications. Even in an environment where the operating system is tightly controlled and all applications are tested and verified, every use permutation cannot be tested, as there are always situations where a verified app can still cause a fatal error.

The system failure can be the result of the OS itself or from one of the several microprocessors on board. Furthermore, with the increased adoption of open platform operating systems, which allow designers to customize the look and feel of the device as well as the proliferation of third party software, OEM programmers are seeing more and more combinations that can lead to an unstable system.

Figure 2 provides a visual representation of some of the many software layers that must interact in a mobile device as well as the number of interactions that must be coordinated between the different software sets. Before the proliferation of open source operating systems the OEM generally would develop their own OS in house as well as any user features that might be added. This approach allowed the OEM to test and verify every phone feature and interaction before shipping.

Flash forward to today and the OEM generated software may only be in direct control of the top layer customization look and feel. In most cases the device makers have no control over the applications available for download onto their device, which further compounds the issues resulting from different sets of code interacting. With this increased freedom to customize and make the device their own, the end user also increases the likelihood that the system will encounter issues running their unique set of applications.

Figure 2. Simplified Software Layers in a smart phone, opportunities for a system crash are increased with every layer and by every interaction between different sets of code.

Looking beyond the theoretical, here is a summary of some of the realities of smart phones today. According to engineers for major OEM device makers, there can be as many as 11 million lines of code running on a smart phone. They have also reported that as many as 2-3% of third party apps can cause the system to crash and that as many as 10-15% of apps alter the system software in ways that can lead to system crashes even after the application has been closed. With this background, the stage has been set to review the different reset architectures as well as the reasoning behind each.





sharps_eng

12/11/2010 6:17 PM EST

I always scroll to the last page to check the writer's byline: ahah, its a Fairchild guy selling chips. Fair enough, but some of his fixit examples are just fixing terribly bad design in the original smartphones, ie the white screen of death; having to remove the battery... seems they never learn.
I hereby declare that my preference is for a separate watchdog device, but I'd use an on-chip device provided it was independent of everything except the power rails. (I am assuming we are not talking about hi-rel devices here by the way.)

Sign in to Reply



Code Monkey

12/20/2010 11:28 AM EST

The last handheld device I worked on had an FPGA. Software was expected to detect the "power" button after 3 seconds to provide the usual graceful shutdown, but for safety we put in logic to shut off power if the user holds down the button for more than 5 seconds. It's hard to imagine phone designers leaving out such a failsafe feature. Especially since Microsoft has conditioned users to expect a "reset button".

Sign in to Reply



Andrewier

12/20/2010 7:57 PM EST

Ahnnnn... A real (I mean not software) switch, anyone? After some really strong design and debuging, of course.

Sign in to Reply



Forma

12/22/2010 12:04 PM EST

The concept isn't new - there are already reset/watchdog ic chips often used in such designs. They allow communication with the Application processor to set-up a timer, whilst also providing protection for the SoC by holding the reset until the power is stable. It's know for years so above sounds more like a reminder than 'innovation'..

Sign in to Reply



Frank Eory

12/22/2010 3:08 PM EST

Doesn't every PMIC include a robust, software-proof watchdog timer reset function? Do some mobile handset designers really allocate PCB space for a separate watchdog IC? Why?

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)