Hello,
Please see the background details in this post:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/161349.aspx
When I start the debugger it consistently gets stuck in a sysbios function called deviceConfig() which is in a Timer.c file.
From bios_6_32_05_54\packages\ti\sysbios\timers\dmtimer\Timer.c, deviceConfig():
/* if doing SOFTRESET: do it first before setting other flags */
if (obj->tiocpCfg & TIMER_TIOCP_CFG_SOFTRESET_FLAG) {
timer->tiocpCfg = TIMER_TIOCP_CFG_SOFTRESET_FLAG;
while (timer->tiocpCfg & TIMER_TIOCP_CFG_SOFTRESET_FLAG)
;
}
The while loop never ends (timer->tiocpCfg is always 0).
What project setup could be missing?
A temporary workaround is to change the .cfg file based on advice in this thread:
http://e2e.ti.com/support/embedded/bios/f/355/t/135119.aspx#485813
With the temporary change, the debugger successfully jumps to main().
Without the temporary change the debugger consistently gets lost and it is stuck in the while loop above
The temporary change (commented out in the version below):
/* TEMP!!!!!!!!!!!!!!!!!!!
*
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
Clock.tickSource = Clock.TickSource_NULL;
* TEMP END!!!!!!!!!!!!!!!!!!!
*/
Setup details:
CCS 5.1.0.09000
SYS/BIOS 6.32.05.54
XDC tools 3.22.04.46
Loading code on C674x on a DM816x EVM.
Thanks,
Annie