I am attempting to debug an F2812 project with a SD XDS510LC
USB emulator, and want to watch the contents of some
peripheral registers (CAN engine in particular) when the
processor is stopped. The drop-down menu View >> Registers
command shows me 'Core registers' and that's all.
I have looked back at all the test projects I have developed
so far (only about a dozen) and some of them have all the
peripheral registers in this same window, while others do
not. I can find no rhyme nor reason for this difference.
A response to a post on this forum says the viewable
registers are determined by an xml file. None of my
projects have a file with extension .xml, but they all have
one ending in .ccxml. I can see nothing in there related to
registers.
Some of my projects have a file with extension .ccxml.cache,
and I can see definitions of the 'Core registers' therein,
but nothing resembling a peripheral register. Furthermore,
there is no correllation between projects whose peripheral
registers are visible, and projects containing this file
type.
Another post says we should read their raw hex addresses
with the memory command. I don't want to pay all this money
for an emulator and be forced to resort to such an error
prone debugging process. (Especially when the emulator can do
it some of the time!)
How can I take control of my peripheral registers, and
access them on ALL projects?
