10 May 2011

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

  • 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.

- 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

Feabhas gets OK from ARM

Embedded training specialist Feabhas has been appointed an ARM Approved ...

Trinity to rival Ivy Bridge?

AMD has launched the Trinity family of accelerated processing units (APUs), ...

MIT unveils simulation system

MIT researchers have developed a software simulation system designed to ...

Efficient GPGPU programming

Today's graphics processors are highly programmable, massively parallel compute ...

Putting a trace on bugs

When developers start a new microprocessor based project, they are faced with a ...

Ecosystem extends abilities

Operating systems can be a major source of stress for embedded design ...

Power systems design

This whitepaper looks at how an improved decision flow can help power systems ...

High speed board design

Istvan Nagy, electronics design engineer at Blue Chip Technology, a leading UK ...

Software development paper

The white paper illustrates, by way of a practical example, how a modular ...

Murata dc/dc converters

Murata Power Solutions has announced the UWE series of 100 to 120W open frame ...

Add in extensions

Agilent Technologies has announced a product enhancement designed to help ...

Cobham design software

Cobham Technical Services claims that the development of new generations of ...

MCU Solutions Summit 2012

18 September, Southern UK (tbc) 20 September, Manchester

Altium design secret two

Beyond the initial vault migration tools like the Component Release Manager – ...

Altium design secret one

If you've ever reviewed a hard copy of a design, schematic or pcb, you've ...

Booster pack for MSP430

The Audio Capacitive Touch BoosterPack (430BOOST-C55AUDIO1) is a plug in board ...

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 ...

Design reuse

It's become a cliché in news or science reports. A water treatment plant ...

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.

Martin Harris, Altium

Chris Shaw asks Martin Harris about the latest developments at Altium