PrajnaEdge
A curiosphere for curious minds who want to understand, experiment with, and experience technology.
To continue exploring
Technology, made tangible.

Where does intelligence run?

Explore AI that moves inference closer to the data — from the edge to the device itself.

AI inference runs at or near the point where data is generated, rather than relying on a remote cloud.
Edge AI Computer Vision

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

// Coming soon
Edge AI Playground

Image Classification

Can this image classifier maintain its intelligence while becoming small enough for the edge?

Choose an image

Upload an image
Supports JPG, JPEG, PNG
This classifier recognizes only Apple, Banana, and Orange. Other objects may be incorrectly classified as one of these classes.

Choose the model

Model size
4.91 MiB
Largest activation
~625 KiB
Test accuracy
99.11%
Measured model accuracy
Your image is processed locally in your browser.
On-Device AI
On-Device AI Playground
// Coming soon

Explore the ideas, systems and connections that shape technology — choose any node to begin your journey.

PrajnaEdge Navigation Tree
Embedded Systems Tree

Edge AI Demonstrations

Deploying neural networks and intelligent decision loops on raw silicon targets.

Sort:
Operating Systems

When Time Becomes a Requirement

An introduction to real-time operating systems, timing constraints, and the landscape of embedded RTOS.

Operating SystemsReal-Time OSRTOSDeadlinesDeterministic

1. When Time Becomes Part of Correctness

For a general-purpose application, executing an operation successfully is the primary goal:

Request ↓ Complete

The system tries to complete the request as quickly as practical, but if a high workload causes a delay, the result remains correct—it is simply delivered late.

For a real-time system, completing the operation is only half the battle. The correctness of the computation depends not just on the logical result, but on the exact time the result is produced:

Request Deadline Correct Results Zone Incorrect (Late) Zone

If the system delivers the correct mathematical output but finishes after the assigned deadline, the entire operation has failed. In real-time environments, the timing of the result is part of correctness.

2. Soft Real-Time

In a soft real-time system, meeting deadlines is important for performance, but an occasional missed deadline is tolerated:

Target Deadline Actual Completion (Late) Result: The system degrades in quality (e.g. audio dropouts, video lag), but continues running.

Examples of soft real-time workloads include: * Audio and video playback streaming. * Interactive graphical interfaces and gaming. * Telecommunication network packet processing.

Missing a deadline decreases the system's quality of service, but it does not cause a crash or system failure.

3. Hard Real-Time

In a hard real-time system, deadlines are absolute constraints:

Deadline Delayed Execution (Missed) Result: System failure. Missing a single deadline has critical real-world consequences.

Examples of hard real-time systems include: * Automotive airbag deployment controllers. * Flight-control surface stabilizers. * Industrial motor protection switches. * Embedded medical devices (such as pacemakers).

4. Is an RTOS a Completely Different Operating System?

No. A Real-Time Operating System (RTOS) performs the same core resource-management duties as any general-purpose OS:

RTOS Core Task / Process Mgmt Memory Management I/O & Drivers Task Synchronization

The difference is not the presence of these responsibilities, but how they are prioritized and configured.

5. What Changes?

The design priorities of a General-Purpose OS versus a Real-Time OS are contrasting:

General-Purpose OS * Throughput: Maximizing total instructions executed per second. * Fairness: Giving every thread an equal chance to run. * Average Responsiveness: Making sure standard operations complete quickly on average. * Flexibility: Adapting to dynamic, unpredictable user application workloads.

RTOS * Predictability: Bounding the worst-case execution time (WCET). * Deterministic Behavior: Ensuring that a specific event always triggers its handler task within a fixed number of CPU cycles. * Deadline Compliance: Prioritizing tasks based on their timing urgency.

An RTOS does not necessarily mean "everything is faster." It means the system is designed so that important timing behavior can be reasoned about and bounded.

6. Everything We Learned Still Exists

The architectural concepts explored in this branch apply directly to the real-time model, adjusted for predictability:

Process Management * Previously: How does the OS schedule competing workloads fairly? * Now: How does the scheduler guarantee that the highest-priority real-time task meets its execution deadline?

Memory Management * Previously: How does virtual paging expand available memory? * Now: How does dynamic memory allocation affect predictability? Real-time threads often disable virtual paging and partition RAM statically to avoid the timing delays of page faults.

File / Storage Management * Previously: How are files structured on physical storage blocks? * Now: How does the delay of reading from disk affect timing? RTOS tasks often buffer files in RAM or use low-overhead, contiguous file allocation methods.

I/O & Protection * Previously: How does the kernel isolate user tasks from hardware? * Now: How quickly does the driver respond to device interrupts? Real-time systems often reduce abstraction layers to minimize system call overhead.

7. Connecting to Embedded Mechanisms

The real-time operating system coordinates several key components to keep systems on track: * Tasks: Bounded threads of execution containing dedicated priorities. * Scheduling: Preemptive priority schedulers that ensure a high-priority task immediately preempts a lower-priority task when ready. * Synchronization: Semaphores, mutexes, and queues used to pass messages between tasks without causing priority inversions. * Interrupts: Bounded latency ISRs that service hardware signals immediately.

We have already encountered many of these mechanisms individually. In an RTOS, they come together around one central requirement: predictable response to events and deadlines.

8. There Is No Single RTOS

Different embedded devices require different RTOS designs based on their target architecture: * Processor Class: Low-power microcontrollers (such as ARM Cortex-M) versus high-performance multi-core processors. * Footprint limits: Fitting within 10 KB of RAM versus hosting hundreds of megabytes. * Safety Certification: Meeting aviation (DO-178C) or automotive (ISO 26262) safety standards.

Consequently, the embedded ecosystem has developed different RTOS kernels to fit these needs.

9. A Small RTOS Landscape

Below are five representative real-time operating systems widely used across the engineering landscape:

FreeRTOS A lightweight, open-source kernel designed for resource-constrained microcontrollers. It provides minimal multitasking primitives with a tiny memory footprint.

Zephyr A modern, open-source RTOS designed for connected IoT devices, offering built-in networking stacks, driver models, and resource isolation tools.

SafeRTOS A safety-certified version of the FreeRTOS functional model, documented and validated for medical, industrial, and safety-critical devices.

AUTOSAR OS A standardized RTOS specification designed for automotive ECUs, supporting tight scheduling, memory protection, and hardware abstraction frameworks.

VxWorks A high-performance, commercial RTOS used in critical systems (such as aerospace, robotics, and industrial control arrays) requiring extensive debugging tools and high reliability.

10. Selection Criteria

When selecting an RTOS for a physical device, developers evaluate several engineering trade-offs:

Processor Core Memory Limits Safety Standards Selection Check Domain Specifics Selected RTOS

The chosen RTOS must fit within the processor's memory constraints, support the target compiler ecosystem, provide the required level of safety documentation, and integrate smoothly with existing vendor hardware abstraction layers.

An RTOS is still an operating system. It still manages computation, memory, I/O, synchronization and resources.

The difference is what the system considers correct.

For a general-purpose system, doing the right thing quickly is often enough. For a real-time system, doing the right thing at the required time is part of correctness.

And there is no single RTOS for every machine. The controller, domain, constraints and required guarantees shape the choice.

So when we eventually encounter a specific machine or domain, which real-time system will be waiting underneath it?

System Tree Node Operating Systems

PrajnaEdge

Engineering concepts you don't just read — you experience.
Founded in 2026.

PrajnaEdge is a technology company exploring the space between understanding technology, experimenting with ideas, and turning them into things that can be experienced.

Our Mission

To make technology easier to explore, deeper to understand, and more exciting to experience.

Our Vision

To build a technology ecosystem where curiosity, experimentation and creation continuously lead to one another.

Where it began

Embedded Systems

PrajnaEdge began with Embedded Systems — exploring the foundations that connect hardware, software and intelligent computation.

The first technology universe is built around that foundation. The journey will expand as new ideas, experiments and products emerge.

PrajnaEdge is a technology company created by Devaharsha Meesarapu.

CREATOR PROFILE

Devaharsha Meesarapu

Embedded Systems • Firmware • Edge AI

I am the engineer behind the design, development, and content of PrajnaEdge. I build low-level systems where code directly controls hardware, bridging the gap between register-level silicon behavior and intelligent edge decision loops.

View Resume →

ABOUT ME

I am an Embedded Firmware Engineer focused on developing software for resource-constrained systems. My experience spans bare-metal firmware, device drivers, microcontroller peripherals, and communication protocols, working across the boundary between hardware and software.

My work has involved microcontroller-based systems, real-time behaviour, hardware interfaces, and communication technologies such as CAN, CAN FD, UART, SPI, and I²C. I am particularly interested in understanding systems from the lowest level upward—from registers and peripherals to intelligent edge systems.

ENGINEERING PHILOSOPHY

Engineering is not just about writing code; it is about managing constraints, timings, and physical hardware characteristics. True mastery of complex systems comes from understanding the interactions across different layers of the stack.

This conviction is why I built PrajnaEdge—to bridge the gap between conceptual theory and direct, register-level physical reality.

CONNECT

LinkedIn → GitHub →

Interactive Career Journey

Let's Connect
Interested in embedded systems, AI, or building something meaningful? I'd love to hear from you.
Open to collaborations, research, and interesting engineering conversations.
Help Improve PrajnaEdge
Found something to improve? I'd love to hear your thoughts.

Bare Metal

Software that runs directly on hardware without an operating system.

Applications
Operating Systems
YOU ARE HERE
Bare Metal
Processor
Hardware

"Every embedded application begins long before main()."

Operating Systems

An Operating System manages hardware and software resources so complex applications can work efficiently.

Applications
YOU ARE HERE
Operating Systems
Bare Metal
Processor
Hardware

"When one loop is no longer enough to carry the burden."

Support PrajnaEdge

PrajnaEdge is an independent education platform built to make knowledge freely accessible.

If you find PrajnaEdge useful, you can support its continued development.

Your support helps fund the time, tools, infrastructure, and experimentation that go into building and maintaining PrajnaEdge.

Select Region
Select Amount
Select an amount to support PrajnaEdge.