Hi Tymoteusz,
The P&E opensda on the FRDM-KL25 didn't support to program the K64, I already check it in our FRDM-KL25 and FRDM-K64 board.
But you can try to change the FRDM-KL25 firmware to JLINK firmware, now follow these steps:
1. Change FRDM-KL25 firmware to JLINK
1) download jlink driver
SEGGER - The Embedded Experts - Download
2) download my attachment and unzip it.
You will get JLink_OpenSDA_2015-10-13.sda
3)power off your board, press reset button, and hold on it, then plug the board to your PC, your board will be a Disk named as: BOOTLOADDER
4) Send JLink_OpenSDA_2015-10-13.sda to your BOOTLOADER
and wait the sending finished
5) unplug and plug the USB cable again.
2, Cut the wire between the two pin in FRDM-KL25 J11,
3, connect J6(swd interface) to your K64 board, and configure the download interface as JLINK.
You can try it, I can download the code to my FRDM-K64 board with the JLINK firmware in FRDM-KL25, but I am not sure, whether the JLINK firmware can support the none NXP board's kinetis chip, because I don't have none official board.
After you try it, please let me know the result.
If your K64 board's SWD interface is correct, and still can't download, I suggest you buy a Segger JLINK to debug your K64.
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------