Specifications

Developer’s Serial Bootloader, Rev. 13
FC protocol, version 5, Kinetis
Freescale Semiconductor34
Figure 25. Interrupt Vector Table Relocation Explanation for Kinetis (Version 5)
7.7 Correct setting of configuration file
Bootloader configuration file bootloader_cfg.h offers a new feature to the users with using predefined
configuration files for many of Kinetis evaluation boards and also allows the user to create any specific
configuration.
Configuration file bootloader_cfg.h (for example using predefined
configuration for TOWER K60 board)
#ifdef KINETIS_K
#include "AN2295_TWR_K60_cfg.h"
#endif
For the correct function of the bootloader must be defined the following
macros (configuration file AN2295_TWR_K60_cfg.h):
/**************************************************/
INIT SP
BOOTLOADER INTERRUPT
0x00000004
INTERRUPT VECTOR TABLE
USER CODE
Bootloader START
0xd00
EXIT
0x410
BOOTLOADER CODE
RESET Bootloader
0x00000000
0x000001C0
0x00004000
USER APPLICATION
0x00004400
0x4400 - 0x7FFFF
PROTECTED
VECTOR TABLE
APPLICATION INTERRUPT
VECTOR TABLE
Redirection