Specifications
Developer’s Serial Bootloader, Rev. 13
FC protocol, version 5, Kinetis
Freescale Semiconductor36
Number of UART & GPIO pin for receiver (Rx)
#define BOOT_UART_GPIO_PIN_RX 17
Number of UART & GPIO pin for transmitter (Tx)
#define BOOT_UART_GPIO_PIN_TX 16
/**************************************************/
/* Actual used PIN reset setting */
#define BOOT_PIN_ENABLE_PORT_BASE PORTC_BASE_PTR
#define BOOT_PIN_ENABLE_GPIO_BASE PTC_BASE_PTR
#define BOOT_PIN_ENABLE_NUM 9
Following macros allows using of voluntary bootloader features:
Read command feature allows to check the flash memory.
#define BOOTLOADER_ENABLE_READ_CMD 1
Watchdog timer can be enabled or disabled.
#define BOOTLOADER_INT_WATCHDOG 0
Verification of memory without CRC functions
#define BOOTLOADER_ENABLE_VERIFY 1
Verification of memory with CRC functions
#define BOOTLOADER_CRC_ENABLE 1
Autotrimming function allows to calibrate internal oscillator of MCU. If these feature is not
enabled user must define your own clock initialization or trimming of internal oscillator.
#define BOOTLOADER_AUTO_TRIMMING 1
This feature allows using external pin for the bootloader starting
#define BOOTLOADER_PIN_ENABLE 0
/**************************************************/
/** CALIBRATION OF BOOTLOADER TRIM SETTINGS */
Address of flex timer base pointer
#define BOOT_CALIBRATION_TIMER FTM0_BASE_PTR
Address of GPIO PORT base pointer
#define BOOT_CALIBRATION_GPIO_PORT PTE_BASE_PTR
7.8 Quick guide: How to prepare the user Kinetis application for
AN2295 bootloader
There are three limitations that must be taken care to modify the user application to be ready to run with
AN2295 bootloader:
1. Linker File: The user application has to be moved above the bootloader code. The following rules
inform where to move the user application:










