Flash Magic Forum

Archive => Old Topics => Topic started by: BigGuy26 on July 15, 2004, 05:05:20 AM

Title: How to send a LPC921 into ISP with USB?
Post by: BigGuy26 on July 15, 2004, 05:05:20 AM
I want to be able to send my LPC921 into ISP mode using a USB cable, but I do not want to add another micro to the board.  Will just calling the the boot loader (by setting the Boot Status bit) when voltage is detected on the USB line work?  Right now I plan an input pin on the LPC921 connected to the USB device.  If there is a better way, please tell me.  Thanks.

Brian
Title: Re: How to send a LPC921 into ISP with USB?
Post by: Andy Ayre on July 15, 2004, 08:21:11 AM
you can use IAP to set the Status Bit and then use the watchdog to timeout. You could also use a USB to RS232 cable.

Title: Re: How to send a LPC921 into ISP with USB?
Post by: BigGuy26 on July 16, 2004, 06:50:19 AM
Thanks fo the advice.  Can I use the IAP Lite to write 0x01 to the status bit  If so, what is the address of the status bit?  (Sorry, I am new at this)
Thanks