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

A new real-time embedded system logging/tracing solution targeting 32-bit RISC-V devices.

The RTEdbg open source toolkit helps embedded developers test, debug, and optimize C/C++ firmware. It provides non-intrusive data logging, data transfer to the host, and decoding utilities for 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 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 GitHub - RTEdbg/RTEdbg: Fast and flexible data logging/tracing toolkit for software testing and debugging. Minimally intrusive C/C++ code instrumentation, host-based decoding application, demo code included.

1 Like