EasyManuals Logo

NXP Semiconductors K22F series User Manual

NXP Semiconductors K22F series
1407 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #294 background imageLoading...
Page #294 background image
For this device, the Kinetis Flashloader can interface with USB, UART, I2C, and SPI
peripherals in slave mode and respond to the commands sent by a master (or host)
communicating on one of those ports. The host/master can be a firmware-download
application running on a PC or an embedded host communicating with the Kinetis
Flashloader. Regardless of the host/master (PC or embedded host), the Kinetis
Flashloader always uses a command protocol to communicate with that host/master.
Commands are provided to write to memory (flash or RAM), erase flash, and get/set
flashloader options and property values. The host application can query the set of
available commands.
This chapter describes Kinetis Flashloader features, functionality, command structure and
which peripherals are supported.
Features supported by the Kinetis Flashloader :
• Supports USB FS, UART, I2C, and SPI peripheral interfaces
• Automatic detection of the active peripheral
• UART peripheral with autobaud
• Common packet-based protocol for all peripherals
• Packet error detection and retransmission
• Protection of RAM used by the flashloader while it is running
• Provides command to read properties of the device, such as flash and RAM size
Table 13-2. Commands supported by the Kinetis Flashloader
Command Description When flash security is
enabled, then this command is
Call Runs user application code and returns control to
bootloader
Not supported
Execute Run user application code that never returns control to
the flashloader
Not supported
FillMemory Fill a range of bytes in flash with a word pattern Not supported
FlashEraseAll Erase the entire flash array Not supported
FlashEraseRegion Erase a range of sectors in flash Not supported
FlashProgramOnce Writes data provided in a command packet to a
specified range of bytes in the program once field
Not supported
FlashReadOnce Returns the contents of the program once field by
given index and byte count
Not supported
FlashReadResource Returns the contents of the IFR field or Flash firmware
ID, by given offset, byte count and option
Not supported
WriteMemory Write data to memory Not supported
ReadMemory Read data from memory Not supported
GetProperty Get the current value of a property Supported
Reset Reset the chip Supported
SetProperty Attempt to modify a writable property Supported
Introduction
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
294 NXP Semiconductors

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors K22F series and is the answer not in the manual?

NXP Semiconductors K22F series Specifications

General IconGeneral
BrandNXP Semiconductors
ModelK22F series
CategoryController
LanguageEnglish

Related product manuals