
Cycle-resolution timing boosts real time operating system
Segger in Germany has developed a real time operating system (RTOS) using cycle-resolution timing to eliminate the periodic tick interrupt.
Scheduling of all time-based events, such as timeouts, delays, and periodic timers in embOS-Ultra , can now be specified in microseconds or CPU cycles. Cycle-resolution Timing technology replaces ad-hoc, target-specific techniques for precise timing with clean and consistent API calls.
The RTOS maintains full API compatibility with classic embOS but, at the same time, provides CPU-cycle precision for scheduling through additional API calls. embOS-Ultra replaces the typical 1ms system tick with a single-shot hardware timer that generates interrupts exactly when necessary. This can also save power by avoiding unnecessary activity with no need to modify the application code itself.
- Rolf Segger on the chip shortage
- Segger licenses ARM and RISC-V compiler and linker to tool providers
- Segger ports dev tool to Apple M1 chip
- Segger moves RTOS to 64bits
“Using cycles as the internal time base for an RTOS is a completely new concept with many benefits. The resolution of scheduling is orders of magnitude better than that of traditional RTOSes,” said Rolf Segger, founder of Segger. “We already use it in our J-Link debug probes and Flasher In-System programmers. We found that it simplifies system design and allows using RTOS API calls where before we had to use dedicated hardware timers. This made the firmware far easier to maintain and port, and it further enhanced the performance of the products. I am convinced that many of our customers will have the same experience.”
No application changes are required as the existing API and RTOS behaviour is maintained, providing millisecond-aligned timing where classic embOS API calls are used and microsecond or cycle resolution where the new API calls are used. The traditional embOS API can also be mixed with the extended high-precision embOS-Ultra API in the same application.
www.segger.com/products/rtos/embos/editions/embos-ultra/
Related articles
- Green Hills ports RTOS to RISC-V
- ST extends Azure RTOS support
- PikeOS 5.0 RTOS targets safety and security-critical systems
- RTOS development bugs and how to spot them
Other articles on eeNews Europe
- SiPearl, Intel team for supercomputer GPU
- Open source FPGA developer looks to Europe
- Lack of chips continues to slow down auto industry
- Analog Devices sells German radar business
- TinyML platform builds AI models in minutes
- Europe opens extended investigation into ARM-Nvidia deal
