Freescale Freedom boards in mbed
Page last updated
15 Jul 2014, by
Martin Kojtal.
18
replies
compiler,
Freedom,
Freescale,
k20d50m,
kl02z,
KL05Z,
KL25z,
kl46z,
mbed,
porting
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:
KL46z would be great; especially with LCD driver!
for the kl05z, is there an mbed firmware? link please... I have this board and havent tried anything with it.
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
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
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
How long before i can use mbed with FRDM-KL46z !?! thanks!
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
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.
I hate to be a mocking bird but some progress in this area would be greatly appreciated!
especially for the FRDM-K20D50M
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
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.
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
KevinKarplus
#
24 Feb 2014
What is the schedule for the KL26Z? It should be a fairly minor update for the KL25Z.
Hello Kevin Karplus,
yes, KL26Z should be trivial to add. I am engaged to other tasks. It will be added ;)
Will the kl26z work if I add it as a kl25z?
Hi Martin,
Here's my nudge for doing the KL26Z port.
Thanks!
-Keith
rafaelmassocato
#
21 Jun 2017
And about other boards? I have a FRDM-KL43Z, can i use in mbed? need some kind of bootloader or something?
I hate to resurrect an old thread but ...
Any update on adding the Freedom KL26Z?
Please log in to post comments.
KL46z would be great; especially with LCD driver!