Author Topic: Detecting the LPC900 is in ISP Mode  (Read 5030 times)

Je Gold

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Detecting the LPC900 is in ISP Mode
« 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Detecting the LPC900 is in ISP Mode
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: Detecting the LPC900 is in ISP Mode
« Reply #2 on: August 05, 2009, 12:03:02 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.


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