I'm unable to establish a connection to the target while running the debugger provided within the KDS. I'm trying to run 'hello_world_frdmkl02z debug jlink.launch. Do I need to be using the OPEN-SDA INTERFACE JTAG CONNECTOR (J3)?
Ive connected a Jlink to the SWD (J1) of the Freedom KL02Z and am still not able to establish connection using the debugger using the Kinetis Design Studio.
Does anyone have a suggestion?
Message was edited by: Rick Wilson
Hi Rick.
frdm-kl02z already integrated OpenSDA USB (J2) on board. why do you use SWD (J1) to debug ?
here is the video of how to get started with FRDM-KL02Z
Freedom Development Platform for Kinetis KL02|NXP
the default firmware of OpenSDA USB is P&E open SDA. in case it is corrupt, you can use attached MSD-DEBUG-FRDM-KL02Z_Pemicro_v114.SDA to have it update.
if you want to use J1 anyway, please make sure the connector is soldered well and also provide external power supply to the board meanwhile.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jennie,
Thank you is much for your reply!
I was able to use J1 with the SEGGAR or IAR J-Link device. I didn't have a Pemicro device on hand.
I seem to have it working fine now!
Thank you so much.
Regards,
Rick Wilson
Sent from my iPhone
Hello Rick,
- How to configure the debug configurations ? Please check the Device name :
And if still can not work well , please show the error .
- And you also can use the usb (j2) directly to connect and debug (need not use connect emulator), only need drag and drop the file of
"DEBUG-APP_v105_Pemicro.SDA" to the bootloader, then when debug select the "GDB PEMicro Interace Debugging".
Hope it helps
Alice