Percepio in Sweden is teaming up with PX5 to support the launch of a new hard real-time operating system (RTOS) that can run in as little as 1Kbyte of memory.
PX5 has been set up by Bill Lamie, the former chief technology officer of Express Logic and architect of the Nucleus and ThreadX (Azure RTOS) real-time operating systems.
The PX5 RTOS is a native, hard real time implementation of the industry standard POSIX pthreads API. It is designed to be as small as 1Kbyte of code for the smallest applications (but typically 10Kbytes) and use as little as 1Kbytes of RAM, says Lamie.
In addition to the native POSIX pthread support with semaphores and message queues, the PX5 RTOS also offers real-time extensions such as event flags, fast queues, tick timers, memory management, and more.
PX5 enables a wide range of software stacks, both open source and commercial, to run on real-time embedded IoT platforms and supports a wide range of standard development tools.
- Lamie talks about ThreadX past, present, and future
- Percepio Tracealyzer for Express Logic’s ThreadX RTOS
A unique data verification technology helps to detect memory corruption and is ‘compliant’ with the MISRA C specification ‘with a few exceptions,’ says Lamie.
“In 2023 we plan to introduce IEC functional safety to the 61508 standard and derivatives for medical, industrial and automotive,” he said.
PX5 is to integrate the Percepio Tracealyzer trace recorder, and Percepio will support the new PX5 RTOS with a commercially available version.
“PX5 RTOS is purpose built to deliver benefits across all IoT sectors including commercial and safety critical applications,” said Bill Lamie, President, PX5. “We are excited to partner with Percepio, a leader in embedded run-time system visualization. It’s hard to correct an issue if you can’t see it. With Tracealyzer, developers can see exactly what is taking place before a system crash. Developers can also leverage this visualization to better understand the firmware, which makes it easier to enhance and optimize its operation.”
“Pthreads is a valuable tool to embedded real-time engineers and combined with the other features in PX5 will supercharge the ability of Tracealyzer to monitor the performance of software running on all kinds of embedded systems across the IoT,” said Johan Kraft, founder and CTO of Percepio.
The trace recorder in Tracealyzer 4.6 is designed to be easy to port to platforms such as PX5 to provide efficient monitoring of deployed IoT systems and tracing of multi-core systems. It allows developers to capture long software traces, spanning hours or even days, for example for burn-in testing or profiling, or when looking for rare errors.
- Memfault raises $24m for IoT reliability platform
- New CEO at Percepio as founder steps back
- Browser-based sandbox to evaluate cloud IoT alerts
A trace snapshot feature also works with DevAlert, Percepio’s cloud service for monitoring deployed IoT devices. DevAlert customers can see device issues in the field and download traces of the issues into Tracealyzer for easier debugging.
Having learned from his previous RTOS companies, PX5 is delivered in full source code with a royalty free license and volume-independent royalties says Lamie.