Hello. I'm trying to download a simple program to FRDM-KL25 board but I'm still getting this message:
Error: Flash Download failed - Target DLL has been cancelled.
I have already:
Then, I don't know what I'm missing. I'm attaching some images of the configurations.
Thanks for your support.
Hi Alejandro,
KL25's driver is not Kinetis OSJtag. It's PEMicro.
Please download driver and firmware form the link:
Regards
Jing
Hello Jing. Thanks.
Yeah, I actually had that option available before. Let me give some extra information.
At first I had two issues:
Both: the "PE34298 error" and the "Flash error" were present at a time. After I installed the OSJTAG drivers the first error disappeared but the "flash thing error" remained. Also, the option "PEMicro Debugger" disappeared and "Pemicro OSJtag/Multilink/Cyclo" option appeared instead.
I understand that the default debug firmware on KL25 is PEMicro, and the link you gave me talks about that. Anyway, on the proccess I also tried with "CMSIS-DAP_OpenSDA.S19". I downloaded the firmware to the board with the proper procedure and then selected the "CMSIS-DAP Debugger" option on target configurations at Keil IDE. I didn't work neither. So I went back to download the OpenSDA firmware.
So you see "Pemicro OSJtag/Multilink/Cyclo" option selected because "PEMicro Debugger" is not available anymore.
Anyway, I doubt that to be the problem, just beacuse the problem was there even when "PEMicro Debugger" was selected.
Just to be clear, the board has again the OpenSDA firmware; but problem is still there.
What do you recommend?
Hello Alejandro or anyone out there,
I am stuck with the same issue sas stated by Alejandro.
I have followed all the installation procedure listed above as as much as I can find online.
Alejandro, how did you solve this?
Help is welcomed from anyone out there.
Thanks very much.