DFU Bootloader

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

DFU Bootloader

Jump to solution
1,036 Views
kp2309
Contributor I

Can I get the source code for DFU bootloader for K40. First I want to use it in tower kit and then in our board.

Please correct me if I am wrong: DFU(Device firmware upgrade) bootloader is the one in which K40 will act as Host and will scan for devices being connected to USB port. Once the device is enumerated it will use file system to read the executable from device connected and dump it in flash/EEPROM. On next power cycle or any event it will run new application

 

Is my understanding about DFU bootloader is right? If yes please help me get the source code.

 

Thanks in advance

 

-KP

0 Kudos
1 Solution
609 Views
mnorman
NXP Employee
NXP Employee

KP,

 

USB DFU is used to upgrade the firmware of the USB device, not the host.  

 

USB DFU spec:

http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf

 

You can find the application note for using the DFU software provided by Freescale for Kinetis here:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4370.pdf

 

The software that goes with the app note is here:

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN4370SW&location=null&fpsp=1&Paren...

 

I hope that helps. 

-mnorman

View solution in original post

0 Kudos
1 Reply
610 Views
mnorman
NXP Employee
NXP Employee

KP,

 

USB DFU is used to upgrade the firmware of the USB device, not the host.  

 

USB DFU spec:

http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf

 

You can find the application note for using the DFU software provided by Freescale for Kinetis here:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4370.pdf

 

The software that goes with the app note is here:

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN4370SW&location=null&fpsp=1&Paren...

 

I hope that helps. 

-mnorman

0 Kudos