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 Importance Wasn't Enough

Why the highest-priority task sometimes waits the longest.

Operating SystemsSchedulingSynchronizationPriority InversionReal-Time Systems

1. The Problem

Imagine a modern automotive Engine Control Unit (ECU) running three tasks of differing importance:

* High Priority: Emergency Brake Control (must run instantly when a hazard is detected). * Medium Priority: Dashboard Display Refresh (updates the speedometer periodically). * Low Priority: Flash Logger (writes non-critical telemetry logs to a flash chip).

To write to the shared flash chip, a task must lock a Mutex protecting the hardware interface.

The Low Priority logger begins writing a telemetry entry and acquires the Mutex. While it is in the middle of its write cycle, the High Priority brake task detects a hazard and preempts the CPU. It attempts to lock the same Mutex to record the brake incident. Because the Mutex is owned by the Low Priority logger, the High Priority brake task is blocked.

Under normal rules, the CPU would drop back to run the Low Priority logger, which would quickly release the lock, allowing the High Priority brake task to continue.

However, before the logger can release the Mutex, the Medium Priority dashboard task wakes up. Since Medium Priority is higher than Low Priority, it preempts the logger and begins updating the display.

The dashboard task executes for a long time. The logger remains suspended, unable to complete its write cycle and release the Mutex. As a result, the Emergency Brake task remains blocked, unable to run.

We have a paradox: a Medium Priority dashboard task is indirectly blocking a High Priority safety-critical task.

Indirect Delay Dependency
High Priority Task
Emergency Brake Control
Waiting for Mutex
Low Priority Task
Flash Logger (Owns Lock)
Preempted By
Medium Priority Task
Dashboard Display Refresh

2. Priority Inversion

This behaviour is called Priority Inversion.

It occurs when a low-priority task holds a resource needed by a high-priority task, and is preempted by an unrelated medium-priority task. The high-priority task is indirectly blocked by the medium-priority task, subverting the system's priority design.

It is important to notice that nothing has crashed. The hardware is operating perfectly. No thread is deadlocked—there is no circular wait. Every scheduling rule is being followed precisely. Yet, the highest-priority task in the system remains completely blocked.

In real-time environments, this delay can be catastrophic:

* Automotive Systems: An active safety or steering task misses its update window because a dashboard refresh is executing. * Medical Devices: A heart pacemaker sensor reading is delayed because a display logger is updating a battery chart. * Industrial Controllers: A gas pressure regulator valve fails to close on time because a temperature trend graph is rendering. * Robotics: A motor control safety loop is interrupted by a non-critical telemetry stream.

3. Priority Inheritance

To resolve this issue, the Operating System kernel implements an elegant strategy called Priority Inheritance.

When a high-priority task blocks on a Mutex owned by a low-priority task, the Kernel dynamically intervenes:

* Temporary Priority Boost: The Kernel temporarily raises the priority of the low-priority task to match that of the blocking high-priority task. * Preemption Protection: Because the low-priority task now runs with high priority, medium-priority tasks can no longer preempt it. * Lock Release: The low-priority task executes quickly, finishes its critical section, and releases the Mutex. * Priority Restoration: The moment the Mutex is released, the Kernel restores the low-priority task to its original priority level, allowing the high-priority task to immediately acquire the lock and execute.

Rather than a workaround, Priority Inheritance is a mathematically proven coordinator, bounding the maximum duration that a high-priority task can remain blocked.

4. EdgeCase: Priority Inheritance

Observe how the Kernel manages priorities. Toggle between the tabs to compare execution timelines with and without Priority Inheritance.

5. Reflection

We have followed a Program from passive instructions to coordinated execution. We watched the Kernel schedule processes, switch contexts, communicate across boundaries, coordinate access using synchronization primitives, and even temporarily bend priority levels to keep critical tasks responsive.

The story of execution is complete.

But every running Process still depends on one invisible foundation...

Memory.

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.