hI,
I want bootloader code for custom board. i am using frdmk64f120 controller, kds 2.0 and KSDK 1.1.0. in my custom board
am not using OPENSDA chip. so i want sample bootloader code. using external data flash am going to update my Application code.
so i need your support to implement this one. can you give any sample bootloader code working with KDS IDE.
thanks and regards,
sudhakar p
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):
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