The example project blinky_c28 does not blink when connected to the debugger. 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 blinky_28.
It works when not connected to the debugger.
The project blinky_dc_c28 states in the source code that it only works when disconnected from the debugger -- and it does. It is almost identical to blinky_c28.
When I pause the code and try to set GpioG1DataRegs.GPCDAT.bit.GPIO70 to 1, it immediately resets to 0. This happens whether GpioG1CtrlRegs.GPCDIR.bit.GPIO70 is 1 or 0. This behavior survives a power cycle on the board when I reload just the C28 version of Blinky, so if the m3 is interfering, it is something that survives a power cycle.
Changing blinky_c28 to use GPIO71 instead of GPIO70 does not help.
The following comment is from Austin Miller from TI:
"I have been playing with this example myself. I notice that any access to the GPIOG1DAT register is ignored or reset to 0x0. Even the access during initialization is
ignored before the infinite for loop. However accesses to the GPIOG1Ctrl register are allowed."
Should I expect this simplest of programs to work with the debugger?