Seeking trace log system

B

Baron Samedi

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.
 
A

Ark Khasin

Baron said:
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.
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
http://www.macroexpressions.com/dl/C code unit testing on a shoestring.pdf

A reference implementation (with a C99 accent) with a runnable example is at
http://www.macroexpressions.com/dl/maestra.zip

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,787
Messages
2,569,627
Members
45,329
Latest member
InezZ76898

Latest Threads

Top