Other Parts Discussed in Thread: CCSTUDIO
I'm using CCStudio 3.3.83.19 (limited version, codegen 5.2.1 and DSP/BIOS 5.33.05) and a Blackhawk USB2000 controller. I've installed the following emulation drivers:
- Driver Release v3.3.300.2, 23 JUN 2009
- CLA Driver Release v3.3.0.1, 07 JUL 2009
In the Code Composer Studio Setup I've chosen "Blackhawk USB2000 - F28035 CLA Controller". This gives me two targets in Parallel Debug Manager (TMS320C2800_0 and cla_0).
I'm able to open, build and load the example project "Example_2803xClaAdc" onto the main CPU. Debugging works well, and I know that CLA task 2 is executing as it triggers an interrupt when it finishes. I've put a "MDEBUGSTOP" into task #2, rebuilt the application and loaded it onto the target in order to be able to debug from that point in the CLA. I open the "Blackhawk USB2000 - F28035 CLA Controller/cla_0" from the Parallel Debug Manager and connect to the target (Alt+c). The Disassembly window is displayed and I see that the CLA has stopped at my MDEBUGSTOP instruction. Task #2 is triggered by an ADC interrupt set up in the main application. The CLA register window displays all the registers (all the MVECTx are displayed correctly). One thing I don't understand here is why the MIRUN register is 0000. Shouldn't it be 0001 since I've breaked the CLA in task #2?
The main problem is that I cannot single step through the instructions. If I try I get the following error:
Can't Single Step Target Program: Error 0x00000020/-2062 Error during: Execution, Cannot halt the processor
I have also tried to disable the ADC interrupt in the main application and explicitly forced task #2 to run by setting the MIFRC register to 0001. However, nothing happens. I would have expected the MIRUN register to change.
Any ideas?