Protected mode RTOS: what does it mean?
- Dr. Bernhard Sputh
bernhard.sputh@altreonic.com
Altreonic NV Gemeentestraat 61 Bus 1 3210 Linden Belgium
August 24, 2015
- Dr. Bernhard Sputh (Altreonic)
Protected mode RTOS August 24, 2015 1 / 20
Protected mode RTOS: what does it mean? Dr. Bernhard Sputh - - PowerPoint PPT Presentation
Protected mode RTOS: what does it mean? Dr. Bernhard Sputh bernhard.sputh@altreonic.com Altreonic NV Gemeentestraat 61 Bus 1 3210 Linden Belgium August 24, 2015 Dr. Bernhard Sputh (Altreonic) Protected mode RTOS August 24, 2015 1 / 20
Altreonic NV Gemeentestraat 61 Bus 1 3210 Linden Belgium
Protected mode RTOS August 24, 2015 1 / 20
Protected mode RTOS August 24, 2015 2 / 20
Protected mode RTOS August 24, 2015 3 / 20
◮ Bit-flips due to alpha particles. ◮ Power glitch induced problems. ◮ Faulty components. ◮ . . .
Protected mode RTOS August 24, 2015 4 / 20
◮ Separate Applications in different Partitions. ◮ Partitions cannot access the memory of other partitions. ◮ Partitions get scheduled in time, i.e. time-sliced in the area of 1 –
100ms slices.
◮ Time-slicing affects real-time behaviour. ◮ Memory only protected at the partition level.
Protected mode RTOS August 24, 2015 5 / 20
◮ ARM-Cortex-M3 (MPU) ◮ ARM-Cortex-A9 (MMU)
Protected mode RTOS August 24, 2015 6 / 20
◮ RS-232 / 422 / 485 ◮ TCP-IP (Ethernet) ◮ Shared Memory (in SMP systems) ◮ XMOS-Links (deprecated) ◮ Bongo drums (in principle) ◮ . . .
◮ All Interactions / Services get represented by a Request-Packet. ◮ Packets are routable throughout the System.
Protected mode RTOS August 24, 2015 7 / 20
◮ Tasks: Have their on stack and a Priority. ◮ Interrupt Service Routines
◮ Port: Acts like a Any2Any-Channel in JCSP; ◮ FIFO: Acts like a Any2Any-BufferedChannel in JCSP; ◮ Event: Binary Signal; ◮ Semaphore: Counting Signal; ◮ Resource: Lock with Priority Inheritance; ◮ BlackBoard: Save System Wide Global Variable; ◮ MemoryBlockQueue: Zero-Copy FIFO on a single Node; ◮ DataEvent: An Event that can transport also Data; ◮ PacketPool: A pool of Packets that can be allocated at runtime. ◮ MemoryPool: A pool of MemoryBlocks that can be allocated at
runtime.
Protected mode RTOS August 24, 2015 8 / 20
◮
W: Wait until Synchronisation can be achieved.
◮
WT: Wait until Synchronisation can be achieved, or the timeout
◮
NW: Non-Waiting.
◮
A: Asynchronous: The Task can run in parallel while the request is being processed (only locally).
Protected mode RTOS August 24, 2015 9 / 20
Protected mode RTOS August 24, 2015 10 / 20
Protected mode RTOS August 24, 2015 11 / 20
Protected mode RTOS August 24, 2015 12 / 20
Protected mode RTOS August 24, 2015 13 / 20
Protected mode RTOS August 24, 2015 14 / 20
Protected mode RTOS August 24, 2015 15 / 20
Protected mode RTOS August 24, 2015 16 / 20
1 Interrupt to ISR Latency
2 Interrupt to Task Latency
Protected mode RTOS August 24, 2015 17 / 20
Protected mode RTOS August 24, 2015 18 / 20
Protected mode RTOS August 24, 2015 19 / 20
http://www.altreonic.com