10 May 2011

Tools developers respond to growing popularity of Cortex-M based mcus

ARM's Cortex-M range of microcontroller cores has changed the market landscape. Not only has it provided a number of companies with a platform on which to develop differentiated products, it has also made 32bit performance available on a cost effective basis.

Mark Onions, director of channel marketing with ARM's system design division, said: "There are a lot of Cortex-M based devices meeting most application needs. The problem is these parts have so much functionality. While this is good, there is the problem of making sure the software can use all this performance."

Much of the problem comes from the need to include networking functionality. "CAN is relatively straightforward," Onions claimed, "while Ethernet can be problematic. USB Host, however, can be very difficult."

ARM bought mcu tool developer Keil in 2005. At the time, ceo Warren East said the mcu market was a critical growth area for ARM and that the acquisition would allow it to offer a 'more complete, more compelling solution' as applications shifted towards 32bit devices.

Keil's offering for Cortex-M based mcus is the MDK range. "This has been on the market for about four years," Onions noted. "It includes compilation tools which have been developed by ARM since the ARM architecture was started."

These tools have been blended with Keil's µVision integrated development environment to create a package designed specifically for mcu applications which is, in Keil's words, 'easy to learn and use, yet powerful enough for the most demanding embedded applications'.

At the top of the range is MDK-Pro, released in March 2011. "It's a development environment which supports any Cortex-M device, as well as ARM7 and 9 based parts," Onions added. It also has the full Keil RTX real time operating systems, including source code.

"Once the application has been written, developers can include middleware components to drive peripherals, then debug and analyse the software to optimise performance."

One of the major benefits claimed by Onions for the MDK portfolio is its integration. "Everything is in the box and everything works together. If you buy tools from different sources, putting them together can be like trying to solve a jigsaw puzzle when you don't have the picture. This product is developed by and supported by ARM."

Two main drivers are informing embedded software tool development: ease of use and time to market. "If everything works together," Onions claimed, "you don't get surprises. And it addresses time to market issues by letting you get a network up and running in a couple of minutes, put it into the application and optimise it. It's straightforward."

Growing complexity is a problem, particularly when compounded with time to market pressures. Onions said: "Some years ago, someone said a processor was a lump of sand without software. That's very true today, particularly in the embedded market."

Two factors combine here. Not only is the price of a powerful mcu around the $1 level, those using it may not have been designing for such a device before. "They want to get involved," said Onions, "but they don't have the expertise." He believes the support available from ARM and Keil is valuable.



Code coverage is another benefit claimed for MDK-Pro. "This is critical for formal verification and certification to standards such as ISO26262 and DO178-B," said Onions, "and µVision allows you to see in a window when instructions have executed."

The approach takes advantage of ARM's Embedded Trace Macrocell, or ETM. "If you single step through the code, you see each instruction is annotated," said Onions. "The tools give an insight into the status of the application and its execution history. You can see if start up routines have executed without using a debugger. The ETM provides information about each instruction executed."

Coming at the problem from the device developer's point of view is Freescale, which has recently launched the KwikStik development tool for its Kinetis range of Cortex-M4 based mcus. Complementing Freescale's Tower System, KwikStik is said to provide an additional toolset option in a small form factor.

Danny Basler, an mcu product marketer in the company's industrial and multimarket group, said: "This is the second in a series of development tools for the Kinetis range and has two major benefits: high end tools in a small footprint device; and low cost. It's a first in this sector of the market."

KwikStik combines a J-Link debug probe, low power touchsensing, a segmented lcd user interface and a suite of development and run time software. It can be used as a standalone battery operated tool for development using the on board Kinetis K40 mcu; as an additional tool with the Tower system; or as a J-Link debugger.

Basler said Freescale has been investing in software development tools for industrial applications for some time, citing Code Warrior as an example. "Freescale is one of the few companies to offer this level of capability bundled for free with an mcu. On top of that, we have been bundling the MQX rtos with mcus for about a year."

Basler said demand for rtos' has been building in order to support Ethernet connectivity, graphical interfaces and so on. "Trying to do that without an rtos becomes a complex task and the benefits can be seen." John Weil, enablement manager in Freescale's industrial and multimarket business unit, said there were a lot of low cost development boards available.

"These are great for getting started, but the minute you want to do something more comprehensive, you need a different kit. We wanted to make sure that this wasn't needed. Even a small form factor device like KwikStik can be plugged into the Tower system."

Weil insisted that KwikStik is not just another low cost development kit. "It's all about reducing time to market, simplifying design and helping designers get prototypes up and running more quickly. Our goal is to make engineers 'heroes'."

By combining KwikStik with the Tower System, developers have access to multiple system expansion options using Freescale and third party peripheral modules that offer sensing and wireless and industrial connectivity. Meanwhile, the Segger J-Link debug interface eliminates the need for a separate debug probe.

KwikStik comes with a Kinetis K40 mcu, featuring 256kbyte of flash. It also comes with the Processor Expert tool, that helps designers to write application code. "This may be the first 32bit design the user has done," Basler contended. "Processor Expert allows for automated code building for those who aren't used to writing drivers and so on."

KwikStik is 'core agnostic', according to Weil. "Most customers will not have to think about the core. The Cortex-M4 has more power – and we use that – but, at the end of the day, you don't know exactly what the processor will be. However the software platform works the same way and we're focused on time to market so the user doesn't have to hand craft code for a particular architecture. Anyone who can program in C can be up and running quickly," he concluded.

Author
Graham Pitcher

Supporting Information

Downloads
33649\P27-28.pdf

Websites
http://www.freescale.com/
http://www.keil.com

Companies
Freescale Semiconductor UK Ltd

This material is protected by Findlay Media copyright
See Terms and Conditions.
One-off usage is permitted but bulk copying is not.
For multiple copies contact the sales team.

Do you have any comments about this article?

Mark is right to identify the complexity issue. A lot of developers moving from the 8-bit MCU arena are going to find life a bit different in the 32-bit world of ARM and CORTEX. One solution is to use an off-the-shelf BSP (board support package) for one of the popular operating systems such as Linux or WIN-CE. Companies such as Phytec ( www.phytec.de), TQ Components ( www.tq-group.com), Emtrion (www.emtrion.com) and Lippert (http://www.lippertembedded.com) offer a wide range of ARM- and CORTEX-based boards, modules and starter kits which, combined with free technical support from Hitex, provide an ideal way to get a new project up and running.

Comment Dale Fittes, 24/05/2011

Add your comments

Name
 
Email
 
Comments
 

Your comments/feedback may be edited prior to publishing. Not all entries will be published.
Please view our Terms and Conditions before leaving a comment.

Related Articles

LG becomes ARM partner

LG Electronics has licensed ARM's Cortex-A50 family of cpus, as well as its ...

$5.6m PRiME project launched

Electronic engineers and computer scientists from four of the UK's leading ...

Altium Designer 13.2 launched

The latest version of Altium's flagship software solution, Altium Designer, has ...

Jelly Bean justification

Android is a sophisticated, graphically based operating system (OS) for ...

Focus on: Programmable logic

In the world of programmable logic, the phrase 'ultra low density' stands out ...

Scope for improvement

The more tasks an embedded system is to accomplish, the more complex it becomes ...

Full COM Express range

This whitepaper details congatec's new COM Express product range based on 3rd ...

Capturing data in mcu apps

Developers continue to benefit from increased silicon integration, enabling ...

Safety critical applications

This whitepaper will first provide an overview of numerous safety standards ...

High speed PCIe MiniCard

Diamond Systems has introduced a new four-port high speed PCIe MiniCard for ...

ThreadX certified to IEC 61508

Express Logic's ThreadX rtos has been certified by SGS-TÜV Saar for use in ...

Wide temperature SoM

EMAC has introduced the SoM-9X25, a wide temperature System on Module (SoM) ...

NI Days 2013

20th November 2013, The Queen Elizabeth II Conference Centre, London, UK

InstaSPIN-FOC solution

Learn about TI's breakthrough motor control technology. InstaSPIN-FOC motor ...

Altium design secret 16

Many Altium customers are happy to have the ability to add 3d models to ...

What is Arago?

Are you starting to engage with a Mainline Linux design and looking to better ...

Embedded engineering needs

Software is a fundamental part of developing today's electronic devices. It's ...

The eco cloudy system thing...

One of the bothersome aspects of coming to grips with new, popular shifts in ...

Software developers' lives

A friend once asked me what software developers do when they're not creating ...

Andreas Pabinger, Wind River

Three years ago, Wind River Systems – developer of the VxWorks real time ...

Cyrille Comar, AdaCore Europe

Cyrille Comar, co founder and managing director of AdaCore Europe, speaks to ...

Steve Edwards, cto, CWE

Graham Pitcher finds out that COTS is now being applied at the system level.