frdm-k22f + IAR (j-link) cannot connect

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

frdm-k22f + IAR (j-link) cannot connect

ソリューションへジャンプ
1,304件の閲覧回数
shkim9
Contributor II
I am using the frdm-k22f board with IAR.
If connect J-link to J11 header (SWD Debug) and click Debug button in IAR, it will get error that connection is not possible as follows.

InitTarget (): PCode returned with error code -1.
All H/W connections have been verified.

I do not know what is happening.
error code 2.pngerror code.png
0 件の賞賛
返信
1 解決策
1,151件の閲覧回数
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hello Kim, I hope you're doing well,

 

Could you please check if the project is configured as follows:

pastedImage_1.png

pastedImage_2.png

As you can see from the schematic, the J-link connection is through a SWD interface.

pastedImage_3.png

Also, could you please check if both J10 and J13 jumpers are disconnected?

 

Please, let me know if you continue to have any problems.

 

 

Best regards,

Sebastian

元の投稿で解決策を見る

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

Hello Kim, I hope you're doing well,

 

Could you please check if the project is configured as follows:

pastedImage_1.png

pastedImage_2.png

As you can see from the schematic, the J-link connection is through a SWD interface.

pastedImage_3.png

Also, could you please check if both J10 and J13 jumpers are disconnected?

 

Please, let me know if you continue to have any problems.

 

 

Best regards,

Sebastian

0 件の賞賛
返信
1,151件の閲覧回数
shkim9
Contributor II

hello sebastian.

A new error has occurred\
j-link error.PNG
It seems that the OpenSDA bootloader is in flash.
so if i click "yes" button, bootloader may be erased.
I'll try if I can get an extra frdm board later.
best regards.
0 件の賞賛
返信
1,151件の閲覧回数
shkim9
Contributor II

this problem solved.

after unsecure device ("yes" click) , power off/on, debug connection successfully established.

j-link error.PNG

0 件の賞賛
返信