AnsweredAssumed Answered

MKL17Z256VFM4 + Kinetis Design Studio + Software development kit + PE Micro Multilink cannot debug and download

Question asked by on Sep 17, 2015
Latest reply on Sep 21, 2015 by Iva Susnova

Hi all,


we are tring to use the MKL17Z256VFM4 on our custom board to develop out product.


We are facing problem on downloading and debugging the project into our board.

First of all, this is what we do to get the processor available in the KDS:


1) Download and install Kinetis Design Studio 3.0.0

2) Download and install KSDK 1.2.0_KL33Z_1.0.0

3) On KDS: Help => Install new software => Add... => Archive => and we selected the Eclipse_Update zip in the tools\eclipse_update folder

4) Download and install KSDK 1.2.0_MainLine release

5) On KDS: Help => Install new software => Add... => Archive => and we selected the Eclipse_Update zip in the tools\eclipse_update folder


After this we can create a project using the MKL17Z256VFM4 and Processor Expert


The problems start when we try to download and debug the code into our board: we are using P&E Micro Multilink to do this, using SWD protocol. So we created the Debug Configuration as described everywhere.


But after this, a lot of problems start...there is no only one single problem, but more than one...often different between them. One of the most is the follow (copy & past from the Console tab):


Connection from "" via

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.2.1.201509111213\win32\pegdbserver_console -device=Freescale_KL1x_KL17Z256M4 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 4





Target has been RESET and is active.

CMD>CM C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.2.1.201509111213\win32\gdi\P&E\supportFiles_ARM\Freescale\KL1x\freescale_kl17z256m4_1x32x64k_pflash.arp





;version 1.01, 07/31/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. [kl17z_256k_n_pflash_m0]


;device freescale, kl17z256m4, 1x32x64k, desc=pflash



;begin_cs device=$00000000, length=$00040000, ram=$20000000


Loading programming algorithm ...

Error loading .ARP file : C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.2.1.201509111213\win32\gdi\P&E\supportFiles_ARM\Freescale\KL1x\freescale_kl17z256m4_1x32x64k_pflash.arp at address 20000000


Error loading programming algorithm - load aborted.


Error occured during Flash programming.


PE-ERROR: Error downloading to the device.


It seems there is errors with "gdb" tool. Also, when the error above appears,

Other error is:

- Error in services launch sequence

And some others...


Just for saying, we develop other products using MKE02Z64VLH4 & Eclipse & PE Multilink, without any problems. And in fact, KDS with our MKE02Z64VLH4 boards, works perfectly.


Where could be the issues? Can you help us?


Thanks in advance!