External J-link does not work with with K64F in CW 10.6, works with KDS and IAR?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

External J-link does not work with with K64F in CW 10.6, works with KDS and IAR?

ソリューションへジャンプ
1,487件の閲覧回数
ironsean
Contributor V

After experimenting with the new KSDK and the KDS in various versions, as well as testing IAR with the KSDK, I've determined KDS and the KSDK is just a little too unstable to using going forward yet. Particularly the debugging in KDS seems buggy.

 

So I've switched back to CodeWarrior 10.6 and the new MQX 4.2 (which includes the features of the KSDK I needed). However, I've run into something strange:

 

In CodeWarrior 10.4 and previous versions of MQX, as well as in the KDS 2.0 and KDS 3.0, and in IAR, I can choose to use either the internal emulated J-link in the K64F with the Segger firmware(which I find to be a bit buggy and inconsistent), or an external Segger J-Link box plugged into the JTAG 10-pin connector on the K64F. The external box works in the other IDEs, and works more consistently than the emulated J-link.

 

But with Codewarrior 10.6 and MQX 4.2, I can't get the external J-link to work. It's LED flashes red, and the LED near the reset button on the K64F flash red, and it eventually fails. I also can't figure out how to enable the output from the debugger to display in a console in CodeWarrior, where it was on by default in KDS.

 

Sean

ラベル(1)
0 件の賞賛
返信
1 解決策
1,296件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sean MacKay:

Open the Debug Configurations and go to Target Settings -> Edit. Make sure that the Debug port interface is set to SWD:

pastedImage_2.png


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,297件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sean MacKay:

Open the Debug Configurations and go to Target Settings -> Edit. Make sure that the Debug port interface is set to SWD:

pastedImage_2.png


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,296件の閲覧回数
ironsean
Contributor V

Thank you! That did the trick!

0 件の賞賛
返信
1,296件の閲覧回数
ironsean
Contributor V

Also strange, I've installed the v4.98e version of the segger tools, but CodeWarrior still runs J-Link V4.90e for some reason.

0 件の賞賛
返信