DEV Community

Branko Premzel
Branko Premzel

Posted on

Minimally intrusive instrumentation of embedded system C/C++ code

A new solution for real-time programmers.

The RTEdbg open source toolkit helps embedded developers test, debug, and optimize C/C++ firmware. It provides functions for non-intrusive data logging, data transfer to host, and decoding utilities that enable deeper insight into real-time systems. Unlike traditional debuggers, this solution doesn't stop the embedded system, preserving its natural behavior. It is suitable for large RTOS-based systems as well as small, resource-constrained systems.

The solution works with all 32-bit microcontrollers. It is optimized for maximum execution speed and minimum memory and stack usage. Any communication channel or debug probe can be used to transmit logged data to the host for decoding. The solution is the equivalent of a re-entrant, time-stamped fprintf() running on the host instead of the embedded system. The fprintf functionality provides flexibility in data formatting and allows the logging data to be sorted into multiple files for later analysis with common tools such as CSV and LOG viewers.

See RTEdbg repository

Top comments (0)