Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Incorrect CPU information reported by HAL (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): All in supported S60 versions
Created: User:Technical writer 1 (17 Oct 2007)
Updated: User:Technical writer 1 (24 Nov 2010)
Last edited: hamishwillee (01 Aug 2012)


The HAL (Hardware Abstraction Layer) API provides information about CPU type, architecture, and clock speed. However, wrong values are reported for most S60 3rd ed., 5th ed., S^3/Anna and Belle devices. For example, on the Nokia 5800 XpressMusic, HAL reports that the processor speed is 187 MHz instead of 369 MHZ and that the CPU type is 'ARM9' instead of 'ARM11'. On the Nokia 5530 and the Nokia N97, you'll even get an unknown CPU architecture with Hex-value '0x0000000B'.

The following code returns wrong values for CPU clock speed, CPU ABI (Application Binary Interface), and CPU architecture:

include <hal.h>
TInt cpuSpeed, cpuABI, cpuArchitecture, ret;
ret = HAL::Get( HALData::ECPUSpeed, cpuSpeed );
ret = HAL::Get( HALData::ECPUABI, cpuABI );
ret = HAL::Get( HALData::ECPUArch, cpuArchitecture );

How to reproduce

Take the code above and let it run on a S60 3rd ed., 5th ed., S^3/Anna or Belle device.


No known solution.

Device specification pages on Nokia Developer provide information on CPU type and clock speed.

This page was last modified on 1 August 2012, at 04:39.
63 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.