From Silicon     to          Software     Aanjhan Ranganathan & Sudarshan S
So whats the agenda . . .
For the perspective . . .●   Cray 1 Specs    ●   64 Mb memory    ●   ~1 million gates    ●   80 Mhz clock, 115kW    ●   70...
Some modern art
Chips are pieces of artwork too Intel Pentium 4, 2000                         Intel dual core , 2007
VLSI Design flow
Chip to System on Chip (SoC)
Embedded Systems
Embedded Development Boards
Importance of Embedded Software●   Therac 25       –   Overdose of radiations for therapy of cancer patients●   Ariane 5 f...
A typical embedded system            build . . .                         Mapping soft, games?,                           D...
Terminologies●   Cross compilation       –   Build , Target, Host       –   Reasons for this?●   Bootloader●   Target arch...
RTEMS●   Real Time Executive for Multiprocessor    Systems●   Since late 1980s (under contract with US Army    Missile Com...
RTEMS in Use●   Space and Aviation       –   ESAs Herschel and Planck, LISA Pathfinder,           NASA ST5 satellite●   Sc...
RTEMS features➔   RTEMS is a full featured Real-Time Operating System➔   Commercial grade➔   All source code for OS, suppo...
Motivation for RTEMS developers                         Open          Incremental   Standards                             ...
RTEMS - Architecture
Demo based on a GsoC project●   MMU – Memory Management Unit●   PowerPC simulator PSIM●   Memory region protection (SUPERV...
Cross DebuggingGUI Front end (DDD)  Cross debugger                        Target system(powerpc-rtems-gdb)Other debugging ...
In the end, it all boils down to User   space applications (or in other    words the icing on the cake)
Different Hardwares with different               capabilities●   Make phone calls●   Send Text messages●   Receive emails●...
nuff said
We solve problems with                abstractions●   Symbian●   Android●   J2ME●   Blackberry●   Iphone SDK
Freesmartphone.org Framework
What is FSO?●   freesmartphone.org is a collaboration platform    for open source and open discussion software    projects...
Inter Process Communication●   Files●   Anonymous pipes●   CORBA (really really painful)●   Java RMI (Language specific)● ...
..all of which has a potential to make              you suicidal
DBus●   IPC done right●   Method: Which can be invoked●   Signals: Broadcast messages which an    observer can listen to● ...
Everybody loves Dilbert
Under the hoodPidgins Dbus service                          Our Evil Script                        Request a proxy from   ...
Under the hoodPidgins Dbus service                          Our Evil Script        We now have a copy of the “remote” obje...
FSO + Dbus + Python = 42         ... almost
Neo Freerunner. Be in control
Enough Talk, show me the code!       Talk              code
Thanks!To all the cool FOSS developers. So long and             thanks for all the fish
From Silicon to Software - IIT Madras
From Silicon to Software - IIT Madras
Upcoming SlideShare
Loading in …5
×

From Silicon to Software - IIT Madras

487 views

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
487
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

From Silicon to Software - IIT Madras

  1. 1. From Silicon to Software Aanjhan Ranganathan & Sudarshan S
  2. 2. So whats the agenda . . .
  3. 3. For the perspective . . .● Cray 1 Specs ● 64 Mb memory ● ~1 million gates ● 80 Mhz clock, 115kW ● 700,000 $
  4. 4. Some modern art
  5. 5. Chips are pieces of artwork too Intel Pentium 4, 2000 Intel dual core , 2007
  6. 6. VLSI Design flow
  7. 7. Chip to System on Chip (SoC)
  8. 8. Embedded Systems
  9. 9. Embedded Development Boards
  10. 10. Importance of Embedded Software● Therac 25 – Overdose of radiations for therapy of cancer patients● Ariane 5 failure – Launch failed, exploded just 40 secs after take off
  11. 11. A typical embedded system build . . . Mapping soft, games?, Dialer, PhonebookApplication Software System Software RTOS, Task manager, Device management etc Core I/O Proc PeripheralsMemory Hardware Target Board
  12. 12. Terminologies● Cross compilation – Build , Target, Host – Reasons for this?● Bootloader● Target architecture● Board Support Package
  13. 13. RTEMS● Real Time Executive for Multiprocessor Systems● Since late 1980s (under contract with US Army Missile Command.● Ported to few ESA and NASA space hardened procs in the late 1990s
  14. 14. RTEMS in Use● Space and Aviation – ESAs Herschel and Planck, LISA Pathfinder, NASA ST5 satellite● Scientific – EPICS labs● Military and defense – Air defense systems, Flight data recorders● Industrial, Robotics, Medical and Communication fields http://www.rtems.com/wiki/index.php/RTEMSApplications
  15. 15. RTEMS features➔ RTEMS is a full featured Real-Time Operating System➔ Commercial grade➔ All source code for OS, support components, tests, documentation, development environment, and project website is provided➔ Truly free in price, liberty, and end user requirements➔ High performance, deterministic behavior➔ Standards compliant environment➔ Highly portable across CPU architectures➔ Many Board Support Packages available➔ Prebuilt development toolsets for GNU/Linux and MS-Windows
  16. 16. Motivation for RTEMS developers Open Incremental Standards Pet Projects Improvements Scientific Space Community Community Student Commercial Projects Research Users
  17. 17. RTEMS - Architecture
  18. 18. Demo based on a GsoC project● MMU – Memory Management Unit● PowerPC simulator PSIM● Memory region protection (SUPERVISOR access only etc)
  19. 19. Cross DebuggingGUI Front end (DDD) Cross debugger Target system(powerpc-rtems-gdb)Other debugging waysJTAG, BDM
  20. 20. In the end, it all boils down to User space applications (or in other words the icing on the cake)
  21. 21. Different Hardwares with different capabilities● Make phone calls● Send Text messages● Receive emails● Know your current location● Listen to Music and much much more
  22. 22. nuff said
  23. 23. We solve problems with abstractions● Symbian● Android● J2ME● Blackberry● Iphone SDK
  24. 24. Freesmartphone.org Framework
  25. 25. What is FSO?● freesmartphone.org is a collaboration platform for open source and open discussion software projects working on interoperability and shared technology for Linux-based SmartPhones
  26. 26. Inter Process Communication● Files● Anonymous pipes● CORBA (really really painful)● Java RMI (Language specific)● Shared Memory
  27. 27. ..all of which has a potential to make you suicidal
  28. 28. DBus● IPC done right● Method: Which can be invoked● Signals: Broadcast messages which an observer can listen to● Bus: Session or System
  29. 29. Everybody loves Dilbert
  30. 30. Under the hoodPidgins Dbus service Our Evil Script Request a proxy from the bus
  31. 31. Under the hoodPidgins Dbus service Our Evil Script We now have a copy of the “remote” object with methods from im.pidgin.purple.PurpleService
  32. 32. FSO + Dbus + Python = 42 ... almost
  33. 33. Neo Freerunner. Be in control
  34. 34. Enough Talk, show me the code! Talk code
  35. 35. Thanks!To all the cool FOSS developers. So long and thanks for all the fish

×