Other Parts Discussed in Thread: C2000WARE
I am using the F28335 microcontroller with CCS Studio 12.5. I have used the project wizard to make a simple main.c project, and then I have added this very simple main() function:
int rmt_counter = 0;
int main(void)
{
while (1)
{
rmt_counter++;
}
return 0;
}
When I view the variable "rmt_counter" in the debugger, and with the graphing tool, I see that the variable eventually stops incrementing at a value of 9328:

After that, if I pause the debugger, I get en error tab:
No source available for "_system_post_cinit() at C:\Users\gtg25\Desktop\HIL_8_single_double_switch\rmt_rev8_HIL_28335\PI_Double_switch\uC_28335\Debug\controlller_rev1.out:{3} 0x3ff9fa{4}"
My question is: why is my while(1) loop escaping? Shouldn't my rmt_counter variable keep incrementing until it rolls over?