Overview of RTOS and VxWorks
Overview of RTOS and VxWorks
Session Speaker
Deepak V.
• Embedded systems
• Languages for Programming Embedded Systems
• Issues related to RTOS
• Scheduling and Interrupts
• Cross development environment
• POSIX
• Multiprocessor support
• Fault tolerance
• Introduction to VxWorks and its features, applications
• Tornado tool introduction
• Most embedded systems perform specific tasks. The simplest embedded system
contains input and output capability as well as control logic stored in system
firmware
• Embedded systems are everywhere in our lives, from mobile phones to medical
equipment, including air navigation systems, automated bank tellers, MP3
players, printers, cars, and a slew of other devices about which we are often
unaware
• Embedded system: “A microprocessor based system that does not look like a
computer”
• Embedded systems (ES) = information processing systems embedded into a
larger product
Embedded system
Single/simple task Multiple/complex task
Directly implemented Implemented using OS
as hardwired which is Embedded OS
Eg. Traffic light Eg. Mobile phone
2. Sewing Machine
• User interface
– Embroidery patterns
– Touch-screen control
• “Smart”
– Sets pressure of foot depending on task
– Raise foot when stopped
• New functions added by upgrading
the software
4. Extremely Large
• Functions requiring
computers:
– Radar
– Weapons
– Damage control
– Navigation
– basically everything
• Computers:
– Large servers
– 1000s of processors
5. Inside Your PC
• Custom processors
– Graphics, sound
• 32-bit processors
– IR, Bluetooth
– Network, WLAN
– Harddisk
– RAID controllers
• 8-bit processors
– USB
– Keyboard, mouse
• Modular
• Scalable
• Configurable
• Small footprint
• CPU support
• Device drivers
• etc, etc, etc...
Generation of embedded OS – need cross development
environment
• Meeting deadlines
• Being able to break out of lower priority processes so that more
important tasks can be accomplished
• When you break out of these processes, the data collected
remains intact
• Architecture
– Processor architecture
– Network architecture
– Architectures for clock synchronization
– Fault tolerance and reliability evaluation
• Operating system
• Programming languages: Ada 95, Esterel, PEARL (Process and
Experiment Automation Real-time Language), Java, C, C++
• Databases: Databases are a structured and convenient way to
manage the sharing of large quantities of data among multiple
tasks
• Performance measures: Conventional measures like throughput
and reliability are not sufficient for real time systems
• Pre-emptive Kernel
• Short Interrupt Latency
• Short Dispatch Latency (Fast Context Switch)
• Proper Scheduling algorithms
• Control of Memory Management
– Task, thread or process are OS object which needs some memory space for
the object definition
– more complex the object, the more attributes it will have and bigger the
definition space will be
– If MMU exists, mapping tables are extra attributes for the task which require
more memory
• Fine Granularity Time Services
• Rich Set of API's
– More system calls, more complex they are, the fewer lines of codes the
application will have
– Code executed in the OS is certainly more efficiently executed (and better
debugged) in the OS than the same code in the application
• Small Size
M.S Ramaiah School of Advanced Studies - Bengaluru 22
Scheduling PEMP ESD2531
• Bootloader
Cross-platform Host Serial/Ethernet Target • Kernel
development
• Root Filesystem
environment
VxWorks
WindNet Networking
Core OS:
Wind Microkernel
TORNADO