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 "127.0.0.1" via 127.0.0.1
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_184.108.40.206509111213\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.
;version 1.01, 07/31/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [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_220.127.116.11509111213\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!