lpcware

cr_startup_lcp11u.c problem with receive complete interrupt (solved)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by mahendra_ms on Sun Jan 17 00:16:15 MST 2016
Hello community
I'm dealing with LPCXpresso 11U24 board with one project code provided by NXP.(with LPCXpresso v7.9.2)
In that code I've add-up chip's UART code with receive complete interrupt, right now every thing is working good and I'm able to send data through UART with my desired baud rate, but problem starts when i send any character from terminal tool. problem is controller won't get interrupted and send echo back!

I've starts it's debugging and further send charterer from terminal tool then i found that there is problem in it's startup file, controller get freeze at......(unexpected interrupt occurs in it's startup file)


//*****************************************************************************
//
// Processor ends up here if an unexpected interrupt occurs or a specific
// handler is not present in the application code.
//
//*****************************************************************************
__attribute__ ((section(".after_vectors")))
void IntDefaultHandler(void)
{
    while(1)
    {
    }
}



all tips and solution welcomes :)
Thanks and regards,
Mahendra_ms

Outcomes