Re: MPLAB / MPSIM - How do I log/trace a registers contents to file?



On Sat, 29 Nov 2008 01:42:08 -0800, Robert Baer
<robertbaer@xxxxxxxxxxxx> wrote:

K Ludger wrote:

The subject says it all - I might be having a hard day but I can't find a
solution in the MPLAB user manual or google.

I'm trying to test a calculation routine across its full range of input
values so I want to run the program and write the contents of a couple of
registers out to a text file on each pass through a loop. Should be simple -
right?

Thanks.


It might be a "simple" thing.
But Microchip is not too good at presenting needed info, starting
with what pin numbers are used for programming their PICs: missing on
various "adta sheets", inconsistent labels / terminology of those pins;
the info is scattered over a number of documents with no guide or clue
as wher to look.
Programming via one of their kits is as bad; no guide as to what /
where the progammer is, no clue that the "demo board" is a demo and not
a programmer.
Hell, the so-called data sheets that i have seen have zero DC specs
almost zero AC specs (set-up times, hold times, rise times, fall times,
etc).
It seems that the ASS-u-ME-uption is that one inherently knows the
answers to PIC questions before one learns to read.
And it is extremely helpful that these "data sheets" are
multi-megabytes in size - therby cutting out everyone on dial-up (will
NOT spend umpteen hours to download !one! file).
If you have high speed internet, then take days to download the
terrorbytes of documentation and write a program to traverse them all,
looking for *your* keywords.


Terrorbytes? Are they that scary? :-)
.



Relevant Pages