You are on page 1of 40

VOLUME 25,

NUMBER 4
MAY 2012

EMBEDDED SYSTEMS DESIGN


The Official Publication of The Embedded Systems Conferences and Embedded.com

REBUILDING THE
EMBEDDED DEVELOPMENT
COMMUNITY 7 A firmware curriculum
13
15 years of embedded
trends
16
Is C beating out C++?
31
Leading Embedded
Development Tools
ARM® DS-5™ Toolchain

A full featured development solution


for all ARM Powered® platforms

1-800-348-8051
www.arm.com/ds5
SAFE
RELIABLE
SECURE

TRUS T ED S O F T WA RE FO R
EMB ED D E D DE V I C E S
For 30 years the world’s leading companies have trusted Green Hills Software’s secure
and reliable high performance software for safety and security critical applications.
From avionics and automotive, through telecoms and medical, to industrial and smart
energy, Green Hills Software has been delivering proven and secure underpinning
technology.
To find out how the world’s most secure and reliable operating
systems and development software can take the risk out of
your next project, visit www.ghs.com/s4e

Copyright © 2012 Green Hills Software. Green Hills Software and the Green Hills logo are registered trademarks of
Green Hills Software. All other product names are trademarks of their respective holders.
mouser.com
Semiconductors and electronic
components for design engineers.
Page Header Size

Page Header Logo Size Authorized Distributor

Page Header Logo Size

Page Header Size


Proof that the
Page Header Logo Size

company you
keep says a
lot about your
Page Header Logo Size

company.
Page Header Size

Come to Mouser for what’s next from these industry leaders.

Sub Header Size

mouser.com

Mouser and Mouser Electronics are registered trademarks of Mouser Electronics, Inc. Other products, logos, and company names mentioned herein, may be trademarks of their respective owners.

PAGE HEADER SIZE


T H E O F F I C I A L P U B L I C AT I O N O F T H E E M B E D D E D S Y S T E M S C O N F E R E N C E S A N D E M B E D D E D. C O M

#include 7
Making necessary resource
tradeoffs
EMBEDDED SYSTEMS DESIGN BY COLIN HOLLAND
VOLUME 25, NUMBER 4 ESD magazine is closing. Here’s
MAY 2012 why it’s a good thing for you.

parity bit 9
Special Issue: Dawn of an era: Embedded
Systems Programming and ESC
Rebuilding the embedded BY TED BAHR

development community How the magazine got its start.

barr code 10
Coinciding with plans to reinvent

7
Trends in embedded
Embedded.com as a powerful software design
online community, we explore BY MICHAEL BARR
trends, challenges, and community Auto-generated code is the future of
in this final issue of the magazine. embedded systems software design.
Colin Holland explains. murphy’s law 19
Murphy’s Last Column
BY NIALL MURPHY
Users have adapted to new user-interface
technology. What’s next in usability?

significant bits 22
So this is progress
BY JIM TURLEY
Embedded systems are evolving but
new design methods .

programmer’s
toolbox 25
How I got embedded:
a special connection
BY JACK CRENSHAW

13 What a firmware curriculum would look like Experience the quirks of life in early
days of embedded systems.
BY BOB SCACCIA
Using social media, firmware engineers are organizing themselves programming
to design a firmware curriculum for next generation. pointers 33
Unexpected trends

16 Shifting sands: Trends in embedded systems design


BY DAVID BLAZA
Armed with 15+ years of data from the Embedded Systems Design
BY DAN SAKS
Reader surveys reveal some surprising
language preferences.

subscriber study, ESD’s publisher traces big trends that fizzled out break points 36
in the past or are looming large for the near future. Farewell, ESD
EMBEDDED SYSTEMS DESIGN (ISSN 1558-2493) print; (ISSN 1558-2507 PDF-electronic) is published 10 times a year as follows: Jan/Feb, March, April, May, June, BY JACK G. GANSSLE
July/August, Sept., Oct., Nov., Dec. by the EE Times Group, 303 Second Street, Ste 900, San Francisco, CA 94107, (415) 947-6000. Please direct advertising and editorial inquiries
to this address. SUBSCRIPTION RATE for the United States is $55 for 10 issues. Canadian/Mexican orders must be accompanied by payment in U.S. funds with additional The MVP of ESD and Embedded.com
postage of $6 per year. All other foreign subscriptions must be prepaid in U.S. funds with additional postage of $15 per year for surface mail and $40 per year for
airmail. POSTMASTER: Send all changes to EMBEDDED SYSTEMS DESIGN, EE Times/ESD, PO Box #3609, Northbrook, IL 60065-3257, embedsys@omeda.com. For cus-
reflects on print versus online.
tomer service, telephone toll-free (847) 559-7597. Please allow four to six weeks for change of address to take effect. Periodicals postage paid at San Francisco, CA and additional
mailing offices. EMBEDDED SYSTEMS DESIGN is a registered trademark owned by the parent company, UBM Electronics. All material published in EMBEDDED SYSTEMS
DESIGN is copyright © 2012 by UBM Electronics. All rights reserved. Reproduction of material appearing in EMBEDDED SYSTEMS DESIGN is forbidden without permission.
INDUSTRIAL AEROSPACE SYSTEM ON A CHIP

MEDICAL AVIATION CONSUMER

THREADX: WHEN IT
REALLY COUNTS
When Your Company’s Success, And Your Job, Are On The Line -
You Can Count On Express Logic’s ThreadX® RTOS
Express Logic has completed 14 years simply must succeed. Its royalty-free
of successful business operation, licensing model helps keep your BOM low,
and our flagship product, ThreadX, T H R E A D and its proven dependability helps keep
has been
been usedusedin inover 8001 million
over billion your support costs down as well. ThreadX
electronic devices and systems, repeatedly tops the time-to-market results
ranging from printers to smartphones, from single-chip reported by embedded developers like you. All the while,
SoCs to multiprocessors. Time and time again, when Express Logic is there to assist you with enhancements,
leading manufacturers put their company on the line, training, and responsive telephone support.
when their engineering team chooses an RTOS for their
next critical product, they choose ThreadX. Join leading organizations like HP, Apple, Marvell, Philips, NASA,
and many more who have chosen ThreadX for use in over 800
Our ThreadX RTOS is rock-solid, thoroughly field-proven, million of their products – because their products are too
and represents not only the safe choice, but the most important to rely on anything but the best. Rely on ThreadX,
cost-effective choice when your company’s product when it really counts!

Contact Express Logic to find out more about our ThreadX RTOS, FileX® file system, NetX™ Dual IPv4/IPv6 TCP/IP stack, USBX™
USB Host/Device/OTG stack, and our PEGX™ graphics toolkit for embedded GUI development. Also ask about our TraceX®
real-time event trace and analysis tool, and StackX™, our patent-pending stack size analysis tool that makes stack overflows a
thing of the past. And if you’re developing safety-critical products for aviation, industrial or medical applications, ask Newnes

about our new Certification Pack™ for ThreadX.


n
Second Editio
E
REAL-TIM
ED
EMBEDD ADING
RE
MULTITH
adX for ARM, Coldfire,
With Thre
with append
ices
ctures
Now archite
PowerPC
MIPS and

For a free evaluation copy, visit www.rtos.com • 1-888-THREADX


M
CD-RO
INCLU DED

Copyright © 2010, Express Logic, Inc. Edward


L. Lamie

ThreadX, FileX, and TraceX are registered trademarks, and NetX, USBX, PEGX, StackX, and Certification Pack are trademarks of Express Logic, Inc.
All other trademarks are the property of their respective owners.
EE M
MBB EE D
DDD EE D
D SS YY SS TT EE M
M SS D
D EE SS II G
GNN BY Colin Holland #include
Director of Content
Colin Holland
colin.holland@ubm.com
Managing Editor
Susan Rambo
(415) 947-6675
Making necessary resource
susan.rambo@ubm.com
Acquisitions/Newsletter Editor,
ESD and Embedded.com
Bernard Cole
tradeoffs
(928) 525-9087
bccole@acm.org
Contributing Editors
Michael Barr
Jack W. Crenshaw
Jack G. Ganssle
Dan Saks
M uch importance is placed to-
day on having a good
work/life balance, yet I
would think that most engineers are
really not sure what that means—if
are using the Danny Kaye classic The
Ugly Duckling (which over winter
turns into a beautiful swan), as back-
ing track for a video that contrasts a
concept car designed in the 1920s by
Art Director you have the perfect answer please let Paul Jaray with Audi’s latest creation,
Debee Rommel
debee.rommel@ubm.com me know! I only bring this up as this the A5. It might be a bit over-egging
Production Director month we have to face the hard reali- the analogy that the changes we have
Donna Ambrosino ty of another balancing act. With re- planned in our own project “Swan”
dambrosino@ubm-us.com
ducing revenue from advertising in will be equally dramatic.
Article submissions
After reading our writer’s guidelines, send
regular print publications like ESD, In fact, while the look and feel
article submissions to Bernard Cole at how do we meet the justifiably high will change significantly for the bet-
bccole@acm.org
expectations of our readers? ter, it’s the content and the personal-
Subscriptions/RSS Feeds/Newsletters Our solution has been to take the ization that readers will be able to ac-
www.eetimes.com/electronics-subscriptions
challenging step of closing this print cess that will be most dramatic. Over
Subscriptions Customer Service (Print)
Embedded Systems Design magazine and concentrate our efforts the next couple of months, we will
PO Box # 3609 and expertise on improving our on- make available on the existing plat-
Northbrook, IL 60065- 3257
embedsys@omeda.com line presence: Embedded.com. form, as downloadable PDFs, all the
(847) 559-7597 For some time now, the entire ed- technical papers that have been print-
Article Reprints, E-prints, and itorial content we’ve printed here has ed in Embedded Systems Design (and
Permissions
Mike Lander also appeared online. We’ve also wit- its previous incarnation Embedded
Wright’s Reprints nessed a shift from the days when in- Systems Programming) since its
(877) 652-5295 (toll free)
(281) 419-5725 ext.105 teresting debates occurred in these launch in 1988. We’ll also make avail-
Fax: (281) 419-5712 pages to today when the active ex- able as PDFs all the papers that have
www.wrightsreprints.com/reprints/index.cfm
?magid=2210 change of views happens almost in been presented at the Embedded Sys-
Publisher
real-time online. tems Conference since it first saw the
David Blaza With the time and expertise freed light of day in 1989.
(415) 947-6929 With the new platform, you’ll be
david.blaza@ubm.com
up by not putting print-ready pages
together, going through numerous it- able to save interesting articles to your
Associate Publisher, ESD and EE Times
Bob Dumas erations, and meeting fixed deadlines, personal library, discuss techniques in
(516) 562-5742 we will greatly improve what we can our re-established forums, and down-
bob.dumas@ubm.com
offer you at Embedded.com. load code from our upgraded and ex-
These improvements will be crys- panded code library. We’re planning
tallized in the next few months as we other features, but more of that later. I
prepare to extract Embedded.com encourage you to make your own
from its adopted home of EE Times suggestions as comments to this col-
Corporate—UBM Electronics and once again establish it under its umn, which is also online.
Paul Miller Chief Executive Officer
David Blaza Vice President own URL and personality. While looking back provides con-
Karen Field Senior Vice President, Content
Felicia Hamerman Vice President, Marketing At present, Audi cars in Europe text, it will be what we provide today
Brent Pearson Chief Information Officer
Jean-Marie Enjuto Vice President, Finance Colin Holland is the director and in the future that makes us proud
Amandeep Sandhu Director of Audience Engagement & of content for Embedded
Analytics
of our motto: Embedded.com—The
Barbara Couchois Vice President, Partner Services & Systems Design magazine,
Operations Embedded.com, and the Official Site of the Embedded Devel-
DesignWest and East (which opment Community.
Corporate—UBM LLC
Marie Myers Senior Vice President, includes the Embedded
Manufacturing Systems Conferences).
Pat Nohilly Senior Vice President, Strategic You may reach him at
Development and Business
Colin Holland
Administration colin.holland@ubm.com.
Colin.holland@ubm.com
www.embedded.com | embedded systems design | MAY 2012 7
Get current,
without the hassle.
With Digi-Key’s Continuing Education Center, catch up to 180 days of free,
interactive courses engineered by Design News, starting January 2012.
Build your engineering know how. Take one or all. It’s your choice.

Tracks include: Microcontrollers Basic, Microcontrollers Advanced, MEMS Sensor


Technology, Lighting, Embedded Internet and Cloud, Wirelesss, and Power.

REGISTER AT
DesignNews.com/dkcec

FOLLOW US
@DigiKeyCEC

Digi-Key Continuing Education Center

Design News is a registered trademark of UBM plc © 2012


parity bit
Dawn of an era: Embedded Systems
Programming and ESC
O ne day in late 1987, Computer
Language magazine editor JD
Hildebrand walked up and
down the halls of the Miller Free-
man publishing company with a
Plauger, JD pulled together the
columns and design and I went
about selling the ads for the first
issue.
We didn’t know what to expect
gleam in his eye, saying that we and we boldly projected 30 ad pages.
needed to launch a newsletter on But unbeknownst to me, there was a
embedded programming. JD had large and rabidly competitive market
been convinced by some of the com- for in-circuit emulators and those
piler guys at Intel that embedded vendors came roaring into the first
programming was different—very issue. We closed the ad sales for that
different—from traditional software issue at 41.4 ad pages.
development and no one else “got The magazine had truly struck a
it.” chord and circulation, which started
I knew these Intel guys because at 25,000, began to rise almost im-
I’d been trying to sell them ads for mediately.
years into various magazines. They In the fall of 1988, our team at-
continually explained how cross
compilers were different and,
without the modern aid of re- ! We decided that the
more modern term
tended the Wescon show, which was
beginning its long slow decline. See-
ing the absence of any software, JD

!
sources like Wikipedia, I just nod- and I typed out a business plan on a
ded and walked away shaking my “embedded systems” Tandy 100 for the first Embedded
head, also not getting it. made more sense than Systems Conference. The only issue
Over the previous few year, I we tussled over was the name. JD
had collected a series of advertise-
ments talking about debugging,
emulation, and microprocessor-
based development that used
! firmware or real-time
systems.
thought it should be ROMDEX!
To get approval I had to guaran-
tee that we would have at least 150
people show up and I told manage-
terms like real-time and firmware. I what an embedded system was, but ment that, if necessary, I would per-
didn’t know what they meant, but I we finally got approval. We had sonally call people to make sure we
maintained folder full of them for spent a lot of time thinking about hit that number. We got the ap-
the day when I would understand the publication’s name because we proval.
and maybe one day start a magazine suspected that we would be defining Our first conference brochure
on the topic (I had many such fold- the market. We decided that the was eight pages, black-and-white,
ers). more modern term “embedded sys- and truly low budget; but we got
Hearing JD’s description, I ran tems” made more sense than about 325 people to come to the
out into the hall with my file burst- firmware or real-time systems, and event at the tiny Sir Frances Drake
ing with ads and said, “forget the we attached the word “program- Hotel in San Francisco and sold out
newsletter, let’s start a magazine!” ming” to definitively mark this as a the small show floor. Wind River,
It took a few months to do the software magazine. No capacitors! even then trying to make it’s own
research and a few more to explain With the blessing of our soft- unique splash, had its own room
to the Miller Freeman executives ware development magazine guru PJ
CONTINUED ON PAGE 12

www.embedded.com | embedded systems design | MAY 2012 9


barr code By Michael Barr

Trends in embedded software design


I n many ways, the story of my ca-
reer as an embedded software
developer is intertwined with the
history of the magazine Embedded
Systems Design. When it was
via an attached ICE. I remember that
on one especially daunting project
eight miles separated my compiler
and device programmer from the
only instance of the target hardware;
launched in 1988, under the origi- a single red LED and a dusty oscillo-
nal title Embedded Systems Program- scope were the extent of my debug-
ming (ESP), I was finishing high ging toolbox.
school. Like the vast majority of Like you I had the Internet at my
people at that time, I had never desk in the mid 1990s, but it did not
heard the term “embedded system” yet contain much information of use
or thought much about the com- to me in my work other than via cer-
puters hidden away inside other tain FTP sites (does anyone else re-
kinds of products. Six years later I member FTPing into
was a degreed electrical engineer sunsite.unc.edu? or Gopher?). The
who, like many EEs by that time in rest was mostly blinking headlines
the mid-1990s, had a job designing and dancing hamsters; and Amazon
embedded software rather than hard- was merely the world’s biggest river.
ware. Shortly thereafter I discovered
the magazine on a colleague’s desk
and became a subscriber and devo-
! As the magazine that
catered to embedded sys-
There was not yet an Embedded.com
or EETimes.com. To learn about soft-
ware and hardware best practices, I
tee.

THE EARLY DAYS ! tems programmers closes,


the future lies in less
pursued an MSEE and CS classes at
night and traveled to the Embedded
Systems Conferences.

!
In the early 1990s, as now, the spe- hands-on programming and At the time, I was aware of no
cialized knowledge needed to write books about embedded program-
reliable embedded software was more auto-generated code. ming. And every book that I had
mostly not taught in universities. The found on C started with “Hello,
only class I’d had in programming programmers, tubes of EPROMs with World”, only went up in abstraction
was in FORTRAN; I’d taught myself mangled pins, UV erasers, mere kilo- from there, and ended without ever
to program in assembly and C bytes of memory, 8- and 16-bit once addressing peripheral control,
through a pair of hands-on labs that processors, in-circuit emulators, and interrupt service routines, interfacing
were, in hindsight, my only formal ROM monitors. Databooks were ac- to assembly language routines, and
education in writing embedded soft- tual books; collectively, they took up operating systems (real-time or oth-
ware. It was on the job and from the whole bookshelves. I wrote and com- er). For reasons I couldn’t explain
pages of the magazine, then, that I piled my firmware programs on an years later when Jack Ganssle asked
first learned the practical skills of HP-UX workstation on my desk, but me, I had the gumption to think I
writing device drivers, porting and then had to go downstairs to a lab to could write that missing book for
using operating systems, meeting burn the chips, insert them into the embedded C programmers, got a
real-time deadlines, implementing fi- prototype board, and test and debug contract from
nite state machines, the pros and cons
of languages other than C and assem-
Michael Barr is CTO of Barr Group and a leading expert in the architecture of
bly, remote debugging and JTAG, and embedded software for secure and reliable real-time computing. Barr is also a
so much more. former lecturer at the University of Maryland and Johns Hopkins University and
In that era, my work as a author of three books and more than sixty five articles and papers on embedded
systems design. Contact him at mbarr@barrgroup.com or read his blog at
firmware developer involved daily in- http://embeddedgurus.com/barr-code.
teractions with Intel hex files, device

10 MAY 2012 | embedded systems design | www.embedded.com


O’Reilly, and did–ending, rather than And open-source Linux has done so are the awkward memory limitations
starting, mine with “Hello, World” (via well that it has limited the growth of resulting from limited address bus
an RS-232 port). the RTOS industry as a whole—and be- widths—and the memory banks, seg-
In 1998, a series of at least three come a piece of technology we all want menting techniques, and other
twists of fate spanning four years found to master if only for our resumes. workarounds to going beyond those
me taking a seat next to an empty chair So what does the future hold? What limitations. Second, these CPUs are
at the speaker’s lunch at an Embedded will the everyday experiences of embed- much better at decision making than
Systems Conference. The chair’s occu- ded programmers be like in 2020, 2030, mathematics—they lack the ability to
pant turned out to be Lindsey Vereen, or 2040? I see three big trends that will manipulate large integers efficiently
who was then well into his term as the affect us all over those timeframe, each and have no floating-point capability.
second editor-in-chief of the magazine. of which has already begun to unfold. Finally, these older processors also lack
In addition to the book, I’d written an the ability to run larger Internet-en-

!
article or two for ESP by that time and abled operating systems, such as Linux,
Lindsey had been impressed with my
Although you may be as well as the security and reliability
ability to explain technical nuance. programming for a 32-bit protections afforded by an MMU.
When he told me that day he was look- There will, of course, always be
ing for someone to serve as a technical
editor, I had no idea it would end up
being me. ! processor already, 8- and
16-bit processors still
many applications of computing that
are extremely cost-conscious, so my
prediction is not that they go away but

FUTURE TRENDS
Becoming and then staying involved
with the magazine, first as technical ed-
itor and later as editor-in-chief and
! drive overall CPU chip
sales volumes.
that the overall price (including BOM
cost as well as power consumption) of
32-bit microcontrollers based on im-
proved instruction set architectures and
transistor geometries will win on price.
contributing editor, has been a high- Trend 1: Volumes finally shift to 32-bit That will put the necessary amount of
light of my professional life. I was a CPUs computing power into the hands of
huge fan of ESP and of its many great My first prediction is that inexpensive, some designers and make the job easier
columnists and other contributors in its low-power, highly-integrated micro- for all of us.
first decade and believe my work controllers—as best exemplified by to-
helped make it an even more valuable day’s ARM Cortex-M family—will Trend 2: Complexity forces program-
forum for the exchange of key design bring 32-bit CPUs into even the highest mers beyond C
ideas, best practices, and industry volume application domains. The vol- My second prediction is that the days of
learning in its second. And, although I umes of 8- and 16-bit CPUs will finally the C programming language’s over-
understand why print ads don’t sup- decline as these parts become truly ob- whelming dominance in embedded sys-
port it anymore, I am nonetheless sad- solete. tems are numbered.
dened to see the magazine come to an Although you may be program- Don’t get me wrong, C is a lan-
end. ming for a 32-bit processor already, it guage I know and love. But, as you may
Reflecting back on these days long remains the situation that 8- and 16-bit know firsthand, C is simply not up to
past reminds me that a lot truly has processors still drive overall CPU chip the task of building systems requiring
changed about embedded software de- sales volumes. I’m referring, of course, over a million lines of code. Nonethe-
sign. Assembly language is used far less to microcontrollers such as those based less, million-plus line of code systems is
frequently today; C and C++ much on 8051, PIC, and other instruction set where the demanded complexity of em-
more. EPROMs with their device pro- architectures dating back 30 to 40 years. bedded software has been driving our
grammers and UV erasers have been These older architectures remain popu- programs for some time. Something
supplanted by flash memory and boot- lar today only because certain low-mar- has to give on complexity.
loaders. Bus widths and memory sizes gin, high-volume applications of em- Additionally, there is the looming
have increased dramatically. Expensive bedded processing require squeezing problem that the average age of an em-
in-circuit emulators and ROM moni- every penny out of BOM cost. bedded systems developer is rapidly in-
tors have morphed into inexpensive The limitations of 8- and 16-bit ar- creasing while C is no longer generally
JTAG debug ports. ROM-DOS has been chitectures impact the embedded sys- taught in universities. Thus even as the
replaced with whatever Microsoft is tems programmers who have to use demand for embedded intelligence in
branding embedded Windows this year. them in a number of ways. First, there every industry continues to increase,

www.embedded.com | embedded systems design | MAY 2012 11


barr code
the population of skilled C program- ters directly and that every processor A connected device cannot hide for
mers is on the decline. Something has ever invented for the mass market al- long behind “security through obscuri-
to give on staffing, too. ready has a compatible compiler). Note ty” and, so, we must design security
But what alternative language can that I do expect there to be continued into our connected devices from the
be used to build real-time software, ma- demand for those of us with the skills start. In my travels around our industry
nipulate hardware directly, and be and interest to fine tune the perform- I’ve observed that the majority of em-
quickly ported to numerous instruction ance of the generated code or write de- bedded designers are largely unfamiliar
set architectures? It’s not going to be vice drivers to integrate it more closely with security. Sure some of you have
C++ or Ada or Java, for sure—as those to the hardware. read about encryption algorithms and
have already been tried and found lack- know the names of a few. But mostly
ing. A new programming language is the embedded community is shooting
probably not the answer either, across
so many CPU families and with so
many other languages already tried. ! I predict that tools that
are able to reliably gener-
in the dark as security designers, within
organizations that aren’t of much help.
And security is only as strong as the

!
Thus I predict that tools that are weakest link in the chain.
able to reliably generate those millions
ate millions of lines of C This situation must change. Just as
of lines of C code automatically for us, code automatically for us, flash memory has supplanted UV-
based on system specifications, will ul- erasable EPROM, so will over-the-air
timately take over. As an example of a
current tool of this sort that could be
part of the trend, I direct your attention
to Miro Samek’s dandy open source
! based on system specifi-
cations, will take over.
patches and upgrades take center stage
as a download mechanism in coming
decades. We must architect our systems
first to be secure and then to be able to
Quantum Platform framework for take downloads securely so that our
event-driven programs and his (option- Trend 3: Connectivity Drives Impor- products can keep up in the inevitable
al) free Quantum Modeler graphical tance of Security arms race against hackers and attackers.
modeling tool. You may not like the We’re increasingly connecting embed-
idea of auto-generated code today, but I ded systems—to each other and to the AND THAT’S A WRAP
guarantee that once you program for a Internet. You’ve heard the hype (e.g., Whatever the future holds, I am certain
state machine framework, you’ll see the “Internet of things” and “ubiquitous that embedded software development
benefits of the overall structure and be computing”) and you’ve probably al- will remain an engaging and challeng-
ready to move up a level in program- ready also put TCP/IP into one or more ing career. And you’ll still find me writ-
ming efficiency. of your designs. But connectivity has a ing about the field at Embedded.com,
I view C as a reasonable common lot of implications that we have mostly EmbeddedGurus.com, and on Twitter
output language for such tools (given not dealt with yet. Probably the most at http://twitter.com/embeddedbarr. ■
that C can manipulate hardware regis- obvious of these is security.

parity bit
from page 9

filled with examples of embedded sys- ard’s cape with a large wooden staff. named to Embedded Systems Design)
tems, all running VRTX. The moment I knew we had found and ESC, I still subscribe to the maga-
I had managed to secure Andrew something special came at the party zine and still get to the occasional con-
Grove as a keynote speaker and as I met following the keynote. An attendee ference to see “my baby.” ■
him before the talk, he told me he was from Minnesota, who working in a
nervous! I asked why and he said that disc drive manufacturing division of
he had given hundreds of talks on In- IBM, told me he had been to Comdex, Ted Bahr is the co-founder and served
as publisher of Embedded Systems Pro-
tel’s microprocessor/PC business, but and many other software and electron- gramming magazine and director of the
this would be the first keynote he ever ics conferences but, he said, “this was Embedded Systems Conferences for the
did on embedded systems. It may have the first one where I don’t feel like a first eight years of their lives. He left
been the only speech on embedded he freak.” Miller Freeman to start BZ Media, which
publishes SD Times, Software Test & Per-
ever gave! But he did fine and then PJ Even though it’s been over 10 years formance, and Systems Management
Plauger spoke to the audience’s true since I was involved directly with Em- News. Bahr can be reached at Ted@bz-
needs while wearing a very elegant wiz- bedded Systems Programming (since re- media.com.

12 MAY 2012 | embedded systems design | www.embedded.com


feature

Using social media, firmware engineers come together to design a


firmware curriculum for embedded systems engineering students.

What a firmware
curriculum would look like
BY BOB SCACCIA

A
standard curriculum designed to prepare firmware en-
gineers to succeed in today’s market is well over-
due. Although the number of devices with embed-
ded firmware continues to climb, the number of
firmware engineers has not. Businesses are
searching for ways to adjust their available

talent pool, but mation revolution accelerates,


many of the engineers being we’re seeing dramatic growth in
pressed into service as firmware wireless and device interconnectiv-
engineers are inadequately ity, and, as result, wireless device
prepared. users are increasingly demanding
This problem is unlikely to be the ability to stay constantly con-
resolved any time soon. The price nected while mobile.
points for MCUs and FPGAs con- With complexity of systems
tinue to drop, as do the form fac- and code increasing, it’s critical
tors of these devices. As the infor- that we as an industry address this

www.embedded.com | embedded systems design | MAY 2012 13


feature
A four-year curriculum for firmware engineering students. training issue directly and drive the adjustments to firmware
Courses Credits engineering education necessary to meet the demand while
ENG: College Writing 3 maintaining design integrity and quality.
Year 1, Semester 1

MTH: Calculus I 4 To gather insights and information on this topic, I’ve


CHM: Chemistry I 4 taken advantage of the communications speed and flexibili-
CHM: Chemistry Lab 1 ty of LinkedIn, one of the Internet’s leading professional
networks. Through several of LinkedIn’s firmware-related
Fundamentals of Engineering 3
groups, I have led multiple discussion threads and created
Total 15
several surveys to raise a number of critical questions. What
ENG: Technical Writing 3
exactly is firmware? Has it ever been precisely defined or
Year 1, Semester 2

CIS: Introduction to Programming 4 pinned down? Has the demand for firmware engineers gen-
PHY: Physics 4 uinely increased? Will this high demand last? What areas to-
PHY: Physics Lab 1 day are experiencing the greatest growth? Is a full-fledged
CE: Digital Design I 4 degree in firmware engineering critical? Would a minor
Total 16 course of study or a certification program be sufficient?
COMP: Computer Architecture 4 Who are these creatures we fondly call “bit-heads.” Where
Year 2, Semester 1

COMP: Digital Design Lab 1 do they come from? Where should they come from?
MTH: Differential Equations 4 I also used more classic techniques for collecting infor-
EE: Circuit Analysis I 4 mation, including my own 20+ years of firmware develop-
ment experience, as well as input of some of my colleagues
CIS: C Programming Language 4
from the academic, entrepreneurial, and business arenas. My
Total 17
expert advisors included Dr. Marvin Schwartz and Robert
FIRM: Assembly Code 4
Bowser (see sidebar below).
Year 2, Semester 2

MECH: Statics & Dynamics 4 The result of my research is a curriculum (shown in Table
EE: Circuit Analysis II 4 1) that I freely admit is only a starting point, subject to critical
COMP: Digital Design II 4 feedback and debate. I came up with list of coursework via a
COMP: Digital Design Lab 1 combination of feedback from my LinkedIn group, my inter-
Total 17 view with Dr. Schwartz (especially the Art of Computer Pro-
FIRM: Firmware Data Structures & Algorithms 4 gramming portion of the curriculum), and my general knowl-
Year 3, Semester 1

CIS: C++ Programming Language 4 edge from my years of experience in this field. Some IEEE
EE: Microelectronics I 4 members suggested I work on developing a curriculum with a
EE: Microelectronics Lab I 1 team of other firmware engineers. I’m building a team that
FIRM: Knuth’s Art of Computer Programming, Vol 1 4
Total 17
ABOUT THE CONSULTING EXPERTS
CIS: C++ Programming Language 4
Year 3, Semester 2

Dr. Marvin Schwartz is the chief science officer at


FIRM: Microcontroller Firmware Design 4
the Youngstown Business Incubator and the Case
FIRM: Microelectronics Lab II 1
Connection Zone. He is a serial entrepreneur with a
FIRM: Knuth’s Art of Computer Programming, Vol 2 4
history of launching successful technology ventures
EE: Systems and Signals 4 and is best known as being the founder, CEO and
Total 17 CTO of Noteworthy Medical Systems, an electronic
Year 4, Semester 1

FIRM: Hardware Design Languages 4 health record company. Dr. Schwartz received his
FIRM: Microelectronics Lab III 1 PhD in computing and information sciences from
EE: Control Systems 4 Case Western Reserve University, where he serves as
FIRM: Knuth’s Art of Computer Programming, Vol 3 4 an adjunct professor of computer sciences.
Total 13 Robert Bowser is a senior director of controls
technology at Steris Corporation. Prior to joining
Year 4, Semester 2

FIRM: Digital Signal Processors 4


FIRM Real-Time Operating Systems 4 Steris, Rob was a senior manager at Cisco Systems,
where he was responsible for the development of
FIRM: Microelectronics Lab V 1
platform software and feature software, as well as
FIRM: Knuth’s Art of Computer Programming, Vol 4 4
defining the feature roadmap for Cisco’s $500+ mil-
Total 13
lion enterprise wireless access points business.
Table 1
feature
will eventually petition IEEE to complete reed to grasp for classification . . . The ety- Firmware engineers by degree.
the curriculum. We currently have 15 mology of “firmware” is, in essence, “soft- Electrical Computer Other Total
colleagues who have expressed interested ware embedded in hardware.” FPGA con- Minor/Option 2 5 2 9
in building this curriculum. figuration information is part of that Bachelors 19 3 7 29
Here are some of the findings I’ve continuum, as are many other realiza- Masters/PhD 11 5 2 18
gathered to the questions I asked the tions of hardware-dependent encoding. 32 13 11 56
group and advisors. During my discussion with Dr. 57% 23% 20%
Schwartz, he presented the following Table 2
WHAT IS FIRMWARE? definition: I define firmware as anything
Defining firmware is no small task. The that comes with a device, any device that
IEEE defines firmware thus: The combi- the end user is not likely to change or USING SOCIAL MEDIA TO
nation of hardware devices and computer would have to know something unusual CREATE LOCAL MEET-UPS
instructions and data that reside as read- to be able to change. FOR ENGINEERS
only software on that device . . . the con- Dr. Schwartz had no awareness of Say social media and engineers
fusion around this term has led some to my survey or the online discussion and typically cringe. Or do they?
suggest that it be avoided altogether. was not a member of the Firmware Firmware engineer Bob Scac-
Firmware has also been defined as the group at the time of our discussion. I cia and members of the Firmware
fixed, usually rather small programs will not attempt piecing a definition to- group that Scaccia initiated on
and/or data structures that internally gether from these gentlemen’s contribu- LinkedIn are embracing the profes-
control various electronic devices. tions, but suffice it to say that constancy, sional social media site to organize
When definitions use words such as hardware dependency, and device pro- in person meet-ups and online dis-
usually, often, small, and avoid, it’s a gramming are probable elements. cussions about technical and not-
good indication we need to go back to so-technical topics relevant to em-
the basics to define the term. FIRMWARE ENGINEERS bedded systems firmware
I posed this question to the If firmware engineers are not receiving development. Scaccia, who moder-
Firmware group on LinkedIn, both in formal education specific to the field, ates and keeps the discussions go-
discussion threads and in survey form. what is the most common degree that ing on the site, used the LinkedIn
After weeks of online debate, no clear they hold? Answering this question will group specifically to organize a lo-
definition emerged on which the ma- give us some guidance on the prevailing cal firmware group in his home
jority of engineers responding could skills a firmware engineer should have. state of Ohio. “Our group here in
agree. Again, I drew upon the wisdom of the Northeast Ohio has190 mem-
With that in mind, let me share Firmware group to help answer this bers,” he said. “We’ve met several
some of my findings that I feel may question, shown in Table 2. times, and I’ve arranged to have
help in building a foundation. After Clearly, the majority of firmware speakers attend and provide some
much discussion and attempts to de- engineers come out of the field of elec- training.”
fine the term, I decided to create a poll trical engineering and a large minority To further the profession, Scac-
using the definitions that had found comes from the computer disciplines cia has also started a firmware-
the greatest support in the discussion (namely computer engineering and sci- community website called Firmware
threads. Among the 148 firmware engi- ence). Planet (www.firmwareplanet.com)
neers who participated, the most popu- Not coincidently, here is what Dr. where he has set up a consultants’
lar definition, with 81 percent accept- Schwartz had to contribute to this dis- and contractors’ database.
ance, was the one provided by Arthur cussion: A curriculum in firmware en- Firmware practitioners will be able
Sittler (a firmware engineer from the gineering needs to have an electrical to upload information about their
LinkedIn group): Firmware is program- engineering core—computer science expertise and connect with other
ming stored in nonvolatile storage that today starts too high. Secondarily, firmware engineers and customers.
the end user is not generally expected to computer science will create bad The consultants registry has about
change at run time. habits. Start below assembly level and 100 members. —Susan Rambo
This focus on persistence and stor- build up from there. Computer science
age has been nearly constant in all the doesn’t even begin to explain to you
discussions I have had. The only notable how computers work. cial role in a firmware curriculum. But
exception was provided by Robert As will be discussed later, Dr. he also agrees with most other engi-
Gezelter, who made a compelling argu- Schwartz made it very clear that the art neers that it would start with electrical
ment: The storage mechanism is a thin of programming would play a very cru-
CONTINUED ON PAGE 35

www.embedded.com | embedded systems design | MAY 2012 15


feature

Armed with over 15 years of data from the Embedded Systems Design
subscriber study, ESD’s publisher traces trends and preferences of
embedded systems developers and industry vendors.

Shifting sands:
Trends in embedded
systems design
BY DAVID BLAZA, PUBLISHER, EMBEDDED SYSTEMS DESIGN

I
am prompted to write this short review of embedded systems
design trends for two reasons: first, to mark a milestone, and
second, purely out of curiosity about the embedded systems
market—how it evolved and where it’s going. This magazine
itself is the milestone to which I refer. May 2012 is the last
print issue of Embedded Systems Design (ESD, originally Em-
bedded Systems Programming), after 24 years in print.

How sad a milestone it is for you depends upon ence (ESC), which was launched in 1989 by the
your relationship with this particular print maga- same Miller Freeman publishing team that
zine and the rapidly changing world of print spawned the magazine, also continues to grow
publications in general. Although this may be a and evolve with new outposts in India and Brazil
farewell to print, I assure you that the energy and that have bright futures.
talent we put into serving you in print will increase Why close the print publication, then, if oth-
online, now and for many years to come. er areas are thriving? The simple answer lies in
To be crystal clear, the magazine will not be pure economics. ESD, always a free magazine for
printed and mailed from now on; nor will it be qualified readers (known as controlled circulation
available as a digital edition. The website and in the media business), was supported by print
community on Embedded.com, however, contin- advertising, and the number of advertisers who
ues to thrive (with 3x the readership the maga- run print ads has fallen to a level that can’t sus-
zine ever had). The Embedded Systems Confer- tain the business model. Luckily for you, the

16 MAY 2012 | embedded systems design | www.embedded.com


feature
reader, the same high-quality content never delivered on the “write once, run into your devices so you’re understandably
that was the foundation of the maga- anywhere” promise. One of the great reluctant to throw it out. In 2012, the hot
zine will continue online. mysteries of the embedded market is why OS is Android; it reminds me of the Java
The second reason for this history is design teams don’t migrate all code de- wave discussed earlier and makes me won-
to share what ESP/ESD readers and ESC velopment to new tools like MATLAB or der if Android will also be a passing fad.
attendees have had to say over the last 15 LabView and free themselves of the
years through our the annual subscriber drudgery of C? Our guess is the legacy MICROCONTROLLERS
survey. The survey, started by ESP maga- code base is large and needs to be sup- Many people believe that the real embed-
zine in the mid-1990s, became an annual ported and that it would take a very brave ded industry began with the broad avail-
rite of passage for the industry as we engineering team to abandon all that ability (and affordability) of 8-bit micro-
asked the magazine readers and confer- code and risk a failed project. My take is controllers primarily the 6800 from
ence attendees what hardware and soft- that one day many design teams will have Motorola in the mid 1970s and the Intel
ware they were using and considering, to (and should) bite that bullet, painful 8051 from 1980 on. By the time we did
and what their challenges were. Over the and scary as it may seem. our first survey in the 1990s, half of our
last five years, I’ve had the pleasure (and readers had used or were planning to use
pain) of shepherding the survey through
its many stages and then trying to make
sense of it for readers, vendors, and in- ! I wanted to share what the
readers and conference
the 8- or 16-bit versions of the Motorola
68HCxx or Intel 80xx controllers. There
was a robust set of tool and emulator

!
dustry watchers. The survey has its fans suppliers during those years but most
and detractors, and many people in the
attendees have had to say have now merged, disappeared, or been
industry will see the data in a different over the last 15 years. acquired by a silicon vendor (more on
light, so I encourage you to comment on this later).
this article on Embedded.com. OPERATING SYSTEMS In the first survey (1997), which was
In 1997 (the earliest study we can Here is a topic that should get everyone dominated by Motorola and Intel, we see
find), we mailed a floppy disk (really, re- fired up! Back in 1997, Wind River was the emergence of Microchip, which had
member those?) and a crisp $2 bill to the top used and considered RTOS (20 20% market share and Zilog with 15%.
1,000 readers of the magazine. In a direct and 24% respectively) followed closely by Interestingly the use of 32-bit parts was
reflection of how much the readers were pSOS. Wind River’s VxWorks remained in its infancy, but most designers had at
engaged with the magazine, we got a king of the hill until 2006 (peaked at least tried or were considering migrating
43.4% response rate—truly incredible 26%) but has seen a gradual decline since to the 32-bit architecture (a few were
and unlikely to be ever repeated in the then and is now only used by 11% of our looking at 64-bit and still are!). By the
history of market research. We’re going readers. pSOS was acquired by Wind Riv- time we get to this year’s study only 13%
to look then at the study data from 1997 er and despite valiant attempts by some of readers were using 8 bit, 16% using 16
to 2012 and stir some emotion and opin- companies to keep licensed versions alive, bit, and 63% are at 32 bit. We have been
ion about the embedded systems design it faded away. There was a time that the asked many times over the years how
market. Broadly, the trends we should industry thought Microsoft would make long 8- and 16-bit parts will endure and
look at are software, hardware, tools, and a big play for the embedded systems mar- frankly it could be for many more years
challenges. ket but their interest was spasmodic as those parts continue to evolve and
peaking in 2006 (with WinCE), and they prices fall.
SOFTWARE LANGUAGES show few signs of interest in the market What we’re seeing is strong growth in
In 1997, 80% of respondents were using today. So what about open source you the number of ARM-based processors
C. Fifteen years later that number is still say? In 1997, we didn’t even ask the “Lin- (SOCs really), and the number of ven-
65%, so C is still the dominant language ux” question but by this year 56% of you dors who offer their own ARM variants is
used for programming embedded sys- are using Linux in some shape or form increasing all the time. Let’s not forget
tems. and it seems to have stabilized at that lev- that in our top 10 Microchip has made a
But what happened to C++? Back in el, the big growth years were from 2004 good showing with the MIPS architec-
the day, 35% were using C++ and now its onward when we started to see double ture and Intel is still in the running with
20%, so C++ didn’t take hold. A Java digit usage of some form of Linux. ATOM, which it’s pushing down the
“bubble” peaked in 2004 with 20% One OS has maintained a roughly power curve to stay in the hunt.
thinking they may use it next, but Java is 20% hold on the market and that’s “in-
now down in the noise again at 2%. The house”—confusing I know, but it is what- TOOLS
promise of Java in embedded systems was ever you define it as. All that homespun There was a time in embedded when
huge and logical at that point in time but code and intellectual property is locked both large companies and startups saw

www.embedded.com | embedded systems design | MAY 2012 17


feature
opportunity in tools, debuggers, OSes, any preference for a vendor. After all, en- able for download along with our annual
and emulators, the magazine was full of gineers are driven by rational and logical webinar, which distills all our findings
companies advertising their products, decisionmaking, or so they tell us! into a quick 30-minute PowerPoint (on-
such as Nohau, Huntsville Micro, and line at www.eetimes.com/4369712).
even Hewlett-Packard. So where are all ECOSYSTEMS Therefore, after 15 years of surveying
those vendors today? To understand any Over the last few years as it became clear this market, what can we say about the
market, you need to follow the money that embedded systems are really a col- current state of the industry and where
and ultimately in embedded the money lection of many kinds of software, hard- it’s heading? The embedded systems
has remained with the hardware ven- ware, and tool chains, so we’ve asked the market is very conservative and changes
dors. They have either purchased, li- “ecosystem” question. What we mean by slowly, but we can see some broad trends:
censed, or developed many of the tools this is which vendors offer you the best
needed to get that all-important design
win. This trend has been hard on inde-
environment for getting your design
completed and its very telling that in the
• More systems are connected to the
web with 65% of design now includ-
pendent software vendors of all kinds results (unaided by the way) that of the ing some form of Wi-Fi connectivity
and with Intel’s acquisition of Wind (Bluetooth, cellular and ZigBee make

!
River last year, it does make us wonder up the next three).
what the future looks like for those few The biggest shift is the • Embedded designers have even more
brave software businesses who are move to open-source code. reasons to move to 32-bit processors
caught between open source and the these days (and the price differential
hardware giants battling for share. De-
spite this, your favorite tools are consis-
tently compilers, oscilloscopes, and de-
buggers. We think this is because it’s
! 37% of teams think their
next OS will be open-source. •
shrinks every day).
Perhaps the biggest shift is the move
to open-source code. The numbers
show that more design teams (37%)
where you spend the bulk of your time, top 10 answers only 1 was a software think their next OS will be some fla-
so you have to learn to use and to live vendor (actually a tool vendor, IAR). vor of open-source compared with
with them. This finding seems contrary to the data 31% using a commercial OS. This
we see which shows most of the effort trend is fueled by many silicon ven-
FPGAS, MEMORY, AND LCDS (60 to 70%) goes into writing code so dors who offer their latest hardware
Over the years it looked like the phe- why would the hardware vendor’s with a free OS/RTOS loaded up and
nomenal success of Xilinx and Altera ecosystem be so top of mind? Is it the ready to go. It’s hard to beat free, and
and the lure of programmability would only place where all the interdependen- if designers become comfortable
attract designers, but this year’s study cies in design come together? with the support issues and tool
points to a declining interest in FPGA’s. chains, its going to become com-
The perennial criticism of FPGA’s in CHALLENGES monplace for design teams to take
embedded was always threefold; too Finally, the consensus is that the largest the hardware/software bundle.
hard to program, too expensive, and challenge (and overwhelming enemy)
too power hungry. It’s going to take of design teams face is the “schedule.” A much deeper question is “what
some creativity and innovation for the For three years in a row, 58% of all happens to the for-profit embedded soft-
FPGA vendors to overcome these preju- projects were late or cancelled. That’s a ware business?” I don’t have the answer
dices. FPGAs have been incredibly suc- pretty poor average in any industry. but the remaining players (remember
cessful in the communications and mil- Why is this happening? Recent studies Wind River is now owned by Intel) are
itary markets where programmability is point to a skill-level issue. But, I predict going to have to examine their business
a huge advantage, but we’re seeing new it may also be all that legacy code sink- models intently over the next year or so
generations of ARM-based microcon- ing the project timeline. This year, we and really figure out how to add value
trollers with clever programmable com- asked about project management tools; that designers will pay for.
munications and analog blocks being after Microsoft Project, a full 40% of I’m sure I’ve missed something here
offered at very low prices that will keep you were using Excel as a project tool, that may be particularly important to you,
the FPGA vendors on their toes. which shocked us but was roundly de- so, leave a comment on Embedded.com
Over the years we’ve also asked read- fended by some teams because its cheap when this article is posted. ■
ers about their use of memory and LCDs and everyone has it!
but if we’ve learned one thing, it’s how David Blaza is the vice president of UBM
Electronics and publisher of Embedded
the specs, not brand, drive these deci- CLOSING THOUGHTS Systems Design magazine. You may reach
sions. Few respondents have expressed This year’s study (all 89 slides) is avail- him at david.blaza@ubm.com.

18 MAY 2012 | embedded systems design | www.embedded.com


By Niall Murphy
murphy’s law
Murphy’s Last Column
Editor’s note: Niall Murphy started writing The general population has been
about user interface design for Embedded
exposed to the idea of an app market
Systems Programming magazine in 1995.
He wrote the column Murphy’s Law for phones, and this concept has influ-
(archived at www.eetimes.com/4210709/ enced the way we think about updat-
and at www.panelsoft.com/murphyslaw). ing the software on our computing de-
vices. The previous way of getting new

L ooking back at the years when I


wrote the Murphy’s Law column,
I wondered about whether the
challenges of designing embedded sys-
tems have changed. Much of my work
software onto a dedicated device was
an unwieldy flash upgrade that re-
quired the user to manage the down-
load usually with the assistance of an
Internet-connected PC—and it was
is in the usability area, and we can be typically a complete upgrade with no
lured into thinking that basic human flexibility to choose which compo-
psychology does not change over the
years and so the same usability princi-
ples that worked 10 years ago still ap- ! Niall looks at the changes in
user interface technology
nents or applications you wanted.
More powerful processors make it
practical to run a full-featured operat-
ply. However, the technologies and
concepts that the general population
has been exposed to has changed dra- ! over the past few years and
makes a few predictions
ing system instead of just a real-time
kernel. This opens up a lot of potential
for integrating existing applications

!
matically. People’s expectations move into a product—in many cases the ap-
forward as their relationship with about application upgrade plications are far too large and com-
their personal devices evolves. Some- and cloud connectivity. plex for the manufacturer of the end-
one who glances at their smart phone product to develop themselves. For
to see the weather forecast and the lat- example the Linux version of some
est pictures from a friend’s social net- multiple unrelated areas. The screen in popular sat-nav products can be inte-
work has vastly different expectations my car can function as a DVD player, a grated into systems like the in-car
of technology than someone who sat-nav, and a display for a reversing computer I described. They provide
treated a phone as something only camera, as well as giving access to a APIs to allow the application to be
used for spoken conversation. range of air-conditioning and other controlled by the custom hardware of
The term dedicated device is used comfort controls. In fact, the model that system and to provide signals to
to describe embedded systems that presented to me as a user is of a single the application when, for example, the
have a sole purpose; it’s a term I often device capable of running several dif- ignition starts or stops. Similarly the
found useful for systems I worked ferent unrelated applications. We’re developer of the in-car system does
on—they aren’t general purpose com- used to the concept of running multi- not want to face the challenges of writ-
puting devices like a personal comput- ple applications on a PC, and this con- ing software to play a DVD. This range
er or a tablet computer but have a sole cept has become popular on smart of applications can come from a di-
purpose to fulfill. As with the smart phones, but a combination of forces verse set of vendors as long as the plat-
phone, however, the feature set of a lot are making this model attractive on form is based on a well-established op-
of devices is expanding to try to cover many other systems. erating system.
At the moment, the markets for
Niall Murphy, a software engineer, has been designing user interfaces for standalone apps is in the smart phone
20 years. He is the author of Front Panel: Designing Software for Embedded and tablet market—but now that the
User Interfaces, has written over 50 magazine articles (many for this mag- population has been seeded with peo-
azine), and currently writes the blog Usability Bites (http://embeddedgu-
rus.com/usability-bites/). Murphy teaches and consults on building better ple who understand the model, don’t
user interfaces and has been a frequent speaker at the Embedded Systems be surprised if your Android-powered
Conference. For more information about him, go to www.panelsoft.com. in-car computer or set-top box allows
Niall can be reached at nmurphy@panelsoft.com.

www.embedded.com | embedded systems design | MAY 2012 19


murphy’s law
you to download apps that have been my six-year-old daughter a digital cam- THE CLOUD
written for that device. The goal in era and she was puzzled when the pic- A key contributor to the personalized ex-
those cases is not to create a market tures on the display could not be re- perience will be cloud storage. Ten years
with tens of thousands of applications, sized with a two-fingered stretch ago embedded systems designers fastidi-
but to provide a software-deployment gesture. Expectations have changed. ously avoided having a server element in
model that allows the end user the flex- their design to avoid forcing the cus-
ibility to include the features they want WHO AM I tomer to deploy a server to support its
on their device and to leave out the fea- As we become surrounded by more so- devices, or the need for the manufacturer
tures that only appeal to others. It also phisticated displays, one of the biggest to provide a server somewhere on the in-
allows the manufacturer the flexibility challenges is telling those devices who ternet, which becomes a single point of
to deploy more advanced features long we are. There is a limit to the richness failure and a maintenance nightmare.
after the original hardware has of the experience that the device can Cloud computing has lowered the
shipped. Flash upgrades never got us to deliver without identifying the user. barrier to entry for this server element.
that point for the majority of users, but With personal computing devices you Cloud computing providers such as the
the flexibility of a file system for stor- can dodge this step since my phone is Amazon Web Service make it possible to
age on a general-purpose operating deploy any number of computers on the
system combine to make this viable. So internet with no hardware outlay or con-
A key contributor to the
my next car will not just have a sat-nav,
but will give me a choice of sat-nav ap-
plications from different vendors that I
can download and use. Upgrading the
current sat-nav software will be com-
pletely independent of upgrading the
! personalized experience
will be cloud storage.
always logged in as me. Developers of
nectivity infrastructure concerns. The
number of computers available can grow
or shrink with demand. At the other end
of the connection, the price of hardware
and software to put an embedded system
on the internet is constantly dropping,
DVD player software. embedded systems often have to design and many of our devices have other de-
for industrial or medical devices where sign reasons to be already connected, so
IT’S ALL ABOUT THE SCREEN a different user may start the device the incremental cost might be zero.
Processing power is so cheap that the each day. In many cases, it’s the em- So what opportunities does this
car manufacturer might have consid- poyer who wants more data about who open up? Consider the sat-nav applica-
ered dedicating a separate computer to is using the device, but identifying the tion that I use on my phone. I may have
each of the applications above, but the user also opens up opportunities to re- stored favorite routes and destinations,
driving force behind the decision to member the preferences, which are or a history of past journeys. If I now
combine them is the display. The cost personalized to that user. switch to the sat-nav unit built into my
of the display is a big fraction of the If you want to customize the set- car, I would like to have the same jour-
overall cost. And the more money spent tings on a per-user basis you need to neys and preferences available to me.
on the display, the better the user expe- know who that user is. However once The fact that I’m using a different physi-
rience, but for every extra square inch you give the user a password, you have cal device is a minor detail—the device
of display, the greater the attraction of to put all the infrastructure in place to should know who I am and present my
channelling more applications through allow the password to be changed and data. However, a typical design today
that shared display. And why not put to give the user a path they can follow stores my data locally on the device just
Skype or a weather app or a fuel con- if they forget their password, and this used and makes it impossible to syn-
sumption monitor app onto the display infrastructure is unpleasant for the chronize the data with another instance
of a connected car. user. Innovation in this area is going to of the application running on another
It’s not just the price and quality of be driven by a combination of forces. device.
the displays where our expectations Employers purchasing industrial Two steps are required to move to the
have evolved. Twenty years ago I equipment will want to know more synchronization scenario described above.
worked on a system with a touch about who was using the equipment The first is that the storage can no longer
screen, and we designed the start up and end users will want a customized be local. Instead of recording journeys
screen to contain a 3D-looking button experience without having to remem- on the flash drive of the device, it must
with the words “Touch Me” on it. Our ber a sequence of 6 to 8 characters in- be stored on a server in some easily dis-
concern was that the user would not cluding one capital and one digit and coverable part of the Internet. The second
realize that it was possible to touch the at least one non-alphanumeric charac- piece is the ability to log in. Once you
screen and would fumble around look- ter—Oh rats i have forgotten it again, move to the cloud, you have to identify
ing for off-screen buttons or a mouse maybe I will just stick it to a piece of yourself. But no one wants to type in a
device. A couple of days ago I handed paper in front of the machine ! password, and so we need better solutions.

20 MAY 2012 | embedded systems design | www.embedded.com


It all Rides On the
This is one area where software alone is not sufficient.
Swipe cards and fingerprint detectors are hardware solu-
Right Technology
tions that are more secure than passwords and more user
friendly. RFID tags and other near-field devices provide
great solutions. If you walk up to a device with an RFID
tag in your pocket and the device immediately logs you in,
the user effort of logging in vanishes to zero. It’s also more
secure since the device can detect when that user has
walked away and so log them out. This is being used suc-
cessfully to identify drivers of shared commercial vehicles,
and the drivers key-ring is the obvious place to hand the
RFID tag.
If I walk into a conference room and start to use the
speaker phone to make a phone call, the RFID tag may iden-
tify me to the phone and now the phone at the other end can
receive my name and number as the caller ID instead of the
Get Pattern Recognition
TM
shared phone number of the conference room. I effectively
logged into the speaker phone simply by walking up to it. Right with CogniMem!
There are other interesting login solutions out there. (I¿FLHQWSDWWHUQUHFRJQLWLRQDQGGDWDPLQLQJGHPDQGVDGHSDUWXUHIURPWUDGLWLRQDO
Windows 8 has introduced the concept of a login picture. FRPSXWLQJWHFKQRORJ\DQGSURJUDPPLQJ:KDWWKHZKHHOGLGWRUHYROXWLRQL]H
After you enter your user name, the computer presents a WUDQVSRUWDWLRQ&RJQL0HPGRHVIRUSDWWHUQUHFRJQLWLRQ
picture that the user previously chose, and, to confirm his
identity, the user touches a few positions on the picture. For Native Parallelism for High-Performance Reduced-Energy Computing
example, when setting up my password I might decide to 0DWFKDSDWWHUQDPRQJDQ\QXPEHULQD¿[HGDPRXQWRIWLPH)RUJHWDERXWWKH
use a picture of my favorite car and point to the back door PHPRU\VL]HDQGDFFHVVWLPHERWWOHQHFNV7DNHDGYDQWDJHRIWKHQDWLYHO\SDUDOOHO
followed by touching the middle of hood followed by DUFKLWHFWXUHRIRXUFRJQLWLYHPHPRULHVIRUPDVVLYHO\SDUDOOHOGDWDPLQLQJ6HDPOHVVO\
touching one of the clouds in the sky behind the car. This VWDFN&RJQL%OR[70IRUVFDODEOHKLJKSHUIRUPDQFHUHFRJQLWLRQZLWKUHGXFHGHQHUJ\
ODWHQF\VL]HDQGFRVW
doesn’t solve the problem of users forgetting their pass-
word, but it may make it easier to remember, and it reduces 1DWLYH0RGHO*HQHUDWRUDQG5HDO7LPH&ODVVLÀHUIRU,QWHOOLJHQW6HQVLQJ
the amount of typing to be done on a device that may not
7XUQGLJLWDOLQSXWVWUHDPVLQWRYDOXDEOHLQIRUPDWLRQDWWKHVHQVRUOHYHOZKHWKHULW
have a dedicated keyboard.
LVWRDFWXDWHDGHYLFHZDUQIRUDQRPDOLHVRUVHQGRQO\UHOHYDQWLQIRUPDWLRQWRWKH
Once we have provided a login solution and cloud con-
FORXG2XUFRJQLWLYHPHPRULHVOHDUQLQUHDOWLPHIURPH[DPSOHVZKLFKHOLPLQDWHV
nectivity, I think embedded systems designers still face chal- SURJUDPPLQJDQGLPSURYHVDFFXUDF\
lenges that aren’t present in the conventional computing en-
vironment. We often need to allow for intermittent internet
Sensor Input Data Mining/Analytics
connectivity since the environment might be mobile—and
The
we don’t want to render the device unusable because our ve- Classification Cloud

hicle is in a remote area. We also may need to provide the


option of anonymous use. If the sat nav in my car does not
Identification Act
recognise the driver, maybe it makes the routes personally ADC
chosen by the previous driver unavailable to the anonymous
driver but allows this anonymous user to request new routes 1,024
cognitive
Anomaly Detection
!
CogniBloxTM
that in turn will be forgotten when the anonymous driver is memories Nothing to Declare 4 - CM1K chips/board
later replaced by a driver with who validly identifies himself. (4,096 cognitive memories)
Stack for unlimited performance

THE WAY FORWARD *HW<RXU3DWWHUQ5HFRJQLWLRQ5ROOLQJZLWK&RJQL0HP


Many of the steps forward in embedded systems makes
them more like their desktop cousins. Personalized cloud
(YDO.LW6'. Technical Training
‡&0.YLVLRQVHQVRU ‡/HDUQDERXWSDWWHUQUHFRJQLWLRQ
storage and user identification will be another progression.
Like many such advances, we can learn from having met the ‡)UHHVFDOHL0;4XLFN6WDUW%RDUG IURPWKHLQGXVWU\SLRQHHUVLQRQOLQH
‡$995ZKLOHVXSSO\ODVWV DQGFODVVURRPWUDLQLQJ
same issues on conventional PCs. Adopting these technolo-
gies will challenge us in areas like security, but the benefits
of moving our data to the cloud where it can be shared
across devices will be irresistible in many designs. ■
 ‡ZZZFRJQLPHPFRP
significant bits By Jim Turley

So this is progress
Editor’s note: Jim Turley started writing a hard time finding a traditional
about semiconductors for Embedded Sys- bimetallic thermostat these days, and if
tems Programming magazine in 1997. He you did it would probably be for ironic
wrote the column Significant Bits (archived period-correctness, as if you were
at www.eetimes.com/4210710) and was edi-
restoring a 1970s-era house. Would
tor in chief of ESP/ESD from 2004 to 2006.
anyone in the 1970s have predicted that

A “computer” used to be a person. It


was a job description, sort of like
accountant or actuary. You hired
computers to compute things, like lists
of numbers or probabilities or statistics.
you’d use a computer—a freakin’ com-
puter!—to control the thermostat?
Computers are cheap because sand is
cheap (okay, silicon is cheap) and be-
cause of the wonders of mass produc-

!
Then these computers were replaced by, tion. Build enough of something and
well, computers. Embedded systems are you can start to amortize the costs across
Now our computers outnumber us. evolving in exciting a whole lot of units. Economics 101 is
The average middle-class American what got us here. Today’s microproces-
home has more than a hundred differ-
ent microprocessors and microcon-
trollers scattered around. There are a
half-dozen processor chips in every PC
! ways but our design
methods out of date.
sor chips are one of the most complex
things ever devised by humankind, yet
we toss them out when the batteries die.
We inject them into our pet’s neck; we
(not just the one big one that most peo- not an electric shaver, mind you, but a stick them in the handle of a razor.
ple think of), plus at least a dozen traditional razor with blades—with a That’s mass production for you.
MCUs in the family car. A high-end car microcontroller chip and a battery in its A high-end microprocessor today
like an S-class Mercedes has more than handle. The label on the box proudly has well over two billion transistors. A
a hundred different microcontrollers in proclaims it’s the “world’s first custom big FPGA can have more than six bil-
it, complete with their own fiber-optic power wet shave razor,” and I’m not lion. Even low-cost MCUs include over
network. A $2 musical greeting card has surprised. The surprising part is that a million transistors. Semiconductor
about as much computing power as the they had to qualify the statement so transistors are more plentiful than
Apollo 11 lunar lander. much. It’s not the first powered razor; grains of rice. Congratulations, Silicon
We’ve taken computer technology it’s the first custom power wet shave ra- Valley, you’ve out-produced God.
from the sci-fi laboratory to the bath- zor, which means other companies beat Yet these transistors are cheaper
room, from the extraordinary to the them to it. I’m almost afraid to try it than ink on a page (just ask any pub-
ridiculous, all in the span of one life- out. What is this thing going to do to lishing company). As a rough guide,
time. One career, even. Within living my face? And most of all… why? transistors cost about $0.00000055
memory, people were telling us that a Because we can, that’s why. Because apiece these days. We’re asymptotically
dozen or so computers would satisfy the computers are cheaper than mechani- approaching zero cost. And really, the
entire world demand. After all, how cal devices. Consider the old room silicon and other ingredients that go
many weather-prediction machines do thermostat: two pieces of bent metal into a transistor pretty much are free.
you really need? How many ICBM sim- that curl a bit as the temperature The raw materials are a negligible part
ulators? It took less than 20 years from changes. What could be simpler or of the cost of chip-making. It’s the de-
the time room-sized computers were more reliable? An 8-bit microcontroller sign, the labor, and—most of all—the
predicting missile trajectories to the and 4K of code, apparently. You’d have big shiny factory that cost real money.
time we started playing Missile Com-
mand at the local arcade. The only
Jim Turley is the author of seven books, was editor in chief of the
things we don’t seem to have are the Microprocessor Report (a three-time winner of the Computer Press
21st-century flying cars and the jetpacks Award), was editor-in-chief of Embedded Systems Design magazine, and
we were promised. is currently editor of Embedded Technology Journal and publisher of
Silicon Insider. For more about Jim Turley, go to www.jimturley.com. You
Now we’re just getting silly. Last may reach him at info@jimturley.com.
week I was handed a shaving razor—

22 MAY 2012 | embedded systems design | www.embedded.com


Figure on spending $3 billion to $5 One good way to predict where to- book lookup, GPS location, and more.
billion to erect a new fab. We’re talking morrow’s embedded systems will go is to What would you do with an order of
space-program levels of expenditure here. look at mechanical systems of today. magnitude more processing power in the
And that factory will be obsolete in just a What mechanical devices could be re- same size, space, and power envelope?
few years, so you’ve got maybe 36 months placed by electro-mechanical or wholly A third growth vector is, sadly, secu-
to make back that $5 billion you invested. electronic systems? Looking again at au- rity. Embedded systems are gradually,
Suddenly the cost of a little silicon and tomobiles, some cars are already using and grudgingly, adding more security
copper doesn’t seem so bad. Instead, you magnetorheological suspension compo- features as they become more centrally
work like crazy to make chips in high vol- nents in place of springs. Like the old integrated into our financial, medical,
ume so you can amortize that cost across thermostat, coiled springs may be dead and personal lives. We’ve all read about
more chips. Before you know it, the chips simple and utterly reliable, but they’re no (or experienced) security breaches at
are almost free. Your customers are hap- match for electro-mechanical equivalents banks or credit-card processors. We’ve
py, your salespeople are happy, and the that can adjust a car’s ride thousands of overheard stories about smartphone
razor manufacturers are happy. times per second. Sure, it seems silly now, “Bluejacking” or how the world will be
So where do these gazillions of little but so did in-car radios in the 1950s. overthrown by cyber-terrorists attacking
CPUs and MCUs go, apart from bath- Another angle is to look at today’s the power grid, etc. New technology
room electronics? Mostly into living embedded systems and imagine what leads to new fears and new areas of mis-
rooms and, um, bedrooms. Televisions, they could do with two times, or ten understanding. Even benign little utility
DVD players, game consoles, and all oth- times, the processing power. This ap- meters with low-wattage, low-band-
er sorts of living-room electronics are a proach led us to the smartphones of to- width wireless connections spur outrage
big part of the whole consumer-electron- day. An Android phone or iPhone still from irate (and ill-informed) communi-
ics industry. The other driving force is makes phone calls in essentially the same ty groups waving virtual pitchforks. We
sex. Just as sex helped drive the market way as the early Motorola “brick” phones are afraid of what we don’t understand.
for digital cameras, cable television, in- of decades past; that part hasn’t really It was ever thus.
stant (Polaroid) cameras, VCRs, high- changed. What’s different is the “bonus” On the plus side, the security angle
speed Internet connections, and mail-or- processing power for games, apps, phone- provides opportunities for a lot of embed-
der catalogs, it’s also a powerful force in
embedded systems. Hey, all those digital
cameras and cable routers need embed-
ded hardware and software, too. Some
estimates say as much as one-quarter to
Looking for the
one-third of the Internet’s total band-
width is consumed by porn sites, and
right software for
that stuff doesn’t download itself.
Ironically, the retailers for these
your processor?
shiny new consumer gadgets are being
You’ve found it. Our software is built to
driven out of business by the very tech-
run right out of the box—no integration
nology they’re selling. Online shopping,
required—and we provide full support for
combined with search engines and glob-
popular tools. With Micro Digital you have
al shipping, has conspired to turn elec-
low-cost, no-royalty licensing, full source
tronics stores into Amazon showrooms.
code, and direct programmer support. So
So long, Circuit City and Best Buy. Hel-
get your project off to the right start. Visit
lo, UPS driver.
www.smxrtos.com/processors today.
So where do we go from here? Have
we, as one patent examiner reportedly SMX® RTOS TCP/IP USB Device
said in 1899, already invented every- BSPs FAT File System USB Host
thing? Hardly. The number of embedded Device Drivers Flash File System USB OTG
systems keeps growing as we devise ever- Kernel Awareness GUI WiFi
Simulator C++ Support Floating Point
more-clever (or increasingly silly) uses
for them. Chipmakers’ production num-
bers have been rising steadily since the
Free Evaluation Kits: www.smxrtos.com/eval
beginning of time, and chip companies Free Demos: www.smxrtos.com/demo
R T O S I N N O V A T O R S

don’t make new chips unless they’re sell- www.smxrtos.com


ing the old ones. More programmers are
employed today than ever before. Some- ARM • Cortex • ColdFire • PowerPC • x86 • IAR EWARM • CrossWorks • GCC • CodeWarrior
body is giving these people work.
www.embedded.com | embedded systems design | MAY 2012 23
significant bits
ded systems programmers and hardware What doesn’t seem to be improving is own experience, and isn’t that what our
designers. Certainly there is a need for some the situation with development tools. We’ve employers want? Isn’t that experience
of this. Financial transactions need to be se- seen a million-fold increase in hardware what makes us more valuable than some
cured and the data protected better than complexity, and similar gains in lines of trainee fresh out of school?
they are now. Most short-range wireless code per device, yet we still program our Well, yes and no. Writer Douglas
connections are pretty insecure. In the early systems in C, assembly, or (heaven help us) Adams said, “Everything that’s already in
days, that was fine. Our first priority as de- Java. That’s like building the Pyramids of the world when you’re born is just nor-
signers is usually just to get the darned sys- Giza with stone tools. (Wait a minute; mal; anything that gets invented before
tem working. After that, if there’s time, we’ll make that building a Saturn V with bronze you turn 30 is incredibly exciting and cre-
tweak it to make it better. Now it’s time. tools.) Our design methods have not kept ative and with any luck you can make a
The good news is, there are a lot of pace with our design materials. The weak career out of it; and anything that gets in-
new chips and software to help us along. link there is… us. vented after you’re 30 is against the natu-
Low-cost microcontrollers now often in- Creatures of habit are we. Regardless ral order of things and the beginning of
clude crypto hardware such as random- of how advanced our products may be, the end of civilization as we know it until
number generators and AES or 3DES en- our methods for designing them are al- it’s been around for about ten years, when
cryption accelerators. The additional most medieval. We cling to the same pro- it gradually turns out to be alright really.”
hardware for this is essentially free, as gramming languages we used in college There’s a reason so many startups are
we’ve seen. But the added value can be and the same circuit-design techniques created by young college students with little
priceless. Before long, crypto and security we used in our first job. We design mil- or no industry experience. They don’t have
features will be a standard part of most lion-gate ASICs essentially the same way any established history to protect. Whether
processors and interface chips, and we we designed test circuits in undergraduate consciously or unconsciously, we protect
won’t think anything of it. lab. Why the inertia? Why the lack of and defend our own habits and methods.
The day may not be too far off when progress? We know what works and we try to keep it
the security features of an embedded sys- The fault lies not in our stars but in working through repetition. In our 20s we
tem take up more RAM and ROM space ourselves. We don’t like change. Ironically learn; in our 30s we practice; and in our 40s
than the “real” code itself. It’s not unrea- enough, a typical engineer creating to- and beyond we dig in our heels. That’s a
sonable that a cable router, for instance, morrow’s newest fast-paced technology is bit of a simplification, but it’s truer than
may have 512KB of code to make the resistant to change. We simply prefer to many of us would like to admit.
router work, but another 4MB of securi- use the tools and methods to which we’ve So in the spirit of change, Embedded
ty-related features, some of which will grown accustomed. That’s natural—peo- Systems Design (née Embedded Systems
never get used. It seems a shame that so ple in other professions behave the same Programming) is making another trans-
much of the project’s resources are “wast- way—but it’s also hugely paradoxical. formation. It’s transmogrifying from its
ed” on nonessential features, but that’s We’re more productive when we use (and old, familiar form but that’s not a bad
where we’re headed. Treat it as a compli- reuse…) the languages, compilers, debug- thing. That’s what’cha call progress. But
ment: Your product is so valuable that it gers, and bench tests we’ve used before. somebody out there better be working on
requires its own anti-theft device. We are quite naturally building on our my jetpack. ■
programmer’s
By Jack W. Crenshaw
toolbox
How I got embedded: a special connection
A t this moment, you’re looking at
the last print issue of Embedded
Systems Design magazine. The oc-
casion is especially poignant for me,
because so much—20+ years—of my
customers were treated so shabbily. The
explanation has to do with money and
bureaucracy.
In those days, computer time was
expensive: $600 per hour. That’s in
career has been tangled up with the 1960 dollars, when a Coke cost a nick-
magazine in general, and the Program- el, gasoline 25 cents per gallon, and
mer’s Toolbox column in particular. that $600 would pay my salary for six
Some folks have been blessed (or weeks. So the priesthood tended to

!
cursed) by careers that are “linear.” guard the computer jealously. To
They start one job, stay with it, move
Take a trip through the them, we were not so much valued
up the ladder, and retire happy. Mine life’s work of one engi- customers, as necessary evils to be tol-
hasn’t been that way. It’s taken some erated, however grudgingly.
sometimes-unexpected twists and
turns—some more pleasant than oth-
ers. Not all of those directions have ! neer who was involved
in embedded systems
The systems administrator was
not judged on how many problems
that were solved, but by his ability to
had anything whatever to do with em-
bedded systems. I thought, however,
that you might enjoy hearing about
the ones that did. But first, I need to
set the stage with a little background.
! from Day 1 (courtesy of
Rambling Jack).
hood, from floor supervisors to man-
keep the computer backlog down.
Backlog, as in the number of jobs
waiting in the queue. The easiest way
to keep the backlog down was simply
to deny access to the job queue, or to
agers to that highest of all high priests, abort jobs on the flimsiest of excuses.
GIANT BRAINS the systems administrator. In one shop, I had jobs rejected be-
I’ve been involved with computers for a This was my world for the next cause the card deck had too many
long time. How long? Here’s a hint: The decade or so. Not that I actually got to rubber bands around it. Other times,
textbook for my first computer science enter the computer room, of course. too few. One computer group actually
class, in 1956, was entitled Giant Brains, That privilege was reserved for the issued written guidelines for how
or Machines That Think. Back then, the anointed. We mere engineers and sci- many rubber bands should be used,
notion of “micro brains” wasn’t even a entists were not welcome. Heck, it was per inch. The only problem was that
blip on anyone’s radar. Computers two years before I even saw the com- the computer operators didn’t follow
were—and, we assumed, always would puter, and that was from the outside of their own guidelines. So a deck they
be—monster, power-hungry machines those glass walls, looking in. My only returned to me was likely to be reject-
that filled large rooms with glass walls, contacts with it were the “keypunch ed on the next turnaround.
raised floors, and over-engineered cool- girls” who punched my card decks, Despite the oppressive, Big Broth-
ing systems. and the clerk behind the counter who er environment, we got exciting things
The computer room of 1960 felt accepted my jobs and returned their done. We did, after all, help Neil and
more like a cathedral than a place of results. If, on rare occasions, I interact- Buzz walk on the Moon. What’s more,
science, and it had its share of mysteri- ed with the priesthood, it was in it was in this environment that I
ous icons, rituals, a small army of hushed and reverent tones, and a learned my craft and developed tech-
acolytes, and a hierarchy of priest- proper air of respect. I resisted the niques that I still use today.
urge to genuflect. I did, however, take one thing away
Now, when you consider from the experience: A deep and abid-
Jack Crenshaw is a systems engi-
neer and the author of Math Toolkit that the purpose of the com- ing hatred of systems administrators.
for Real-Time Programming. He puter was, after all, to help us
holds a PhD in physics from Auburn scientists and engineers solve FIRST PERSONAL COMPUTERS
University. E-mail him at
jcrens@earthlink.net. our problems, it may seem During those oppressive years, I found
hard to understand why we a glimmer of hope and a glimpse into

www.embedded.com | embedded systems design | MAY 2012 25


PROUD SPONSOR:

EST CELEBRATION
G

OF
T MISS THE LAR

SCIEN
CE IN THE
N’

.S.
O

U
D

GRAND FINALE

EXPO & BOOK FAIR


APRIL 28 & 29, 2012 USASCIENCEFESTIVAL.ORG
WALTER E. WASHINGTON CONVENTION CENTER, WASHINGTON, D.C.

OVER 2000 FUN HANDS-ON ACTIVITIES AND MORE THAN 100 STAGE SHOWS
MEET SCIENCE CELEBRITIES & AWARD-WINNING AUTHORS
NEW THIS YEAR: CAREER PAVILION & BOOK FAIR | A FREE EVENT

LOCKHEEDIUM K&L GATESIUM NOBELIUM EINSTEINIUM KRYPTON PLATINUM

LEGO Education Vertex Pharmaceuticals U.S. Army RDECOM


CrazyEngineers.com Celestron and eCYBERMISSION
The Kavli Foundation Baxter International Purdue University
Medimmune American Nuclear Society Center for America
Sigma Xi Xconomy Northern Virginia
American Scientist Association of Technology Council
Illumina, Inc. Science-Technology Centers The Scripps Foundation for
Physics Today You Can Do the Rubik's Cube Science and the Environment
Forbes/Wolfe Amgen 3M
SchoolTube U.S. Environmental Johns Hopkins University/
Protection Agency Whiting School of Engineering
NASA
The Planetary Society Society for Maintenance and Center for Biotechnology
Reliability Professionals (SMRP) Education at Johns Hopkins
Washington Family Magazine University
Applied Physics Laboratory
PBS Kids Aldebaran-Robotics
Raytheon
WAMU Project Lead the Way
U.S. Department of Defense
the future. I discovered that not all com- CHANGES IN THE WINDS CHASING THE DREAM
puters had to be large, nor limited in ac- Fast forward to 1970. I was still pro- In a nice, orderly, and linear world, I
cess. Around 1961, I gained access to gramming an unseen mainframe in would have followed up that resolution.
what we’d now call a personal computer. FORTRAN. That particular mainframe But my world has been anything but lin-
The Royal McBee LGP-30 was about wasn’t even in our building; it belonged ear. To explain, I have to rewind to the
the size of a desk.3 A vacuum-tube ma- to NASA. Our only contact with it was a mid-1960s. I was back at college, chasing
chine, it had a grand total of 15 flip- courier, who made twice-daily runs to another degree. For both my teaching
flops. Its only memory was a 4k, mag- pick up our card decks and return print- duties and NASA research, I found my-
netic drum. All the data—even the outs. Turnaround time was 24 hours. To self back in the world of FORTRAN and
machine registers—resided there. Bits keep the pump primed, each time we got mainframes. But at home, in my “spare
marched to/from the drum in serial a run back, we’d pore through the print- time,” my thoughts turned back to my
fashion. “Bulk storage” was rolls of pa- out with a red pen in hand, marking it dream: A computer of my very own.
per tape. up for the next cycle. During those years, I was hardly alone.
As primitive as the LGP-30 was, it But big changes were on the horizon: Some enterprising souls actually man-
offered important advantages over the I’d been reading about these newfangled aged to realize their dream, assembling
Giant Brains. First, I didn’t have to beg gadgets called minicomputers. Though far their own minis from surplus parts.
for permission to use it, No accountant more capable than my old “desk” com- Others settled for slices of a time-shared
or systems administrator stood behind puter, a typical minicomputer was about mini, like the BASIC system developed
me, tapping his foot. And though the the same size and price, and had a simi- at Dartmouth. My own thoughts, how-
computer was shared among our team, I lar, interactive user interface: A Teletype ever, took a more primitive turn: I want-
had virtually unlimited access to it. Sav- console with paper tape I/O. ed to build a homebrew computer from
ing computer clock cycles was no longer Most exciting, people began con- scratch.
an issue. necting minicomputers to the real Two unrelated events had steered me
Most importantly, I could use the world. in that direction. First, in a GE semicon-
LGP-30 interactively. I’d sit down at its In truth, we could have done the same ductor manual, I found a very nice tuto-
console, a modified electric typewriter, thing with a big mainframe. All comput- rial on Boolean logic. Fascinated, I
and type. Answers came back in seconds, ers have I/O ports and support interrupts. learned all about 1’s and 0’s, ANDs and
on the same page. I didn’t have to learn With enough specialized (and very expen- ORs, exclusive ORs, and De Morgan’s
and use machine language; the LGP-30 sive) interface devices like analog-to-digi- theorem. I learned about flip-flops. I
sported a primitive interpreter. If you tal (A/D) and digital-to-analog (D/A) learned about circuit minimization and
think of it as a 1960 version of an Apple, converters, a computer could interact with Karnaugh maps. Just for fun, I would
with paper tape instead of tape cassettes, its surroundings. But unless you had a pick some logic problem (Example:
you won’t be far from wrong. budget equal to NASA’s, you weren’t build me a circuit to drive a seven-seg-
Using that computer, I formulated a likely to use a mainframe that way. ment display) and work out a gate-level
philosophy that I’ve held ever since: With minicomputers, cost wasn’t solution.
Having virtually unlimited and interac- such an issue. What’s more, minicom- Second, Fairchild introduced a line
tive access to a small computer is infi- puters tended to have more uncommit- of low-cost integrated circuit (IC) logic
nitely preferable over needing an act of ted I/O ports and interrupts, and the cost devices. Even a grad student could afford
Congress and wading through a hierar- of A/D and D/A converters was plum- a dual NOR gate 80 cents or a J-K flip-
chy of bureaucrats, to get batch-mode meting. Suddenly, all over the world, flop for $1.50. I bought a bunch of them,
access to a big one. Limited though a people were hooking their minicomput- and spent many glorious hours making
small computer might be, a “turn- ers up to all manner of external machin- lights blink, sensing pushbutton inputs,
around” time in seconds trumps one in ery, including factory assembly lines and and mechanizing some of those logic so-
hours or days. research lab equipment. The era of real- lutions. I built a couple of useful gadgets:
I got a lot of problems solved with time and embedded systems had arrived. a lap timer for a racetrack and a counter-
that old computer, but my main take- One day, I was walking down the halls timer-frequency meter for myself. For
away was a dream. Someday, I vowed, I’d at my job, and passed room after room of the first time, my dream of a homebrew
have a computer of my very own. I guys poring over fan-fold printouts, computer seemed within reach.
wouldn’t have to justify my use of it to marking them up with red pens. I had the As my design evolved, I took a page
anyone. Its only job would be to sit on thought, “these guys—indeed, ALL us from that old LPG-30, and used serial
my desk, waiting for me to give it some- guys—will soon be as obsolete as dodo logic, with shift registers ICs replacing its
thing to do. And if I chose to use it frivo- birds.” I resolved not to let that happen magnetic drum memory. My next prob-
lously, inefficiently, or not at all—well, to me. I resolved to get involved with lem was I/O. For output, I wanted to dis-
that would be entirely up to me. minicomputers and real-time systems. play decimal digits. After much trial and

www.embedded.com | embedded systems design | MAY 2012 27


programmer’s toolbox
error, I settled on the idea of displaying the 8080-based Altair kit. This was no machine, and another for a plastic injec-
seven-segment digits, drawn cursively on bag of parts or a set of etched circuit tion-molding machine.
an x-y-z oscilloscope. I worked out the boards; the Altair was a real computer, To say that our “laboratory” was
waveforms I’d need, and etched and sol- with a rugged power supply, bus struc- primitive would be far too kind. Paul’s
dered circuit boards to generate them. I ture, and a beautiful case. designs used the Intel 4040. His “devel-
had gotten as far as displaying a single What’s more, it only cost $395—just opment system” consisted of a 4004-
digit, when my plan was severely rerout- $45 more than the CPU chip alone. The based single-board computer, a primi-
ed by advancing technology. day I saw the ad in Popular Electronics, I tive ROM-based assembler, and a
bought one. Teletype ASR-33. Intel had upgraded the
THE MICROPROCESSOR assembler to support the 4040. Our test
When Intel’s 4004 burst on the scene, it FINALLY, REAL TIME equipment consisted of an equally prim-
not only changed my plans, it changed The next event didn’t change the world itive bus monitor, a multimeter, and an
the world forever. I asked myself: Why at all, but it sure changed mine. Not oscilloscope.
should I bother building a homebrew To hold our software, we used UV-

! Testing a nav system is not


computer from discrete gates, when I erasable EPROMS. But we had no
could get the whole CPU on a single EPROM eraser. Instead, we just put the
chip? simple. You can spend two EPROMs outside, on the hood of
Interestingly enough, this vision someone’s car, and let the Sun do the
wasn’t shared by many respected com-
puter gurus and manufacturers. Even
Intel themselves, when they introduced
! weeks just calibrating sen-
sors. Instead, we simply put
job. Sometimes, the software acted
strangely. Do you think maybe a cloud
passed over the Sun?
the 8080, wrote an article showing how
it could be used to control a traffic light.
That’s one traffic light. Three sets of
light bulbs, and four pressure sensors.
! the box on a desk, and veri-
fied it could find “down.”
When I arrived on the scene, we
bought the much more capable Intel
Intellec-8, which improved our capabil-
ities big time. The Intellec-8 included
That kind of use seemed to be the limit wanting to become a dodo bird, I’d been both a better assembler and a PROM
of their imaginations. looking for a chance to get into a micro- reader-burner. That’s the way we burned
Even years later, respected computer based business. At a Huntsville electron- PROMs for the cold-forge machine. But
gurus were saying things like ics trade show, I met Paul Bloom, presi- more importantly, we could now devel-
“A microprocessor will never be dent of Comp-Sultants. At his booth, op software for the 8080.
used as a general-purpose computer.” Paul was displaying the components for Paul sold a contract for software to
“A high-order language compiler his own 4040-based computer kit, the control a satellite-tracking antenna. It
will never run in a microprocessor.” Micro 440. That was enough for me. was to include a two-state Kalman filter
“Why would anyone want more Hands were shaken, some money (KF)—surely one of the first KFs in a
than 20k of RAM?” changed hands, and I ended up as microprocessor. I wrote the software for
But for those pioneers who had been Comp-Sultants’ software guy and its it.
building homebrew computers out of manager. Which interprets as among A KF is best implemented in floating
surplus core memories, discrete logic, other duties, I got to handle phone calls point. So I ported my 8008 floating-
and duct tape, the intellectual leap from from irate customers, deal with door-to- point package to the 8080. It was on this
controller chip to general-purpose com- door salesmen and beggars, keep the toi- project that I learned the value of RAM
puter was obvious. One thing’s for sure: let working, and sweep the chad from bytes and clock cycles. For each assem-
entrepreneurs were not just building, but the floor. In my “spare” time, I had to di- bly-language subroutine, I counted the
marketing kits. Three or four used the rect our four technicians and develop clock cycles and bytes used. The end re-
Intel 8008. I started writing software for software. sult was a package that was smaller and
it, including a complete floating-point Paul and I had our differences, more efficient than both Intel’s own
package. mostly about money and “vision,” but package, and Microsoft’s (yes, Bill, I dis-
you have to give him this: He was a true assembled your code). I also had to pro-
PERSONAL COMPUTERS visionary. Where I was still stuck in gram the fundamental functions: square
If the first microprocessors changed the homebrew computer mode, Paul saw the root, sine, cosine, and arctangent. My al-
world, the next event shook it to its core, value of the microprocessor in its com- gorithms eventually found their way,
and created an industry of unprecedent- mercial value in real-time processor con- first into the pages of ESD, and then into
ed scope. Only a month or two after Intel trollers. Before I arrived on the scene, he my book (www.amazon.com/Math-
released the 8080, Ed Roberts, owner of already had two products under devel- Toolkit-Real-Time-Programming-Cren-
the electronics firm MITS, announced opment: A controller for a cold-forge shaw/dp/1929629095).

28 MAY 2012 | embedded systems design | www.embedded.com


Now, you have to ask: If we were de- customer took our system, said, “Thank grab four of them, and then—if asked—
veloping microprocessor-based, real-time you very much,” and walked away. poke new values. It worked like a charm.
systems in 1975, how come we didn’t be- The future of the company now de- I had one more job involving the
come rich and famous billionaires? An- pended on my antenna controller. We de- Z8000. We had an existing ship naviga-
swer: We tended to snatch defeat from livered that one on time, and it exceeded tion system. Our company had sold the
the jaws of victory. My Kalman filter its performance spec. In fact, it may have Navy the idea of using it in an old torpe-
worked like a champ, but I can’t say as been a little too good. We had been hop- do, basically turning the torpedo into a
much for our other products. ing that, if we did a good job, we’d get a self-locating mine. The catch was, we
As it turned out, the Micro 440 kit follow-on contract to refine and extend had only 2 weeks to deliver a prototype. .
that Paul had at that trade show was a the code. Turns out, the customer was Testing a navigation system is not
myth. He had some of the real parts, but happy with version 1.0, so that was that. usually a simple thing. You can spend
most were just random circuit boards, two weeks just calibrating the sensors.
put there for show. We did eventually GYROS, SHIPS, MISSILES, TORPEDOES We couldn’t do that, but we could deliv-
complete the Micro 440, and even sold a After Comp-Sultants, I wandered into er a working, if not perfect, system. In-
few, mostly to universities. But we had other jobs, including teaching computer stead of a calibrated, computer-con-
made a serious marketing error. We science at a local university, writing soft- trolled test rig, we simply put the box on
thought that the public wanted lower ware requirements for NASA projects, a desk, and verified that it could find
cost, and the Micro 440 was $100 cheap- and even a stint as a chief engineer for “down.” After we’d done that in a few
er than the Altair. In reality, our cus- Heathkit. My next job with real-time orientations, we rotated the box back
tomers wanted a horsepower race: The systems involved developing software for and forth by hand, and verified that it
more RAM, longer words, and faster the 16-bit Zilog Z8000. The company knew “North.”
clock speed, the better. The hobbyists made navigation systems using ring- The next test was way cool. The tor-
saw our ads, yawned and moved on. laser gyros. One of our top scientists had pedo had a tachometer on the propeller,
Paul made another egregious error. developed an algorithm that used a which it used to “trim” the position cal-
Before I came along, he needed a pro- computer to predict and compensate for culations. We couldn’t give the nav sys-
grammer for his cold forge machine. gyro errors. It promised to improve per- tem a propeller, but we did the next best
Thinking to get one on the cheap, he formance by an order of magnitude. My thing; we hooked up a square-wave gen-
went to the computer science depart- job was to turn the algorithm into code. erator to the prop input, so the system
ment at the University of Alabama, On this job, my biggest problem was would think it was moving at constant
Huntsville, and asked them for their clock cycles. To implement the algo- speed. Then we put the system, a battery,
smartest senior. Tim may indeed have rithm, I had to make the software gener- and a terminal on an equipment cart.
known computer science, but he turned ate those same fundamental functions— One of our techs had been practicing,
out to be the most inept programmer square root, sine, cosine, and pushing the cart around the parking lot
I’ve ever known (and that’s saying a arctangent—in a millisecond. That’s at a constant pace. When we had him
lot). He wrote impossibly obtuse and 1000 clock cycles. To make this happen push our system around a big loop and
lengthy code, filled with flags and was without a doubt the biggest chal- back to the starting point, we closed the
branches, for even the simplest algo- lenge I’ve faced. I didn’t even have time loop within 15 feet. Not bad, for a cali-
rithms. We had to scrap his code for a to store and fetch data to/from RAM. As brated technician.
TTY interface because it filled the entire much as possible, I had to keep them in I did two more embedded systems
memory. CPU registers. To optimize the register for that company: A large, ground-to-
Worse yet, his only way of testing the usage, I used graph-coloring algorithms, ground missile and an experimental ship
software was to go to Nashville, 100+ as an optimizing compiler does. navigator. The ship navigator required
miles away, and plug the EPROMS into I had another idea that I’m kinda me to implement an 18-state Kalman fil-
the machine. It’s called the Big Bang the- proud of. The issue was: how do you test ter. Both systems were successful. The
ory of testing. And when you’re talking an algorithm to see if it’s working right? missile is currently deployed, and the
of a big machine with 5000-psi hy- You can single-step through the code, ship navigator achieved the highest ac-
draulics, you’re talking about a BIG but once the gyro is connected, you can’t curacy ever achieved, to that time.
bang! Week after week, the software mis- stop the CPU. To solve the problem, I My next real-time job was among the
behaved, destroying the machine and hooked up another Z8000, and let it most fun, mainly because I got to recom-
sending technicians diving behind share memory with the unit under test. mend all the parts of our development
crates. In the end, I fired Tim, rewrote The CPU couldn’t wait to peek and poke system and tools. It was for yet another
the software myself, and delivered a all the CPU registers, but I could afford satellite tracking antenna, only this one
working product. But not before the due to do about four of them. So I added was in an airplane, and therefore bopping
date on the contract had expired. The software that would peek at the registers, around instead of bolted to the ground.

www.embedded.com | embedded systems design | MAY 2012 29


programmer’s toolbox
We chose the Motorola 68332 chip. We tial to kill people. The FDA has very SEE JACK WRITE
used the Intermetrics C compiler, which strict rules for certifying a given system I’ve always enjoyed writing. My first cre-
included a very nice source-level debug- as safe. To create the new patient moni- ation, as I recall, was a comic book when
ger. For once, I didn’t need floating-point tor, we had to assure the FDA that it I was around 10. During my aerospace
software, but I still needed—guess would perform exactly the same func- days, I wrote many technical reports,
what—functions for square root, sine, co- tions, using the same algorithms, as the white papers, and some journal articles.
sine, and arctangent. We also gave the old one. That’s not easy when you’re The biggie was my Ph.D. dissertation,
customer an added feature. Instead of a changing both the CPU(s) and the pro- which ran to 140 pages. Later I was writ-
readout showing hex numbers in green, gramming language. To make sure that ing software requirements specs, test
uppercase characters, we gave him a Win- happened, I first had to understand, in plans, etc., for NASA and DOD cus-
dows-based interface, complete with mul- precise detail, the Z80 code in the old tomers.
ticolored graphs, simulated compass nee- one. And that was the rub, because When I got involved with micro-
dles, spin-dials, and point-and-click computers, I wrote a few articles for
inputs. Nice. magazines like Byte, Kilobaud, and
I’m particularly proud of the op-
erating system I wrote for this job.
First, it used all the real-time features
! To update the patient monitor,
we had to assure the FDA it
ProFiles, the house organ for the
Kaypro computer. In 1988, I started
writing a tutorial on compiler con-
of the 68332—watchdog timer,
counter-timer, etc., to the fullest.
More importantly, it was rather ! would perform exactly the
same with same algorithms—
struction. It’s still on the web here at
www.freetechbooks.com/let-s-build-a-
compiler-t56.html.

!
unique in that the interrupt handler JD Hildebrand, then editor of
was itself reentrant. That is, the sys-
not easy when you’re chang- Computer Language magazine, saw the
tem could tolerate one or more new ing the CPU and the language. tutorial and asked me to write an arti-
interrupts coming in, while it was cle on the topic. I did, and presented a
still processing the last one. The only paper at the next Computer Language
requirement was that the average time while the original programmer was su- Conference. That article and paper start-
required to service the interrupt had to perb, he wasn’t big on comments. As in, ed my long relationship with Computer
be less than the interrupt time there were none. So before I could write Language and its sister publication, Em-
We delivered this system on time the first line of C, I had to psychoana- bedded Systems Programming. Computer
and on budget, and it met its perform- lyze the Z80 code, commenting and Language also maintained a forum
ance specs. We also did several other jobs studying it until I knew it as well as I (CLMFOR) on CompuServe, and I
for this company, all successful. As a “re- know my own memories. spent many hours chatting about com-
ward” the customer, thinking to save To get that job done, I used every puters, and almost any other topic, with
some money, cut me out of the next programming trick I’d ever learned, and its denizens.
contract, and hired my ex-partner. My then invented some more. It was a hard In 1992, I was laid off from my day
only satisfaction out of the deal came job, but also exciting and instructive. I job. It was most probably the shortest of
from learning that, because he didn’t extended the concept of the dataflow dia- unemployment periods on record. That
understand the OS, his job went two gram, to include real-time interrupts, night, I got on CLMFOR and said,
years over schedule, was way over cost, synchronous, asynchronous, and back- “Guess what? I’ve been laid off. Anyone
and under performance. The company is ground tasks. want me to write an article or two?”
no longer in business. Payback is sweet, My design evolved into a set of nest- JD responded immediately, with “I
but I’d much more have preferred that ed, hierarchical state machines. It was can take an article every two months.”
both our companies had prospered. very slick, if I do say so myself. In any Tyler Sperry, then editor of Embedded
medical application (and most other Systems Programming, said, “I’ll take one
THE MEDICAL BUSINESS real-time applications), it’s important to a month.”
I have one more job to tell you about. A quickly respond to, and recover from, er- And that was that. I didn’t stay “un-
medical electronics firm wanted to re- rors. In my design, each state machine re- employed” forever. I worked at other
place their existing patient monitor, turned an enumerated state identifying, companies, and ran my own company
which used something like eight Z80’s, some of which were typically error con- for a time. But my writing for Embedded
with a new one using a single Intel ditions. Looking back, I see that the de- Systems Programming started then, and
80286. Our job was to port the code sign amounted to sort of a do-it-yourself has never stopped.
from Z80 assembler to C. Now, as you exception mechanism. It worked just And, as Paul Harvey used to say,
might guess, medical electronics is spe- fine, and the software turned out to be “Now you know the rest of the story.” ■
cial because if it fails, it has the poten- both robust and error-free.

30 MAY 2012 | embedded systems design | www.embedded.com


programming
By Dan Saks
pointers
Unexpected trends
I started writing for computer trade
publications almost 23 years ago,
publishing my first article in The
C Users Journal in the summer of
1989. Within a year, I became secre-
would happen actually did happen.
This seems like as good a time as any.

EARLY LANGUAGE USAGE DATA


Starting in 1993, the publisher of
tary of the ANSI C++ standards Embedded Systems Programming con-
committee and landed my first col- ducted annual reader surveys to as-
umn writing about the emerging sess the purchasing habits of embed-
standard for The C++ Report. Just a ded systems designers and their
few months later, I started writing a managers. Each year, the survey in-
column on programming style for a cluded at least one question on pro-
curiously named magazine called gramming language usage. The total
Tech Specialist, which soon morphed number of responses varied from
into The DOS Developers Journal and slightly less than 400 in one year to a
eventually into The Windows™/DOS little over 2,000 in another.
Developers Journal. Over the next From 1998 through 2004 the sur-
several years, I wrote columns for a vey asked two questions:
handful of other magazines, includ- Dan Saks crunches over
ing The C User Journal (later the The
C/C++ Users Journal), Software De-
12 years of data on • “Which of the following pro-
gramming languages have you
velopment, and an obscure little pub- programming-language used for embedded development
lication called The Journal of C Lan- in the last 12 months?”
guage Translation. None of these preferences from reader • “Which of the following pro-
publications is with us anymore. studies and finds some gramming languages are you
I wrote my first Programming planning to use for embedded de-
Pointers column in 1998, when this surprises about C/C++. signs in the next 12 months?”
publication was still Embedded Sys-
tems Programming. Now that Em- Table 1 displays the responses for
bedded System Design is going out of decade. However, object-oriented the first question; Table 2 displays the
print, this could well be my last col- programming was going mainstream responses to the second. (I couldn’t
umn for a print publication. and newer languages with native locate the data for 2003, so that year
However, I expect to continue writ- support for objects, notably C++ and is missing from both tables.) The ta-
ing for Embedded.com. Java, were encroaching on C’s turf. bles list only the most popular lan-
Back in 1998, the consensus was At that time, I thought C++ or Java guages. I left out languages, such as
that C had overtaken assembly lan- would eventually displace C as the Forth, Fortran, Modula 2, and Pascal,
guages as the most commonly-used language of choice for embedded that less than 3% of the surveyed pro-
language for programming embed- systems. I was hardly alone. grammers selected each year.
ded systems. By then, C had been So in my final column for Em- Table 1 shows that, on average,
around for a quarter century and had bedded Systems Design, I’d like to nearly 80% of the surveyed program-
been standardized for almost a look back and see if what we thought mers reported using C, nearly 60%
used assembly language, and roughly
45% used at least some C++. Java
Dan Saks is president of Saks & Associates, a C/C++ training and con-
sulting company. For more information about Dan Saks, visit his website was a distant fourth, with Basic just
at www.dansaks.com. Dan also welcomes your feedback: e-mail him at behind it. On average, less than 5%
dan@dansaks.com. of programmers reported using Ada.
Table 2 shows what programmers
reported they were planning to use.

www.embedded.com | embedded systems design | MAY 2012 31


programming pointers
“Which of the following programming languages have you used for em- What’s interesting is how the entries in
bedded development in the last 12 months?” Table 2 compare with those in Table 1.
Language 1998 1999 2000 2001 2002 2004 Average Table 3 displays the differences be-
C 81.4% 79.0% 79.8% 71.8% 79.7% 86.1% 79.6% tween the corresponding entries in Ta-
Assembly 70.1% 61.0% 59.6% 43.5% 58.3% 64.4% 59.5% bles 1 and 2. Positive values in Table 3
C++ 39.4% 46.6% 41.5% 52.2% 46.4% 49.5% 45.9% indicate expected increases in language
Java 7.0% 9.3% 8.0% 16.5% 10.0% 14.0% 10.8% use; negative values (in red) indicate
Basic 9.3% 8.5% 9.9% 9.8% 9.0% 9.7% 9.4% expected decreases.
Ada 4.9% 6.1% 5.3% 3.5% 3.4% 3.0% 4.4% For example, Table 3 shows that,
Table 1 on average, the number of program-
mers who expected to use C the next
“Which of the following programming languages are you planning to use year was 2.6% less than the number
for embedded designs in the next 12 months?” currently using C. Even more pro-
Language 1998 1999 2000 2001 2002 2004 Average grammers aspired to get the assembly
C 80.7% 76.8% 75.2% 68.8% 78.5% 82.3% 77.1% language monkey off their backs—the
Assembly 67.0% 57.3% 54.5% 39.2% 54.1% 56.5% 54.8% number of programmers who expected
C++ 53.6% 56.6% 49.5% 59.0% 56.4% 58.8% 55.7% to use assembly language the next year
Java 14.7% 24.1% 19.8% 26.1% 16.5% 20.3% 20.3% averaged 4.7% less than the current
Basic 8.2% 5.9% 7.4% 8.0% 7.6% 8.8% 7.7% year.
Ada 8.8% 5.1% 5.5% 4.1% 3.6% 3.1% 5.0% In contrast, many more program-
Table 2 mers who hadn’t been using C++ or
Java expected to start using those lan-
guages. On average, 9.7% more re-
The projected annual difference in language use. spondents expected to use C++ in the
Language 1998 1999 2000 2001 2002 2004 Average coming year than were using C++ in
C -0.7% -2.2% -4.6% -3.0% -1.2% -3.8% -2.6% the current year. The percentage for
Assembly -3.1% -3.7% -5.1% -4.3% -4.2% -7.9% -4.7% Java was only slightly less. At that rate,
C++ 14.2% 10.0% 8.0% 6.8% 10.0% 9.3% 9.7% you might expect C++ to overtake as-
Java 7.7% 14.8% 11.8% 9.6% 6.5% 6.3% 9.5% sembly language in just a few years and
Basic -1.1% -2.6% -2.5% -1.8% -1.4% -0.9% -1.7% bypass C several years later. You might
Ada 3.9% -1.0% 0.2% 0.6% 0.2% 0.1% 0.7% expect Java to follow a similar trajecto-
Table 3 ry, lagging a bit behind C++. However,
reality played out a little differently.
Figure 1 contains a plot of the val-
The four most used languages in embedded systems for the years 1998 to 2002 and 2004, ues in Table 1 for the four most com-
along with linear trendlines. monly-used languages: C, assembly
language, C++, and Java. For each lan-
100.0% guage, Figure 1 shows a solid line that
C
90.0% plots the reported language use (from
C++
80.0% Table 1) along with a dashed line de-
Assembly
picting the linear trend.
70.0% Java
Figure 1 shows that, from 1998 to
60.0% 2004, both C++ and Java usage indeed
Trendlines:
50.0% trended upward at about the same
C
rate, although nowhere close to the 9
40.0% C++
to 10% per year predicated by the sur-
Assembly
30.0% veys. It also shows that assembly lan-
Java
20.0% guage usage trended downward. How-
ever, I think the trendline for assembly
10.0% language is less meaningful because
0.0% half the data points are so far off the
1998 1999 2000 2001 2002 2003 2004 trend.
The real surprise in Figure 1 is that
Figure 1 it shows C usage actually trending up-

32 MAY 2012 | embedded systems design | www.embedded.com


ward, rather than downward as the sur- wording of the questions to: the latter surveys asked each program-
veys projected. It’s only slightly up- mer to name only the one language
ward, but upward nonetheless.
A few more years of data might tell
• “My current embedded project is
programmed mostly in which lan-
used most. Not surprisingly, the survey
data changed dramatically starting in
us if assembly language usage is really guage?” 2005. If you ask a different question,
diminishing and C language usage real-
ly is increasing.
• “My next embedded project will
likely be programmed mostly in
you usually get a different answer.
Table 4 displays the responses for
which language?” the first question for every year starting
MORE RECENT DATA in 2005. Table 5 displays the responses
Starting in 2005, the Embedded Systems Whereas the earlier surveys asked each to the second question. Table 6 displays
Design reader surveys changed the programmer to list all languages used, the differences between the correspon-

Responses to “My current embedded project is programmed mostly in which language?” 2005 to 2012.
Language 2005 2006 2007 2008 2009 2010 2011 2012 Average
C 51% 51% 63% 60.2% 62.0% 60.0% 62.4% 64.7% 59.3%
C++ 26% 30% 22% 25.0% 24.0% 20.0% 21.9% 19.6% 23.6%
Assembly 8% 8% 7% 4.5% 4.7% 6.0% 5.5% 4.8% 6.1%
Other 6% 5% 4% 4.1% 3.3% 3.0% 3.0% 3.3% 4.0%
Java 3% 3% 1% 2.1% 1.8% 3.0% 2.3% 2.3% 2.3%
UML, Matlab, or like 3% 3% 2% 1.1% 1.3% 2.0% 2.1% 1.3% 2.0%
.NET 3.0% 1.2% 1.7% 2.0%
LabView 2% 1% 1.3% 1.0% 2.0% 0.9% 1.1% 1.3%
Basic 2% 1% 1% 1.3% 1.5% 1.0% 0.6% 0.8% 1.2%
XML 1% 0% 0.4% 0.3% 1.0% 0.2% 0.2% 0.4%
Table 4

Responses to “My next embedded project will likely be programmed mostly in which language?” 2005 to 2012.
Language 2005 2006 2007 2008 2009 2010 2011 2012 Average
C 48% 47% 59% 56.7% 58.7% 55.8% 58.5% 59.7% 55.4%
C++ 31% 32% 24% 28.8% 26.6% 22.6% 25.0% 23.5% 26.7%
Assembly 5% 6% 5% 3.6% 4.1% 3.6% 3.4% 3.1% 4.2%
Other 6% 5% 5% 3.7% 3.8% 4.1% 3.1% 3.7% 4.3%
Java 5% 3% 2% 2.3% 2.3% 3.7% 3.1% 3.5% 3.1%
UML, Matlab, or like 3% 3% 3% 1.6% 1.8% 3.1% 2.6% 2.3% 2.6%
.NET 3.8% 1.5% 1.7% 2.3%
LabView 0% 2% 2% 1.4% 1.0% 1.8% 1.4% 1.5% 1.4%
Basic 2% 1% 1% 1.2% 1.2% 0.8% 0.9% 0.5% 1.1%
XML 1% 1% 0% 0.6% 0.4% 0.7% 0.6% 0.5% 0.6%
Table 5

Responses to “My next embedded project will likely be programmed mostly in which language?” 2005 to 2012.
Language 2005 2006 2007 2008 2009 2010 2011 2012 Average
C -3% -4% -4% -3.5% -3.3% -4.2% -3.9% -5.0% -3.9%
C++ 5% 2% 2% 3.8% 2.6% 2.6% 3.1% 3.9% 3.1%
Assembly -3% -2% -2% -0.9% -0.6% -2.4% -2.1% -1.7% -1.8%
Other 0% 0% 1% -0.4% 0.5% 1.1% 0.1% 0.4% 0.3%
Java 2% 0% 1% 0.2% 0.5% 0.7% 0.8% 1.2% 0.8%
UML, Matlab, or like 0% 0% 1% 0.5% 0.5% 1.1% 0.5% 1.0% 0.6%
.NET 0% 0% 0% 0.0% 0.0% 0.8% 0.3% 0.0% 0.1%
LabView 0% 0% 1% 0.1% 0.0% -0.2% 0.5% 0.4% 0.2%
Basic 0% 0% 0% -0.1% -0.3% -0.2% 0.3% -0.3% -0.1%
XML 0% 1% 0% 0.2% 0.1% -0.3% 0.4% 0.3% 0.2%
Table 6

www.embedded.com | embedded systems design | MAY 2012 33


programming pointers

highest average percentages in Table 1,


The four languages most often reported as the primary language for embedded projects for the years
along with their linear trends. The con-
2005 to 2012, along with linear trendlines.
trasts between the actual usage shown
70.0% in Figure 2 and the expectations de-
C picted in Table 6 are rather striking.
60.0% C++ Although year after year, the sur-
Assembly veyed developers expected C to be the
50.0% Java primary language on fewer projects,
C’s dominance actually grew. Over the
40.0% seven-year survey period, C as the pri-
Trendlines:
mary project language grew from
30.0% C
C++
slightly more than half to nearly two-
thirds of all projects. Most of that
20.0% Assembly
growth seems to have come at the ex-
Java
10.0% pense of C++. Although developers ex-
pected C++ to become the primary
0.0% language on more projects, it actually
diminished from nearly 30% of proj-
2005 2006 2007 2008 2009 2010 2011 2012
ects to only about 20%.
Figure 2 Java’s trendline in Figure 2 is essen-
tially flat. Only assembly language
trended downward as expected.
ding entries in Tables 4 and 6. As in
Table 3, positive values in Table 6 indi-
cate expected increases in language
use; negative values (in red) indicate ! Over the seven-year survey
period, C as the primary
LET THE SPECULATING BEGIN
I think these results are very interest-
ing. The recent trends for assembly

!
expected decreases. language and Java are much as I ex-
Most of the percentages in Tables
project language grew pected, but I’m rather surprised at the
4 and 5 are rounded to the nearest from slightly more than half apparent trends for C and C++.
tenth of a percent. However, the values Those of you who read my column
for 2005 through 2007 are rounded
only to the nearest percent.
The columns in Tables 1 and 2 add ! to nearly two-thirds of all
projects. Most of that
regularly know that I think C++ is a
decidedly superior programming lan-
guage compared with C. My columns
up to well over 100% because each
programmer could select more than
one language, and apparently many
did. In contrast, the columns in Tables
4 and 5 add up pretty close to 100%
! growth seems to have come
at the expense of C++.
have addressed, and will continue to
address, the needs of both C and C++
programmers, but I make no bones
about my preference for C++. It’s
rather puzzling to see the industry
because each programmer could select that, while many developers use some moving the other way.
only one language. (Some columns assembly language, only a few unfortu- Why might this be happening? I
don’t add up to 100% because of nate ones have to use it a lot. don’t know. Maybe I’ll have more to
rounding errors.) Table 6 shows that, as a group, pro- say about this in a future online col-
Table 4 shows that, on average, grammers expected that C, assembly umn, but for now, I’ll leave it to you to
slightly more than half of the surveyed language, and Basic would to be pri- speculate. I’ll just go back to my busi-
programmers worked on projects writ- mary language on fewer projects as the ness of helping programmers write
ten mostly in C, whereas slightly less years went by. They expected C++, better embedded systems. See you on
than a quarter of them worked on Java, and other languages would be- the web. ■
projects written mostly in C++. come the primary language on more
Table 1 showed that roughly 60% projects. However, more so than in the ACKNOWLEDGEMENT:
of developers used assembly language, earlier years of the survey, reality didn’t Special thanks to my brother, Joel Saks,
but Table 4 shows that assembly lan- go along with these expectations. who has helped me improve almost
guage is the primary language on only Figure 2 contains a plot of the val- every column I’ve written for Embedded
around 6% of projects. This suggests ues for the four languages with the Systems Programming/Design.

34 MAY 2012 | embedded systems design | www.embedded.com


feature
firmware curriculum
from page 15 I believe that a firmware certifica- have seen how being connected socially
tion program would provide courses has improved the human condition.
engineering and end with computer and curricula that would allow an elec- The next logical step is the device.
science. trical engineer to develop the software With that said, the skills taught to a
skills necessary to be an effective computer scientist are not sufficient due
FIRMWARE GROWTH firmware engineer while leveraging the to the obvious lack of electrical engi-
As mentioned previously, the demand his or her electrical engineering back- neering competency and the fact that
for firmware engineers is growing. Of ground. A master’s level program of computer science is taught from a com-
those polled, the majority saw either study in firmware might be an alterna- pletely different vantage point than
steady demand or growth. About one tive to a certification program. Robert what is required for firmware develop-
in ten found reported demand was Bowser, senior director with Steris Sys- ment. Schwartz notes, “Computer sci-
dropping. tems, notes,“Certifications always ele- ence doesn’t even begin to explain to
In my dealings with those who have vate the work force and the profession. you how computers work . . . In a
a business-level exposure to the de- Certifications help companies under- firmware world I would absolutely start
mand, there is very clear growth in the stand the level of understanding (in a with how computers work and assembly
demand and businesses are struggling somewhat measured way). In a job language. . . . I can see a full curricu-
to find appropriate talent to match. I lum.” He went on to say, “I think there

!
would argue this demand is not tempo- is a need for a major. I think there are a
rary and must be addressed with both A certification program number of skills a firmware engineer
long-term and short-term solutions generated some very needs that are not being taught either in
that elevate and educate engineers in electrical engineering or in computer
firmware design and development.

EDUCATIONAL OPTIONS
So far we have developed an argument
! stern and negative knee-
jerk reactions in my
discussion threads.
science.”

BACK TO THE CURRICULUM


Dr. Schwartz went on to note that “Ag-
for what firmware is, who firmware en- ile design methodologies welcome
gineers are, and why there is a need to change instead of avoiding it. In
develop educational options that will search situation, a hiring manager can firmware, it is the complete opposite.
educate and elevate engineers and stu- focus more on other fit parameters if You need to have very high reliability in
dents of engineering. they are not spending a lot of time what I think of as firmware because you
But what are our options? How can evaluating technical competence, mak- can’t afford to go and update it
we address the short-term demand cri- ing a better hire and a more effective all . . . Take a ISO 9000 rather than an
sis and long-term need for talent? Inter- industry.” Agile approach. You would want to be
estingly, the debate in the discussion The creation of a bachelor’s program able to look at certain sets of require-
boards on LinkedIn presented a differ- did not receive strongly negative or posi- ments for a system and easily estimate
ent story than my polling results. tive responses. With that said, the primary whether it’s possible with the resources
I found that a certification program argument against a bachelors degree pro- you are given. People try to do ‘the im-
generated some very stern and negative gram was that it might encourage fur- possible’ and fail.”
knee-jerk reactions in my discussion ther fragmentation of disciplines. Now that we have addressed the
threads. Many have found that certifi- I’m firmly convinced that a degree prerequisites, let’s start building a cur-
cation programs have been designed to in firmware engineering is a necessity. riculum. Comment on this article on
create profit for those who create them The next logical step in our technologi- Embedded.com to put in your two
rather than educate and elevate the tal- cal evolution will include massive con- cents for a firmware curriculum. ■
ent pool. nectivity of devices for the purpose of
But when I put this to a poll, I re- data analysis on a scale unimaginable Bob Scaccia is a principal firmware con-
sultant with over 25 years experience in
ceived a very different profile. By a from our present vantage point. embedded systems development. He is
great majority, the idea of certification I see a multitude of devices that the founder and leader of Firmware En-
developed by the right people and for perform some purposeful action having gineers of Northeast Ohio group and is
the right reasons received resounding firmware as part of their basic composi- also the chair of the IEEE Computer Soci-
ety for the Cleveland IEEE Section. He
approval. A certification program suc- tion. All these devices can and will be has a BS degree in electrical engineer-
cessfully implemented would go a long connected in a massive wired and wire- ing and is working toward an MBA. For
way towards meeting the short-term less infrastructure for the purpose of more information about Bob, go to
demand for talent. improving the human condition. We www.usafirmware.com or contact him at
bob.scaccia@usafirmware.com.

www.embedded.com | embedded systems design | MAY 2012 35


break points By Jack G. Ganssle

Farewell, ESD
I f you’ve made it to this column, at
the very end of the magazine, by
now you know that this is the last
installment of Embedded Systems
Design.
graphics? A click and they’re gone.
Print ads, on the other hand, are large
enough to contain real content. We
engineers peruse them and absorb in-
formation that’s useful to us and
ESD, like so many other publica- worthwhile to the vendor.
tions, is a victim of the Internet. In its The only magazines that thrive are
glory days it ran well over a hundred those with paid subscriptions, which
pages, but in recent years has been is a pretty small set when it comes to
hollowed out to the slender magazine embedded systems. Circuit Cellar Ink
you hold in your hands. In the pub- and IEEE Embedded Systems Letters
lishing business it’s all about ad rev- are the only ones I can think of that
enue, but that has deserted print in are published in the U.S.
favor of those online eyeballs.
Print is pretty much dead, at least A GOOD CONCEPT
in terms of free trade magazines. ESD started as Embedded Systems
Those I get are all just ghosts, hints Programming. In 1988, Ted Bahr, one
really, of their former glory. So many of the founders, visited my company
that have been so important to work- in Maryland soliciting an ad for the
ing engineers now play second fiddle first issue. He left us with a stack of
to their online versions. Does anyone
remember Electronics or Computer,
both done in even before the web?
! Jack Ganssle, the MVP of
ESD and Embedded.com,
demographics about the potential cir-
culation. It seemed a gutsy idea, al-
most goofy. After all, the word “em-
The failure of print is not good
for the embedded systems industry.
Hard-copy publications are very ex- ! reflects on how a good
concept 24 years ago
bedded” was pretty new, at least in the
context of computer systems. Al-
though the microprocessor was al-

!
pensive to produce and mail, which is touched his life and those most two decades old, most of us re-
both their strength and their Achilles’ ferred to this business as “the micro
heel. The high costs means a decent of other developers. industry” or used other more cum-
editorial staff is needed to cull weak bersome terms. But Ted’s pitch was
or vendor-serving articles. So quality persuasive, and we took a small ad in
is high. But the costs undermine prof- tent, so quality actually has little ben- the first issue. A PDF of this inaugural
itability. The relationship between a efit to the bottom line. Blogs and ESP is here www.ganssle.com/misc/
reader and a hard-copy magazine is blather replace detailed analysis and firstesp.pdf.
very different from that of the same the exposition of complex concepts. The ad worked pretty well, and we
reader and Internet sources. With the The supreme irony of online pub- eventually took full page displays at
former, one relies on the magic of lishing is that we’ve become very effi- something like $7,000 an issue, which
serendipity; new or different ideas ex- cient at ignoring the ads that pay the was quite a bit for a small outfit. Pre-
plode off the page as one flips freight. Who looks at those flashing web all of the magazines had “bingo
through the magazine. Readers of on-
line content largely get narrowly-tar-
geted responses to specific queries. Jack G. Ganssle is a lecturer and consultant on embedded
development issues. He conducts seminars on embedded systems
Web alternatives are sometimes and helps companies with their embedded challenges.
great, but too many are designed as Contact him at jack@ganssle.com.
Google magnets. Content is needed to
draw searches to the site; lots of con-

36 MAY 2012 | embedded systems design | www.embedded.com


cards,” postcards with an array of the ESP brand by then was sev-
numbers, one per ad. Interested enteen years old and well-estab-
readers circled the numbers asso- lished. But it was the right deci-
ciated with products they wanted sion; in fact, one could argue
more information about, and that the original name was a
mailed the card to the magazine. mistake. The embedded indus-
(Via snail mail—remember that try is truly unique in that it’s
quaint concept?) This was in the synergy of both hardware
turn passed on to the advertisers. and software. Probably the
You’d be surprised how few leads coolest part about this business
were generated: Our full-page is that we’re always balancing
ads pulled in 15 to 25 per month. the mix of the two. That’s rep-
But ESP appealed to a very spe- resented so well in the FPGA
cific audience, and the lead quali- world where the tools let us
ty was very high. seamlessly convert software
We would ply the salespeople into hardware or vice versa. The
with dreams of more ads to find new name reflected this essen-
out how many leads the competi- tial reality, and the content did
tors’ ads generated. They’d hem change somewhat to reflect
and haw, protesting that they hardware tradeoffs. Unlike an
weren’t allowed to share this informa- EDN, though, I can’t recall a single

!
tion, but eventually would let it leak. Probably the coolest hardware-only article in the succeed-
I’m sure all of the advertisers did the ing years. The editors did a great job of
same. part about this business picking pieces that, when discussing
Just about everyone in the embed- hardware, also worked through the
ded tools business advertised in ESP.
One editor told me that each page of
advertising supported one of editorial
content, so lots of ads meant plenty of
! is that we’re always
balancing the mix of the
hardware and software.
firmware implications.
ESD is owned by UBM, a British
media conglomerate. As of 2010 the
company produced 123 print maga-
articles, most of which were really zines, but a summary of 2011 results
quite good. ESP thrived. shows that online revenue has doubled
Although the web dates to the ear- As a result ESP’s advertising dried in the last five years while print’s con-
ly 1990s, by the turn of the millennia up. Many of the companies vacuumed tribution is a third of what it was
even business types took notice of it. up in the acquisition frenzy had taken (http://investors.ubm.com/download/
Startups abounded and venture capi- good-sized ads in the magazine. Those 2011+Final+Results+Presentation+-
talists would fund any crazy notion were replaced by a single, generic, Wind +%2828+Feb%29+%28FINAL%29.pdf.
that had an Internet component. River ad. Page counts took a hit. Then The trend is clear. I doubt that any free
Price/earnings ratios soared (in the the dot-com insanity was replaced by trade magazine will survive the Web’s
cases where there were any earnings, the inevitable bust, and tech in general inexorable force.
that is) and the stock market became lost a couple of years of good times.
irrationally exuberant. At the peak in That didn’t help the magazine, either. LOOKING BACK
October 1999, the Dow wasn’t much Finally, of course, the web became I contributed two articles “over the
lower than it is today. High valuations the dominant source of information. transom” (that is, unsolicited) in 1989,
meant publicly-traded companies’ ESP was quick to exploit it and early and the following year the very colorful
stock was very valuable, and waves of on got the coveted “embedded.com” Tyler Sperry asked me for a monthly
acquisitions followed. In the embed- domain, which is going strong today. column. He named it Breakpoints,
ded world, Wind River, then the 800 (Please don’t ask me why it redirects to which has now run about 260 times.
pound gorilla of the industry, bought “eetimes.com.” I get lots of email The first Breakpoints showed how to
lots of tool vendors. One friend about this and have no idea why.) use extended memory on Hitachi’s
worked for five companies in a six In 2005, the magazine was re- long-obsolete 64180 and 647180X
week period without changing jobs, named Embedded Systems Design, processors.
all of them absorbed into the Wind which was another gutsy move. It’s al- Some of those columns stand out
empire. ways risky to rebrand a product, and for being completely irrelevant today.

www.embedded.com | embedded systems design | MAY 2012 37


break points
The same year I penned one that Misrouting was extremely common, others have contributed articles and
showed how C code was substantially and one could count on them crashing commentary?
bigger than assembly, and cautioned many times a day. The FPGAs weren’t The readers sure had commentary.
that, while C made sense for a lot of much better: Some had known flaws A lot. I’ve exchanged over 100,000
applications, one had to be wary about that would occasionally keep them emails with ESD/ESP subscribers over
using it. In 1990 the language had so from booting from their dedicated the decades, and the online articles elicit
many dialects that compatibility be- ROM properly. Some designers added plenty of thoughtful replies. Unlike
tween compilers was a huge problem. a small microcontroller just to watch pretty much every other Internet venue
Younger readers may be astonished the boot sequence, and toggle the reset those comments are always polite and
that so many developers wrote their line if the part didn’t properly come to thoughtful. And often really, really
programs entirely in assembly lan- life. smart.
guage. Other than for applications us- I wrote about the future of in-cir- As the magazine winds down I’d
ing the very smallest microcontrollers, cuit emulators in 1997 and predicted like to express my special thanks to Su-
I wonder if anyone uses assembly ex- that their market would narrow but san Rambo, my editor for seven years
clusively any more. they’d continue to be important. A and now the magazine’s managing edi-
In 1991, I tor. All of the
wrote about the previous edi-
increasing use tors stuck
of prefetchers around for a

!
on some CPUs,
The future is a bit year, maybe
like Intel’s 186 murky, at least to me, two, but Susan
(an embedded has been a con-

!
version of the but the staff is busily stant presence,
8086). Memory and she has
had gotten
getting all of the old markedly im-

!
faster than issues online and are proved my
processors, so clumsy sen-
vendors added working on a revamped tences.
hardware that And I’d
would fetch a
Embedded.com. like to thank
couple of extra you, the read-
bytes ahead if ers. When I’ve
the CPU was gotten things
busy executing an instruction, in the month later an outfit made an offer wrong, you’ve been quick to correct me.
expectation that those queued bytes for my emulator company and we took And I have learned so much in my dia-
would be needed next. Well, since then it. They bought a couple of competi- log with so many of you. I consider
the opposite has happened. Processors tors at about the same time, and just a some frequent correspondents friends
are oodles faster than memory today, few years later the emulator business though we’ve never met.
so caches serve the opposite role. In a imploded. The future is a bit murky, at least to
2008 Breakpoints, I showed how this me, but the staff is busily getting all of
memory/CPU mismatch now means LOOKING AHEAD the old issues online and are working on
that a lot of the multicore hype is mar- There were so many people associated a revamped Embedded.com. Meanwhile
keting mumbo-jumbo that doesn’t with Embedded Systems Programming/ I plan to continue writing, at the very
stand up to an engineering analysis. Design. The names rush in as I write, least in my e-newsletter, The Embedded
Or how about the column on writ- people I came to know well. Some Muse (subscription info is at
ing relocatable code? Before architec- were authors; others editors, market- www.ganssle.com), and hopefully on-
tures that supported position-inde- ing folk, and business development line at Embedded.com as well. If you
pendent code came along one had to types. Some went on to greater suc- haven’t explored that site, check it out. I
do horrible things to write apps that cesses, but there were sad stories, too. I can’t wait to see what’s in store for it,
had to run in varying locations in never met anyone associated with the but have no doubt the redesign will re-
memory. magazine I didn’t like. sult in an even better source of critical
Then there was the 1994 piece Regular columnists Dan Saks and information for design engineers.
about the difficulty of using FPGAs. Jack Crenshaw have had a fiercely-loy- Embedded Systems Design is dead.
Gads, the tools were so awful then! al following. Who knows how many Long live Embedded.com. ■

38 MAY 2012 | embedded systems design | www.embedded.com


The most advanced search engine for
Electronic Engineers & Buyers. For free.

Compare Get Pricing &


Electronic Parts Inventory

NEW

Discover New Parametrically


Electronic Parts Search Parts

Stop by Booth #748 for


demos, giveaways & contests
COMING TO A CITY NEAR YOU!

From April through September 2012, Avnet


and Xilinx will co-host X-fest technical
training events throughout Asia, Europe
and North America. Register for a FREE
REGISTER FOR A FREE
ALLALL
ACCESS PASS
ACCESS PASS
X-fest’s in-depth curriculum offers a full-day of practical, how-to training
for FPGA, DSP & embedded systems designers. The fully-customizable budurl.com/2012Xfest
training experience allows attendees to pick up to four courses from any
of the three unique training tracks. budurl.com/2012Xfest
FPGA Fundamentals Track
The FPGA Fundamentals track focuses on common design issues facing
PARTNER DEMONSTRATIONS
both new and advanced FPGA designers. AND EXHIBITS
Applications Track Xilinx Aldec
The Applications track delves deeper into design methodologies and Avnet ARM®
techniques required when designing with the Zynq™-7000 Extensible Analog Devices MathWorks
Processing Platform (EPP) and 7 series FPGAs. Maxim Spansion
Zynq-7000 EPP Track Micron FCI
TE Connectivity Samtec
The Zynq-7000 EPP track provides four courses dedicated to the ARM®
dual core Cortex™-A9 MPCore™ based device. Texas Instruments PLDA
Cypress Semiconductor Ericsson

DON’T MISS ANY X-FEST UPDATES.


JOIN THE CONVERSATION TODAY!

@avnetxfest
facebook.com/xfest2012
Learn more at budurl.com/2012Xfest Join the Avnet X-fest group!

You might also like