We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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; }
What does the Datasheet say?
This is a device-specific question, so it would be more appropriately directed to the chip manufacturer (NXP, in this case) rather than a compiler vendor (Keil)...
Set P2.10 port to low on reset, the on-chip serial bootloader runs. ISP jumper (J10) on the MCB23xx board makes this pin controlled over COM0 serial port. FlashMagic is the utility for ISP over the serial port. http://www.flashmagictool.com/
Tsuneo
Ah, here is better description
MCB2300 User's Guide - Connecting with Serial ISP www.keil.com/.../mcb2300_su_connecting_serial.htm
Thank You very much.
Now well it seems that it was a stupid question. I had a misconception that MCU will respond to JTAG in the worst case.