11 years, 2 months ago.

Using FRDM-KL25Z to program a kl24z external target board

I was just wondering if its possible to use mbed with the freedom board frdm-kl25z to flash binary into a target kl24z. I have no idea if the mbed firmware can do that, I am already using with the kl25z target on the board successfully.

Question relating to:

Did you ever figure out how to program a second kl25z using mbed?

posted by Braxtron Advance 07 Dec 2013

4 Answers

10 years, 11 months ago.

Hello guys,

should be possible with CMSIS-DAP interface. There is one board hack needed to do for KL25Z freedom board, cut J11 trace, then use J6 header to program other board. Let us know your result!

Regards,
0xc0170

10 years, 11 months ago.

I've successfully programmed both versions of the boards I made for the KL25Z (32QFN and 64QFP) using a FRDM-KL25Z as the programmer. The FRDM board also provided the power for my boards, at least while I'm still developing the software for them.

I cut the trace J11 as noted above, then connected +3.3V, GND, RESET, SWD_DIO and SWD_CLK from J6 to my board.

Part of the connected FRDM board may be seen here: http://blog.sundayschildsnapshots.com/wp/2013/10/yet-another-little-board/

Thanks David for sharing this information!

posted by Martin Kojtal 24 Dec 2013
10 years, 8 months ago.

Today I tried to program a custom KL05Z board using the FRDM-KL05Z and it did not work. I used USBDM successfully with arm-none-eabi-gdb. how exaclty can I use mbed the same way. Is there an mbed CMSIS-DAP firmware that i can use with gdb for this board?

10 years, 8 months ago.

Depending on board Revision, follow the procedure here and it works fine:

https://community.freescale.com/message/326257#326257