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,191件の閲覧回数
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,078件の閲覧回数
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,078件の閲覧回数
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,078件の閲覧回数
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 件の賞賛
返信