Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedded logging [closed]

Logging is an essential debug facility. How do you use such logging functions in embedded environments? I personally program on ARM Cortex Mx microcontrollers.

I was thinking of a logging framework with a changeable backend for several Interfaces (ITM, UART,...) and customizable levels of logging.

I found A Highly Configurable Logging Framework In C++. Do you know any other projects?

like image 693
Razer Avatar asked Dec 05 '25 05:12

Razer


1 Answers

In embedded systems, logging is accomplished in two preferred methods: via debug / serial port and storing into memory.

The idea behind storing into memory is that it can be retrieved later using a JTAG debugger or other facilities. Use Non-Volatile memory for anything that needs to be saved after power-off.

like image 126
Thomas Matthews Avatar answered Dec 07 '25 18:12

Thomas Matthews



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!