Programming LPC2378 through USB

Started by Yan, September 06, 2007, 03:52:31 PM

Previous topic - Next topic

Yan

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

Je Gold

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

Je Gold

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