This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I am getting hang in my code with loader_exit in debugger in CCS

https://bpaste.net/show/c6d0b69c1945


Above is my code and it work fine uptill  254 line and then i am not getting why it hangs all and takes no input from hyperterminal, When i pause the CCS takes me to loaderexit() in exit.c

/****************************************************************************/
/* ABORT - ABNORMAL PROGRAM TERMINATION.  CURRENTLY JUST HALTS EXECUTION.   */
/****************************************************************************/
void abort(void)
{
    loader_exit());
    for (;;);   /* SPINS FOREVER */   // here i get stuck..
}

what am i doing wrong i am using TMC123gxl cortex M4