Detecting the LPC900 is in ISP Mode

Started by Je Gold, July 08, 2009, 04:20:12 AM

Previous topic - Next topic

Je Gold

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

Andy Ayre

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
Embedded Systems Academy, Inc.
support at esacademy dot com

Jan Waclawek

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