Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: Je Gold on July 08, 2009, 04:20:12 AM

Title: Detecting the LPC900 is in ISP Mode
Post by: Je Gold on July 08, 2009, 04:20:12 AM
Hi  Andy,

Once a LPC900 has just entered the bootloader ISP mode...

a)  What's the best  Flashmagic command to confirm the LPC900 is in ISP mode?

b) Can I use the flashmagic terminal program to watch for serial  key stroke echos from the UART of the LPC900 to prove it's in ISP mode?

Thanks in Advance.

Joe
Title: Re: Detecting the LPC900 is in ISP Mode
Post by: Andy Ayre on July 08, 2009, 08:56:20 AM
The best is a simple command that doesn't change the device, namely Read Signature.

You can use the terminal interface to talk to the bootloader, however it cannot be in use while performing ISP operations using the rest of Flash Magic. So you would have to enter the ISP commands yourself. I.e. it's not a COM port sniffer. For that look at something like PortMon.

Andy
Title: Re: Detecting the LPC900 is in ISP Mode
Post by: Jan Waclawek on August 05, 2009, 12:03:02 AM
Quote from: Andy Ayre on July 08, 2009, 08:56:20 AM
The best is a simple command that doesn't change the device, namely Read Signature.
You have to make sure you are talking to the device at the same baudrate as the autobaud happened.


Quote from: Andy Ayre on July 08, 2009, 08:56:20 AM
You can use the terminal interface to talk to the bootloader, however it cannot be in use while performing ISP operations using the rest of Flash Magic. So you would have to enter the ISP commands yourself. I.e. it's not a COM port sniffer. For that look at something like PortMon.
... or simply insert a serial-sniffing "tee" and listen to a separate port(s).

JW