Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I have completed my application debug mode thinking that i can load to flash finally, But now surprisingly the code hangs in release mode.
Also i find that the delay function wrote is producing 1.2 Sec in Release mode, where as the same delay function produce 0.75 Sec in Debug Mode.
There seems to be some clock configuration problem. I have verified all the setting for both debug and release and looks same. But Why is producing
different timing for both Debug and Release modes. More over the CPU is not getting time for executing Main Routine. But I have tested the same interrupt routines in
Debug Mode without any issue.
How to ensure both Debug and Release works in Same way.
void delay(unsigned int count)
{
unsigned int i,j;
for(i=0;i<count;i++)
{
for(j=0;j<5500;j++)
{
asm(" NOP");
}
}
}