Developing for FRDM-KL25Z platform in Linux – Introduction

Posted: Mar 13, 2014 in Tech
Tags: , , , ,


Table of contents:

  1. Introduction
  2. Crosstoolchain
  3. Building
  4. Flashing
  5. Debugging

This series of posts depict my trials on building, flashing and debugging a sample application for the Freescale FRDM-KL25Z board in Gentoo GNU/Linux OS. The application (a simple multicolor LED blinking program) was originally developed using CodeWarrior 10.4 with Processor Expert for Windows. The relevant source files of the application were copied without any changes and compiled in Linux using GNU Autotools for configuring the build process.

What is covered:

  • Setup of an ARM crosstoolchain in Gentoo Linux;
  • Cross-building in Linux an application developed with CodeWarrior IDE;
  • Flashing an application to FRDM-KL25Z board in Linux;
  • Debugging a FRDM-KL25Z application in Linux.

A few things that are NOT covered:

  • Executing CodeWarrior IDE in Linux;
  • Updating sources of applications using Processor Expert in Linux;
  • Integration with Eclipse;
  • Setup steps known to be effective in GNU/Linux distros other than Gentoo (although a great deal of them is expected to be compatible).

Note: for an excellent tutorial on setting up a free and functional GNU gcc + Eclipse + debugger environment for use with the Freescale FRDM-KL25Z board in Windows, take a look at DIY Free Toolchain for Kinetis

Whenever possible, all instructions make use of free software tools.

Let’s get started in Crosstoolchain where we setup build tools for ARM CPUs in your Gentoo Linux system.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s