Other Parts Discussed in Thread: CONTROLSUITE
I am trying to get the controlSUITE code example ctom_ipcdrivers_lite to run correctly. I am using a recent version of controlSUITE (how do I see the version number? The file property version number is 1.2.0.0) and CCS version 5.1.0.09000. I am using the controlCARD TMDXCNCDH52C1 with the XDS100v2 emulator. I am able to load, flash and run ctom_ipcdrivers_lite_28 and ctom_ipcdrivers_lite_m3.
If I step through _m3 first, it hangs at
IPCMtoCBootControlSystem(CBROM_MTOC_BOOTMODE_BOOT_FROM_FLASH);
I tried removing that line of code, since I was running the C28 from the debugger. When I tried that, the _m3 program would make it all the way to the infinite for(;;) at the end of Main().
If I tried stepping through the _c28 code first, it would hang at
while (!IPCMtoCFlagBusy(IPC_FLAG17)) ;
as expected. If I ran _m3 past where it sets that flag, the _m28 would proceed to
while (IPCLiteCtoMGetResult(&usRWord16,IPC_LENGTH_16_BITS, IPC_FLAG32) != STATUS_PASS)
and hang there as expected. What did not happen, as I would have expected, was that the _m3 code never hit the breakpoint that I placed at the beginning of
CtoMIPC1IntHandler(void)
Instead, the console would display the error "Device is locked up in Hard Fault or in NMI." etc. Restarting CCS was necessary to clear this error.
I tried running the two programs in different order as per http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/t/148597.aspx?PageIndex=2
but that did not help. I tried the ctom_ipcdrivers (not lite) and had the same problems.
Can someone verify that this dual project works correctly using CCS 5.1 and debugging both cores? I did not try running with the debugger disconnected because there would be no way of telling if it was working or not. Is it possible and useful to run the debugger on the ARM while the C2000 is running without the debugger?
Thanks in advance for any help.