Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: Yan on September 06, 2007, 03:52:31 PM

Title: Programming LPC2378 through USB
Post by: Yan on September 06, 2007, 03:52:31 PM
The LPC2378 has a USB port.
Our application uses that USB port.
But we need the facility to do a field reprogramming.
We dont want to add a serial port to the product (old news).
Does anyone know if NXP/flash magic are planning a USB bootloader?

Thanks

Yan
Title: Re: Programming LPC2378 through USB
Post by: Je Gold on September 09, 2007, 02:09:24 AM
You will probably have to use a secondary bootloader.... NXP in their wisdom - have "consistently" used the UART bootloader (other than JTAG).

Once you have your application up an running you can make function calls to the IAP (In Application Programming) to reprogram segments of flash code space....  warning - it will be up to your application program to manage all the bootloader issues.. eg reading data from USB channels and locating  and programming flash.


Joe
Title: Re: Programming LPC2378 through USB
Post by: Je Gold on September 09, 2007, 02:13:51 AM
You might have a look at http://www.tnkernel.com/usb_bulk.html to give you some ideas.

It's for the LPC214x micro's though.

Joe