LPC17xx USB Bootloader from Usb Memory stick

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC17xx USB Bootloader from Usb Memory stick

775 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RGB on Tue Dec 11 08:35:58 MST 2012
Hi everybody! Is there the possibility with LPC1768 to load firmware throught an USB Memory Stick without a PC? I think that I have to implement USB MAss Storage Class in Bootloader Mode. So at reset if a GPIO is in a particular state, I enter Bootloader mode, I read the Memory stick throught File system (USB Host lite) and if there is a valid .bin file I write it into Flash. All without a PC. Freescale Kinetis has this feature. Is it possible with NXP LPC1768? Is there an application note for it?

Thank you very much
Labels (1)
0 Kudos
3 Replies

464 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Thu Dec 20 11:11:56 MST 2012
No this is not possible. You can boot up and program your flash over UART0 using FlashMagic.
0 Kudos

464 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RGB on Wed Dec 12 06:04:52 MST 2012
Thank you for the answer.
But can I load all in bootloader? How can I do it?

Thanks


0 Kudos

464 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Tue Dec 11 15:53:07 MST 2012
This should be doable on this part. The USB stack nxpUSBlib has a mass storage class host example for this part but it only reads sectors. You would need to incorporate a FS (chanFS) on top of it to navigate the flash drive.
0 Kudos