Freescale Freedom boards in mbed

Freescale freedom boards

I will keep this notepad as my personal TODO list, what boards are available on the market, which are already supported by mbed. The following list contains info about new ports as well.

List of the freedom boards:

  • FRDM-KL02z
  • FRDM-KE02z
  • FRDM-KL05z - already supported in the online compiler
  • FRDM-KL25z - already supported in the online compiler
  • FRDM-KL26z
  • FRDM-KL46z - already supported in the online compiler
  • FRDM-K20D50M - already supported in the online compiler
  • FRDM-K64F - already supported in the online compiler

List of the compilers supported for each board:

  • FRDM-KL02z
  • FRDM-KE02z
  • FRDM-KL05z - ARMCC (KEIL) GCC_ARM, uARMCC
  • FRDM-KL25z - ARMCC (KEIL), GCC_ARM
  • FRDM-KL26z
  • FRDM-KL46z - ARMCC (KEIL), GCC_ARM
  • FRDM-K20D50M - ARMCC (KEIL), GCC_ARM
  • FRDM-K64F - ARMCC (KEIL), GCC_ARM

List of the CMSIS-DAP interface (mbed interface) for each board:

  • FRDM-KL02z - available
  • FRDM-KE02z
  • FRDM-KL05z - available
  • FRDM-KL25z - available
  • FRDM-KL26z - available
  • FRDM-KL46z - available
  • FRDM-K20D50M - available
  • FRDM-K64F - available

Any requests, just leave a comment or write it through pm.

Check my fork of the mbed repository on github where you can find in progress platforms (look at my branches).


18 comments on Freescale Freedom boards in mbed:

27 Aug 2013

KL46z would be great; especially with LCD driver!

01 Sep 2013

for the kl05z, is there an mbed firmware? link please... I have this board and havent tried anything with it.

01 Sep 2013

David Karibe wrote:

for the kl05z, is there an mbed firmware? link please... I have this board and havent tried anything with it.

I am not aware of any at the moment but guys have been working on it according to information I have. Anyway, you don't need the mbed firmware for using KL05Z. There is at least one option - offline free version of KEIL (with CMSIS-DAP firmware) or ARM GCC (CMSIS-DAP or JLink). Which one do you prefer? Check handbook for more information http://mbed.org/handbook/mbed-tools

16 Sep 2013

Hi I have just purchased a couple of FRDM-KE02z and like the look of embed.

Is this list of freedom boards a list of already supported freedom boards or is it just the two (KL5 KL25),

I would like to use the FRDM-KE02z with embed

16 Sep 2013

John Adams wrote:

Hi I have just purchased a couple of FRDM-KE02z and like the look of embed.

Is this list of freedom boards a list of already supported freedom boards or is it just the two (KL5 KL25),

I would like to use the FRDM-KE02z with embed

Hello,

I would like to start porting KL02Z this month, a plan for KE02Z is not set.. I have not used this board yet, I will find out how much it differs from KL02Z.

Regards,
0xc0170

02 Oct 2013

How long before i can use mbed with FRDM-KL46z !?! thanks!

02 Oct 2013

Filza Niazi wrote:

How long before i can use mbed with FRDM-KL46z !?! thanks!

Hello,

the KL46Z was merged into mbed, I am running some tests, it's still not complete . Are you asking about mbed online availability? I will have to find out when mbed interface is ready. I'll update status here ;) If you want to run mbed offline on KL46Z, I can notify you when my test branch gets pushed to mbed repository. I wrote few tutorials how to run mbed offline.

Regards,
0xc0170

13 Oct 2013

when the FRDM-KE02z - will be supported by mbed???

FRDM-KE02z I have one, but I need the support of mbed, because I'm really interested in running the applications that run on my old FRDM-KL25z.

Please help me fast!

excuse my English is very irregular.

02 Jan 2014

I hate to be a mocking bird but some progress in this area would be greatly appreciated! especially for the FRDM-K20D50M

02 Jan 2014

Hello Andrew Miller,

FRDM-K20D50M is nearly done, you can even try it from mbed sources. The more info can be found in my notepad.
I share what iI am busy with on my twitter/my blog, if anyone interested.

Regards,
0xc0170

23 Jan 2014

Hello Martin,

In order to make FRDM-K20D50M as a debugger, (not using OpenSDA MK20, but the target MCU MK20DX128VLH5 on board). I am collecting all resources for bootloader and debugger firmware.

I have checked out sources from https://github.com/mbedmicro/CMSIS-DAP to test bootloader as well as intf F/W. I build it and test it in FRDM-K20D50M with Keil uVision4. Because I am not familiar with github so far, I can not find its documentation page at all. I have to ask questions here, please let me know if there is any other correct way to do that. (Sorry, I can not access blogspot.com from my country, either).

If I am correct, the bootloader is trying to load a BINARY file into relocated address at 0x5000. It is suitable for a new MK20 chip. However, PEmicro defines a relocated address at 0x8000 and locks the chip. How a user can load 0x5000 version firmware into OpenSDA? Or the firmware is not for OpenSDA hardware?

I changed the firmware slightly to relocated address of 0x8000. By copying a binary file into MSC bootloader. I found only the first 1KB has been programmed correctly (from 0x8000 to 0x83FF), but the following flash blocks have wrong content. Maybe it is a bug? I have reported this issue via github.

UPDATE 1 I have double checked original version (0x5000), I loaded a binary file converted from PEmicro's release. it seems beeing programmed correclty.

UPDATE 2 I loaded converted binary file of mBed intf F/W, and programming via MSC bootloader, it contains different content in 0x54000x540F. If the firmware starts from 0x0000, there is Flash protection bytes here. And the following content is wrong either. It seems the buffers is corrupt.

Here is a simple testpattern binary file, increased from 0x00 to 0xFF repeatly. The content is identical to its LSB of its address. /media/uploads/allankliu/testptrn.bin

And it is the snapshot in Keil for programmed flash memory from 0x5400. /media/uploads/allankliu/testpatternprogrammed.png

Additionally, the original Keil project for intf F/W of K20 has starting address of 0x0000, which is wrong. Because we can only simply copy 0x0000 firmware to 0x5000 simply.

At last, thanks for your contributions for open source. Please let me how can I contribute to the project as well.

Yours sincerely

Allan K Liu

23 Jan 2014

Hello Alan K Liu,

I will reply on the github, here's link for others: https://github.com/mbedmicro/CMSIS-DAP/issues/16

Regards, 0xc0170

24 Feb 2014

What is the schedule for the KL26Z? It should be a fairly minor update for the KL25Z.

26 Feb 2014

Hello Kevin Karplus,

yes, KL26Z should be trivial to add. I am engaged to other tasks. It will be added ;)

06 Mar 2014

Will the kl26z work if I add it as a kl25z?

17 Jun 2014

Hi Martin, Here's my nudge for doing the KL26Z port. Thanks! -Keith

21 Jun 2017

And about other boards? I have a FRDM-KL43Z, can i use in mbed? need some kind of bootloader or something?

13 Dec 2017

I hate to resurrect an old thread but ... Any update on adding the Freedom KL26Z?

Please log in to post comments.