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.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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.

1,190 次查看
rickwilson
Contributor I

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

标签 (1)
0 项奖励
回复
3 回复数

1,077 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Rick.

frdm-kl02z already integrated OpenSDA USB (J2) on board. why do you use SWD (J1) to debug ?

pastedImage_1.png

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,077 次查看
rickwilson
Contributor I

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

0 项奖励
回复

1,077 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Rick,

- How to configure the debug configurations ? Please check the Device name :

pastedImage_0.png

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

0 项奖励
回复