Recent

This Page

User

Freescale Kinetis Support

The below information provides additional details of the specifics of the Kinetis support, beyond the general information on using Red Suite that is provided in the Getting Started guide (which can be found in your tools installation, or else downloaded from the Red Suite Documentation FAQ).

Supported parts

K series

Red Suite v4.3.0 introduced initial support for Freescale's Kinetis family of MCUs - providing support for specific K series parts, with support for additional K series parts then added in Red Suite v5.0.14. and v5.1.0

Sub-family

Part

Red Suite release support added in

Example Board

K10_50

MK10DX128xxx5

5.0.14

Other parts

5.1.0

K10_72

MK10DX128xxx7

5.0.14

Other parts

5.1.0

K10_100

MK10DX128xxx10

5.0.14

Other parts

5.1.0

K10_100_Z

MK10DX128Zxxx10

5.0.14

Other parts

5.1.0

K10_120

MK10FX512xxx12

5.0.14

Other parts

5.1.0

K20_50

MK20DX128xxx5

4.3.0

TWR-K20D50M

Other parts

5.1.0

K20_72

MK20DX128xxx7

5.0.14

MK20DX256xxx7

5.0.14

Other parts

5.1.0

K20_100

MK20DX128xxx10

5.0.14

MK20DX256xxx10

5.0.14

Other parts

5.1.0

K20_100_Z

MK20DX128Zxxx10

5.0.14

Other parts

5.1.0

K20_120

MK20FX512xxx12

5.0.14

Other parts

5.1.0

K30_72

MK30DX256xxx7

5.0.14

Other parts

5.1.0

K30_100

MK30DX256xxx10

5.0.14

Other parts

5.1.0

K30_100_Z

MK30DX256Zxxx10

5.0.14

Other parts

5.1.0

K40_72

MK40DX256xxx7

5.0.14

Other parts

5.1.0

K40_100

MK40DX256xxx10

5.0.14

Other parts

5.1.0

K40_100_Z

MK40DX256Zxxx10

4.3.0

TWR-K40X256

Other parts

5.1.0

K50_72

MK50DX256xxx7

5.0.14

Other parts

5.1.0

K50_100

MK50DX256xxx10

5.0.14

Other parts

5.1.0

K50_100_Z

MK50DX256Zxxx10

5.0.14

Other parts

5.1.0

K51_72

MK51DX256xxx7

5.0.14

Other parts

5.1.0

K51_100

MK51DX256xxx10

5.0.14

Other parts

5.1.0

K51_100_Z

MK51DX256Zxxx10

5.0.14

Other parts

5.1.0

K60_100_Z

MK60DN512Zxxx10

4.3.0

TWR-K60N512

Other parts

5.1.0

K60_100

MK60DN512xxx10

4.3.0

TWR-K60D100M

Other parts

5.1.0

K60_120

MK60FN1M0xxx12

4.3.0

TWR-K60F120M

Other parts

5.1.0

K60_150

MK60FN1M0xxx15

5.0.14

Other parts

5.1.0

K70_120

MK70FN1M0xxx12

4.3.0

TWR-K70F120M

Other parts

5.1.0

K70_150

MK70FN1M0xxx15

5.0.14

Other parts

5.1.0

Note that partial support for some of the above parts was included in Red Suite 4.3.0. However this was not complete and appropriate flash drivers were not available. If you have created a project for such a part using a version of the tools earlier than v5.0.14, then you should reselect the MCU within Project Properties in order to pick up the updated part definition.

L Series

In addition, the Red Suite 5 release adds support for the Kinetis L series of parts, as used on the Freescale FRDM-KL25Z board. Support for additional L series parts was then added in Red Suite v5.0.14:

Sub-family

Part

Red Suite release support added in

Example Board

KL02

All parts

5.2.2

FRDM-KL02Z

KL04

MKL04Z8xxx4

5.0.14 (but see below note)

MKL04Z16xxx4

5.0.14 (but see below note)

MKL04Z32xxx4

5.0.14 (but see below note)

KL05

MKL05Z8xxx4

5.0.14 (but see below note)

MKL05Z16xxx4

5.0.14 (but see below note)

MKL05Z32xxx4

5.0.14 (but see below note)

FRDM-KL05Z

KL14

MKL14Z32xxx4

5.0.14 (but see below note)

MKL14Z64xxx4

5.0.14 (but see below note)

KL15

MKL15Z32xxx4

5.0.14 (but see below note)

MKL15Z64xxx4

5.0.14 (but see below note)

MKL15Z128xxx4

5.0.14 (but see below note)

KL24

MKL24Z32xxx4

5.0.10

MKL24Z64xxx4

5.0.10

KL25

MKL25Z32xxx4

5.0.10

MKL25Z64xxx4

5.0.10

MKL25Z128xxx4

5.0.10

FRDM-KL25Z

IMPORTANT NOTE for KL0x / KL1x users

The startup code generated by the Red Suite 5.0.14 project wizard for these parts did not correctly place the flash config bytes correctly at address 0x400. This means that the generated application would potentially lock the target MCU when it is programmed into flash. This issue was fixed in the Red Suite v5.1.0 project wizard, and we would recommend all users to update to this version or later.

Alternatively if using a project created using Red Suite 5.0.14, replace the startup code generated by the wizard with the appropriate file from this zip file:

Other parts

Support for additional sub-families and parts will be made available in forthcoming releases. If you have requirements for support for specific parts, please Contact Code Red Support.

Project creation

The support for Kinetis parts is broken down into the Families (eg K20) and sub-families (eg K20_50) specified by Freescale.

When selecting a particular Kinetis part as the target MCU for your project, in order to locate the part in the Red Suite MCU selection pane, you will need to confirm in the appropriate Frescale documentation as to which sub-family it belongs to.

For each sub-family, Red Suite provides a CMSIS library project which can be imported from the examples folder of your Red Suite installation. In addition, for certain evaluation boards, Red Suite also provides one or more example projects.

Note that when creating new projects, if you are going to use CMSIS, you will need to import the appropriate CMSIS library projects from the Examples subdirectory of your Red Suite installation, before selecting it in the project wizard.

Processor Expert Projects

Red Suite 5.2.2 and later provide support for building and debugging projects created via Freescale's Processor Expert plugin for Eclipse. For more information, please see the Red Suite 5 Getting Started Guide.

The is also an article on using this functionality on Erich Styger's "MCU on Eclipse" blog site.

Note : Due to restrictions with the FRDM board's boot loader, the Redlink debug firmware can only be downloaded to the board using a Windows PC. But once this has been done, you can make debug connections from any supported host running Red Suite.

To install or upgrade the debug firmware:

Place the FRDM board into boot loader mode:

Hold down the button SW1 while connecting a USB cable from your PC to the board's debug USB port.

Note - the FRDM-KL25Z has two USB ports. To locate the debug USB port, hold the FRDM board with the USB ports on the left. The debug USB port is the lower of the two ports.

When in boot loader mode, the FRDM Board will appear as a mass storage drive on your host computer.

(*) The Code Red debug firmware image is located in the bin directory of your product installation. It is named K20_50_Redlink_Vn.m.s19, where m.n is the version number.

When the firmware has copied, disconnect the FRDM board from USB.

Reconnect the FRDM board to USB. It will appear as a HID USB device called Redlink

Red Suite will now recognise and use the FRDM board as a valid debug Probe.

Evaluation Period

When using Red Suite with an evaluation activation code, this provides you with a 60 day evaluation period. However if you are connecting to a FRDM board with Code Red's "Redlink" debug firmware, you can continue to use Red Suite with your FRDM board with a 128KB code size limitation (64KB in versions before 5.2.2) after you 60 day evaluation period has expired. Note that the FRDM board must be connected to your computer at all times, not just when debugging.

Examples

The latest versions of the Kinetis example projects are provide in the product. The latest version of Red Suite can be download from our Downloads and Versions page.