Tool/software: Code Composer Studio
Hi,
I have recently upgraded my RTOS from 8 to 10th version.
After couple of print statements , Debugging I found that the Timer has stopped working in my Newly ported code ( My previous code worked seamlessly ), I request you to kindly help me in this process.
Timer I am using
#define TIMER_A 0x000000ff // Timer A
My code where its getting stuck
void mbStartTimerA0( uint32_t usecTimerValue )
{
printText(IN_COM_UART, " @ mbStartTimerA0 ");
printText(IN_COM_UART, "\n");
MAP_TimerDisable(TIMERA0_BASE,TIMER_A);
MAP_TimerLoadSet(TIMERA0_BASE,TIMER_A, MICROSECONDS_TO_TICKS(usecTimerValue));
MAP_TimerIntClear(TIMERA0_BASE, TIMER_TIMA_TIMEOUT);
//// Enable the GPT
MAP_TimerIntEnable( TIMERA0_BASE, TIMER_TIMA_TIMEOUT );
MAP_TimerEnable(TIMERA0_BASE,TIMER_A);
printText(IN_COM_UART, " exiting mbStartTimerA0 ");
printText(IN_COM_UART, "\n");
}
I have found that after the print @ mbStartTimerA0 my code completely stopped ( previous code with RTOS 8 it has printed exiting mbStartTimerA0 and went to further execution as expected )
Regards
Shrijith Sharma