herunterladen
![](https://oss-datasheet.aipcba.com/html/D73E6217D11605D060BED777D8876138/bg1.png)
KEA Bootloader
1 Introduction
This application note describes the architecture and usage of the KEA
bootloader.
This bootloader supports SPI (Serial Peripheral Interface) and UART
(Universal Asynchronous Receiver/Transmitter) as communication
interfaces and can be easily modified to support other kinds of
communication interfaces.
2 Architecture description
The bootloader is organized in three layers:
• Bootloader - is in charge of starting the user application and polling for incoming data
• Communication handling / Memory handling – is in charge of processing the received data and handling the writes to non-
volatile memory
• Microcontroller drivers – is in charge of handling all the low-level communication with the actual peripherals available on
the microcontroller.
The following image showcases a diagram of the architecture of the bootloader:
Contents
1 Introduction........................................... 1
2 Architecture description.......................1
2.1 Bootloader workflow
overview............................... 3
2.2 Communication
handling overview.................5
3 Building compatible applications........ 8
4 Using the bootloader............................ 8
4.1 SPI interface...................... 9
4.2 UART interface.................. 9
A Appendix A.......................................... 11
A.1 On KDS........................... 11
A.2 S32DS.............................16
B Appendix B..........................................20
B.1 Linker file on KDS............20
B.2 Linker file on S32DS........23
NXP Semiconductors
Document Number: AN5400
Application Note Rev. 0, 04/2017