Hi,
I've try to run the debugger in CodeWarrior.
I've encounter the following error:
"An error occured while connecting to the interface hardware or target specified in the launch configuration dialog.
For this launch you may retry/ re-specify the connection with the following parametrs:....."
Do anyone have an idea? help will be appreciated.
Thanks.
Roy Ed
Roy
Have you loaded the P&E debugger to the FRDM-KL25Z? - P&E Microcomputer Systems
The board tend to be delivered with the mbed debugger loaded, which can't be used with CW.
Regards
Mark
as additional information:
Factory FRDM-KL25Z boards do not come with a debugger interface loaded, only with a USB MSD (Mass Storage Device) bootloader.
Newer boards (FRDM-K64F, FRDM-K22F) come with MSD/CDC/CMSIS-DAP loaded, so you can debug it out of the box with either CMSIS-DAP/OpenOCD debuggers (e.g. Keil, IAR or Kinetis Design Studio).
Erich
Let me confirm if what I know is correct
To fix this
(1) Download firmware(FRDM-KL25Z_QSP) and unzip it
FRDM-KL25Z_QSP
http://cache.freescale.com/files/32bit/software/board_support_packages/FRDM-KL25Z_QSP.zip
(2) Set FRDM-KL25Z to bootloader mode by
re-connecting FRDM-KL25Z while pushing the reset switch
(3) copy the firmware from uncompressed FRDM-KL25Z_QSP namely
FRDM-KL25Z Quick Start Package\Open SDA Applications\DEBUG-APP_Pemicro_v102.SDA by dragging it to the "Bootloader" mode FRDM-KL25Z.
(4) disconnect and re-connect FRDM-KL25Z to PC
(5) Check if P&E Connection Assistant detect the board
Please correct me if I understood wrong
Motoo Tanaka
Hello Motoo Tanaka:
The steps are correct, but the firmware in (3) is an old version. So I recommend you to go to www.pemicro.com/opensda and download the latest Firmware apps, then use the one called MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA. This version combines Debugger + MSD Bootloader.
:smileyalert: Unzip the file, do not drag directly from the zip.
Regards!
Jorge Gonzalez
Dear Jorge Gonzalez-san,
Thank you very much for the information!
I have just tried the firmware you mentioned with
mbed
CodeWarrior v10.6
IAR EWARM v7.20
KDS 1.0.1
KDS 1.1.0
and all of them worked fine!
Since I had to switch firmwares between mbed and others, before,
this is a great time saver!
Best Regards,
20-Aug-2014
Motoo Tanaka
Have you loaded the debug firmware?
Otherwise: The Freescale OpenSDA Trap: “No Device Available”, or something like that…. | MCU on Eclipse
I hope this helps,
Erich