Hello sudhakar p:
For loading the firmware from an external memory unfortunately there is no example available for K64.
Basically you need at least 2 things: external flash driver + internal flash routines.
- You need to implement the external memory driver.
- For the flash routines you can take the driver C90TFS integrated with KSDK: C:\Freescale\KSDK_1.2.0\platform\drivers\src\flash\C90TFS
For other bootloader interfaces (e.g. UART, USB HID), you can download Kinetis Bootloader (KBOOT):
Kinetis Bootloader|Freescale
This includes a KDS project for K64.
There are other examples about bootloader implementations for your reference, such as AN2295 (UART bootloader):
http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf
Regards!
Jorge Gonzalez