Hello everybody,
I am facing some problems setting hardware breakpoints on a F2812 device WITHOUT USING Code Composer Studio.
My situation:
I am working on a LabVIEW project, which handles a F2812 device by accessing a DLL-file. The DLL-file provides a debug interface to the Spectrum Digital driver library ("Spectrum Digital Target Interface", sdtsrv.lib). I access the device by JTAG.
The Spectrum Digital library only provides the possibility to set software breakpoints. As I need hardware breakpoints, I want to implement them myself.
I understand, that hardware breakpoints are set by accessing certain "debug registers". These registers allow setting up addresses that, when either read, read/written, or executed, will cause the processor to throw a special exception that causes execution to stop and control to be transferred to the debugger.
From the C2000 documentation I found that all C28x devices include two "analysis units" AU1 and AU2, which can be configured as analysis/hardware breakpoints.
My problem is that I can't find any further information on this "analysis unit" or on the addresses of these registers or how to set them up.
Can anybody help me out and provide further information?
Thanks in advance,
Franziskus