This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trapped in idle mode without interrupt subroutine.

hi,

I am working with MCB2300 , which has LPC2378(ARM7 ,32bit) . I had written a code in which after performing a task the MCU goes into sleep mode. I have not given any interrupt sub routines. and no interrupts are enabled.

I am not able to program the MCU throug JTAG. Kiel error is as follows "No JTAG Device Found".
I feel that the MCU is trapped in idle mode , hence the JTAG interface is also not active.

Please tell me if there is alternate way of programming the MCU , other tahn JTAG which would be active in the idle state , or suggest some method to get it out of the idel state.

int main()
{

// perform task
state1();

// goes to idle mode
PCON |= 1 ;

state2();

return 0;
}