This document is a supplement for USB MSC device bootloader revision for FRDM-KL25Z (IAR) written by Kai Liu and describes the bootloader support for FRDM-K64F. FTFE support, board specific and MCU specific code was added to the initial software. This porting work was done for connectivity purposes but it can be used as support for FRDM-K64F board. Please refer to USB-KW24D512 MSD Bootloader to find out how to use this bootloader, binary files upload and other restrictions.
The bootloader has conditional jump to user application. The condition is the state of the SW2 button (PTC6). If the button is pressed (PTC6 grounded) during reset, the bootloader sequence will start, installing BOOTLOADER drive. Else if the button is released during reset, the SP and PC will be updated from address 0xC000. This means, the user application has to be designed so as to have 0xC000 application start address. If a valid SP and PC value is found at address 0xC000, the user application is launched. The bootloader application is located in the flash memory of the MK64FN1M0VLL12 microcontroller, from address 0x0000 to 0xBFFF, so the user application should not access this memory region.
The bootloader software was tested under Microsoft Windows 10, Microsoft Windows 8, Microsoft Windows 7 and Ubuntu 14.04 operating systems.
- USB_MSD_Bootloader.bin – boolader binary file for FRDM-K64;
- Pflash_1024KB_0xC000.icf – IAR linker file for user application development;
- Demos.7z - user application demo S record files for FRDM-K64F (got from Kinetis SDK demo list).
Original Attachment has been moved to: USB_MSD_Bootloader.zip
Original Attachment has been moved to: Demos.7z.zip
Original Attachment has been moved to: USB_MSD_Bootloader.bin.zip
Original Attachment has been moved to: Pflash_1024KB_0xC000.icf.zip