You are on page 1of 21

Industrial Software Technology

We embed Java for you !

Java embarqu
Prsentation faite en Java sur un microcontrleur AVR32 d'Atmel

Ecole des Mines de Nantes


31 Janvier 2008 fred rivard!ist"eu co#

www ist"eu co#


Jan. 2008 IST Proprietary Copyright 2005 2008 1

IST $verview

Milestones

Mana ement

2002-2004: Company inc !ation 2004: IST i" !orn 2004-200#: Techno$ogy %e&e$opment 'more than (0m.y) 200#-200*: +icroJ&m on ,$ac-.in/ 012/ 012(2/ 02+*/ ...

4re% 2i&ar%/ Ph5 CEO & CTO 26gi" 7ata8iec Sales Director 4ran9oi" :o Financial Director

!eams

Shareholders

4rance: ;ea%< arter" = 2>5 center ?@ > Aermany: Sa$e" o..ice" > Training center Tota$ hea%co nt: 25 peop$e 'increa"ing)

0C3 +anagement 'Pari") Pri&ate in&e"tor"

JEI and R&D lab CIR


Jan. 2008 IST Proprietary Copyright 2005 2008 2

%es #arch&s de l'e#(ar)u&


Medical Securit" !elecoms #andsets Multimedia #ome a$$liances

%uildin automation &ndustrial control Automotive !rans$ortation 'efense Avionics

Marchs adresss par IST

Jan. 2008

IST Proprietary Copyright 2005 2008

%es #icrocontr*leurs + #cu


March des M() en croissance *+,bit - 32,bit M()s sont les locomotives
Microcontroller Shipments
16,000 14,000 12,000 10,000

.es s"st/mes industriels et tem$s rels sont tr/s difficiles 0chers1 2 construire3valider
Construction / Test Effort versus System Size & Type

(C B1

A C0

2
2ea$-Time Sy"tem"

Millions of units

8,000 6,000 4,000 2,000 0 2006 2007e 2008e 2009e 2010e


IT Sy"tem" 3ngineering Sy"tem" 2ea$ Time Sy"tem"

'e..ort)

'comp$eDity)

4 bits

8 bits

16 bits

32 bits

Source: Semico Research Corp.

Source: QSM

Jan. 2008

IST Proprietary Copyright 2005 2008

,rocessus standard de fa(rication

(3asm

!echnolo ies lo icielles des annes 456 $rinci$alement ( - asm Aucune alternative $our la ma7orit des $roduits 04891 Matriels et lo iciels sont fortement lis

Jan. 2008

IST Proprietary Copyright 2005 2008

%es contraintes de l'e#(ar)u&

Place : la ressource mmoire


20+ : #4 @o '(0.000 .oi" moin" <

E n PC F)

4$a"h = 33P2G+ = ... : 25# @o 3cran" ,>H '128D128 I 2@o) &er" " Co $e r 1A0 '#40D480 I 1200@o)

Vitesse : la ressource c$u


8+;J 180+;J = 3D6c tion K " r p$ace L 7e" ! " m6moire

(onsommation : la ressource lectrique

0pparei$" " r !atterie"

(o;t unitaire

Time-to-+ar-et 'marge") 3..et &o$ me


IST Proprietary Copyright 2005 2008 #

Jan. 2008

%es contraintes de l'e#(ar)u&

%riques matrielles

5e" centaine" %e mi$$ier" %e r6.6rence" %i..6rente" 5e" p6riph6ri< e" interne" 'mc )/ m $tip$eD6"/ eDterne" '" r carte")/ ...

%riques lo icielles

GS=2TGS '%e" centaine") G ti$" %e %6&e$oppement" I53/ compi$ate r" C '$in-e r" pa" compati!$e")/ choiD %e" option" %e compi$ation" '%e" %iJaine")/ $i!rairie" Mma$N 6crite"/ ... 5ri&er" Mgrat it"N / ,SP/ .rame8or- mi%%$e8are/ etc ... Pe %e " pport "6manti< e %an" $e $angage C 'par.oi" & comme n macroa""em!$e r) par %Ea tre" M" per o ti$"N o $angage" 'a tomate").

Maintenance et volution

5 r6e %e &ie %e" "y"tOme" 'en appo"ition a&ec $e mat6rie$) +o%i.ication et 6&o$ tion %e "y"tOme" comp$eDe" 6crit" M"an" ai%eN
IST Proprietary Copyright 2005 2008 *

Jan. 2008

E-.losion de la valeur a/out&e 01logiciels12

3ric P&.A)'/ +em!re %

%irectoire %e Schnei%er 3$ectric

K Assises du Logiciel Embarqu, Paris, mai 2007 L


Schnei%er 3$ectric e"t %e p$ " en p$ " cha$$eng6 " r "on coe r %e m6tier. I$ .a t 18 moi" Q n conc rrent po r commercia$i"er n pro% it 6< i&a$ent. Schneider <lectric cherche donc 2 mettre de $lus en $lus de lo iciels dans ses $roduits car c'est une arme $our de l'innovation intermdiaire= Capacit6 Q aRo ter " r "ite %e no &e$$e" .onctionna$it6" %an" no" 6< ipement"/ po r pr6"er&er notre a&ance par rapport Q $a conc rrence.

S;ret de fonctionnement

1ie h maine en Re D 're"pon"a!i$it6) Aro" &o$ me" %Eapparei$" 'ri"< e" .inancier")

(ertification - lo istique

5G1*8,/ SI7/ C++i/ Pre &e" .orme$$e"/ ...

(om$osants lo iciels

GSAi/ 4racta$/ ...

Jan. 2008

IST Proprietary Copyright 2005 2008

,roductivit& co#.ar&e entre Java et 3

Language Ja#a C$$ C

Software comple !t" Low 14 29 9 High 97 178 704

Rat!o to Ja#a 1 1.9 6.4

Cost Reduct!on C++ Java C Java 46% 84%

Source: QSM Function Point Programming Table

Productivit ( 3 Java : >+ 2 >*2 dans le monde de l'embarqu Pro rammeurs Java dans le monde ? 3=8 millions
10 8 # 4 2 0 1SS(
C=CBB Ja&a

Programming 7ang age Tren%" 'I333 "o.t8are 2005)

Plus de @=555=555=555 JVMs

1SS8

200(

2008
S

Jan. 2008

IST Proprietary Copyright 2005 2008

3once.t des #achines virtuelles Java

Tro!s n!#eau d%abstract!on & une plate forme d%e cut!on

+at6rie$ Machine Virtuelle Application logicielle

'ne mach!ne #!rtuelle Ja#a( c%est &


n proce!!eur "2#$it %&200 in!truction!' n ge!tionnaire auto(ati)ue *e (+(oire n !,!t-(e *.e/ploitation

Stable depuis 10 ans

MAme a$$lication

J&m

J&m

J&m

JVM mcuBboard

Jan. 2008

IST Proprietary Copyright 2005 2008

10

Java e#(ar)u& + un large &co"syst4#e

J2M< (.'(

Rcp.org JS2"

1(S=2*1=82=228=2(S=*5=22#=22S= 180=205=...

J2M< M&'P

Jan. 2008

IST Proprietary Copyright 2005 2008

11

Etat de l'art 01techni)ue12 sur Java e#(ar)u&

De )*+o , plus!eurs Moctects

0a place (+(oire n.e!t plu! un 1acteur li(itant. Java e!t *i!poni$le !ur 8#$it2 16#$it2 "2#$it! et 64#$it! (ulti#coeur!. 3aille! *e! $inaire! Java plu! petite! )u.en C
%ratio 24% avec co*e 3hu($ *e A5M7'

Ja#a est auss! rap!de -ue du C b!en cr!t


6+(anti)ue $eaucoup plu! riche 'ta!$ea 3echni)ue *.acc+l+ration (ultiple!

D !orn6"/ rece&e r Q n $$/ initia$i"ation %e" o!Ret" = ta!$ea D/ &aria!$e" g$o!a$e" initia$i"6e 'c$a""e" init)/ po$ymorphi"me/ etc ... %J732 A832 t,pe Ja9elle2 7ce3ea2 :;<A2 :=7>J=72 ...'

Certa!nes J.Ms /ouent le r0le de l%1S2RT1S

0e! te(p! *e *+(arrage !e chi11rent en 40(! ? 67Mh9...

'ne appl!cat!on Ja#a peut 3tre 4RT


;lu!ieur! !oci+t+! vi!ent ? ter(e la certi1ication avioni)ue @8178A#levelA <roupe *e travail au niveau (on*ial

Jan. 2008

IST Proprietary Copyright 2005 2008

12

Etat de l'art 01techni)ue12 sur Java e#(ar)u&

5daptat!on des J.Ms au matr!el sous /acents


:aire appel au va!te +co#!,!t-(e B (ultiple! acteur! %gro!2 (o,en!2 petit!' Aoot0oa*er int+gr+2 DMA, MPU, HSB, SPI/USB, DAC, ... 3aille! *e! o$Cet! %hea*er2 (onitor2 length2 ha!hco*e2 ...'

L!n+age sur des+top

7ncoh+rence *u t+l+#charge(ent *,na(i)ue avec $u!ine!! (o*el.

3ran!1or(ation! et opti(i!ation! *u co*e $inaire

T"pe d%ob/ets

7((ortel!2 en 1la!h2 etc ...

Conne !on a#ec le C


:=7 > J=7 C %*river!2 $a! niveau/'2 Java %niveau applicati12 haut niveau'

Jan. 2008

IST Proprietary Copyright 2005 2008

1(

MicroJv# 5ench#ar6s + s.eed


32"(it M37 E-a#.le 89:M;<

Relative $erformance on real a$$lications com$ared to ( 0S!RC


ARMC series1

Con"i%er C a" the maDim m "pee% on a gi&en p$at.orm 'Penti m = 02+*)


Per !mance

6un J26D E MicroJv(


Java !pee* ver!u! C
100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0%

+icroJ&m B IceTea

S n J2S3 B JITT compi$ation i" *5C "$o8er than C +icroJ&m B IceTea i" R "t 20C "$o8er than C

Java C (gcc)

Pentium

ARM7

!ime critical code o$timiDation


S n J2S3 + JIT

?"e acce$eration techni< e" to "pee% p i%enti.ie% co%e "ection" 2each C "pee% 8hi$e -eeping Ja&a !ene.it"
T JIT =Just In Time compilation, i.e. acceleration

Jan. 2008

IST Proprietary Copyright 2005 2008

14

MicroJv# 5ench#ar6s + =oot.rint


32"(it M37 E-a#.le 89>:32<

VM B .ibraries 0Atmel AVR32 APC series1


.M & 6at!#es S!7e
MicroJv( + C0@C @river! %0C@2 ...' M7@; 2.0 3C;>7;
8ma 9

Ja#a L!brar!es S!7e


C0@C M7@; 2.0

8ma 9

64FA 10FA 64FA 2"FA

47FA 107FA

MicroJvm

U 1#0@, .or a . $$ .eat re% +I5P 1+


graphic V-1A0 7C5 TCP=IP o&er 3thernet

M&'P Era$hics - &nternet access

U (20@, to r n a comp$eD ce$$phone game that 8o $% re< ire% the 8ho$e C75CB+I5P $i!rarie" 0&erage U250@, i" eno gh
IST Proprietary Copyright 2005 2008 15

Jan. 2008

I#.rove ,roduct Margins

Fee$ hi h sellin $rices

0%% nice .eat re" to pro% ct" "ing IST rea%y-to- "e Ja&a "o$ tion" ?"e pro% cti&e %e"ign proce""e" an% !e .ir"t on the mar-et
"i#$-En E!ample

Same "o$ tion in"pire% .rom ce$$phone techno$ogie"

(ut %ill Gf Material cost

0cce"" to Ja&a !ene.it" ! t %o not increa"e the !i$$ o. materia$


Minimum S"stem Requirement 032,bit M()1 =H<! Micro IrameJorK JVM
25#@, 20+ = 512@, 4$a"h (2@, 20+ = 128@, 4$a"h

Low-En E!ample

(P) Price L M4=25

(P) Price: L M3=85

2!bi" #P$ Price differe%ce is close "o &'


Jan. 2008 IST Proprietary Copyright 2005 2008 1#

S.eed"u. :evenues

&ncrease $roductivit"

Spee%- p %e&e$opment Shorten prototyping/ < a$i.ication an% maintenance proce""e"

Java is 3x to 9x more productive compare to traditional design means Java is 6x faster to find bugs in programs

5e"ign more pro% ct" 8ith $e"" engineer" Pre.er pro% cti&ity rather ine..icient 'o.."hore) contracting
10 8

S$o8 pro% ct intro% ction

4a"t pro% ct intro% ction


10 8 # 4 2
0 , C 5 Tota$

# 4 2 0 W WB1 WB2 WB(

Pro% Pro% Pro% Pro% Tota$

ct ct ct ct

0 , C 5

Productivit" im$act

Spee%- p re&en e" Impro&e 2GI

0 W WB1 WB2 WB(

Shorten $roduct introduction

Jan. 2008

IST Proprietary Copyright 2005 2008

1*

3ost :eductions

S$lit hardJare and softJare $rocesses


2emo&e "o.t8are team" .rom proRect critica$ path 5e"ign one "o.t8are program ?"e "e&era$ har%8are p$at.orm"

(ost reduction im$acts


2e% ce %e&e$opment time Capita$iJe on "o.t8are in&e"tment an% impro&e" 2GI 2e% ce impact on "o.t8are % e to har%8are change" '.or co"t re% ction/ etc.)

Jan. 2008

IST Proprietary Copyright 2005 2008

18

:is6 Manage#ent

Ho risK to mi rate to Java


Wo har%8are change" re< ire% to "e em!e%%e% Ja&a 2e "e yo r $egacy co%e 8hen re< ire%
%&' Ja(a )&' Ja(a *&&' Ja(a

3Di"ting pro% ct We8 pro% ct

*&&' Ja(a

Java trends

Ja&a !ecome the pre.erre% $ang age ,e"t engineer"E choice

Jan. 2008

IST Proprietary Copyright 2005 2008

1S

:is6 Manage#ent

Multi,sourcin

+o"t %e&ice" ha&e e$ectronic part" m $ti-"o rce% +o"t the time microproce""or" are not m $ti-"o rce% Ja&a program" are !inary porta!$e acro"" operating "y"tem" an% microproce""or" Ja&a program" are in%epen%ent .rom microproce""or"

Semiconductor su$$lier mana ement


0&oi% proc rement "hortage +aintain pre"" re on " pp$ier"

Jan. 2008

IST Proprietary Copyright 2005 2008

20

Industrial Software Technology


We embed Java for you !

Java embarqu
Prsentation faite en Java sur un microcontrleur AVR32 d'Atmel

Ecole des Mines de Nantes


31 Janvier 2008 fred rivard!ist"eu co#

www ist"eu co#


Jan. 2008 IST Proprietary Copyright 2005 2008 21

You might also like