Not able to connect JLINK debugger to MK64FX512xxx12. Getting error Connecting to target...ERROR: InitTarget(): PCode returned with error code -1

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

Not able to connect JLINK debugger to MK64FX512xxx12. Getting error Connecting to target...ERROR: InitTarget(): PCode returned with error code -1

1,226件の閲覧回数
amanarora
Contributor I

After successfully programming the code, controller works fine. When i again try to load the code, getting error : Connecting to target...ERROR: InitTarget(): PCode returned with error code -1. After resoldering the controller, it connects once more and then give same error. What could possibly be wrong.

0 件の賞賛
返信
1 返信

923件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Aman,

    Do you secure the chip at the first time program?

   You can use the JLINK command: unlock kinetis

   Then download the code again.

  Please try it on your side.

If you still have question about it, please kindly let me know.


Have a great day,
Kerry

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

0 件の賞賛
返信