Seeking trace log system

I don't want to reinvent the wheel, so I am looking for a debug trace log system. Something tried, tested and efficient.

It should be coded in C++ (or C) and will be used in an embedded system (which means that it needs to be efficient at run-time (output will probably be over serial port - it is acceptable for the tarcer to buffer output and for a low priority task to output it when teh system is relatively idle))), although it need not have been proven in one yet.

Can anyone recommend something?

Thanks in advance for any help.

Reply to
Baron Samedi
Loading thread data ...

JTAG may provide execution trace that your debugger should be able to parse. If you need something generated programmatically, take a look at (from one of the previous threads):

A preliminary draft description is at

formatting link

A reference implementation (with a C99 accent) with a runnable example is at

formatting link

You will need to invent a printf to buffer things and send over a serial port; unbuffered (and quite limited) versions in C 90 are floating on the Web.

HTH

-- Ark

Reply to
Ark Khasin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.