Target request failed: Failed to step, An error occurred while trying to Step in target.

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

Target request failed: Failed to step, An error occurred while trying to Step in target.

ソリューションへジャンプ
767件の閲覧回数
danielchai
Senior Contributor I

Hi All,

I ported the BSP from K60F120M to my target board. I want to try the UART communication using MQX RTOS.

But when I try to debug it, it always gives me lost connection  error.

p1.png

When I try to step in it and find which part cause this problem, at first step(when try to disable interrupt and clear flags), it gives me error:

"Target request failed: Failed to step, An error occurred while trying to Step in target."

p2.png

I checked my debugger setting, it is already set to disable interrupt when stepping.

p3.png

Any advices will be appreciated.

Thank you.

-Daniel

0 件の賞賛
返信
1 解決策
539件の閲覧回数
danielchai
Senior Contributor I

I figure it out. Because the ttya in the library is mapped to PTA1 and PTA2 which are also used for JTAG on my board.

I need to reconfigure the pin for it and it works.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
540件の閲覧回数
danielchai
Senior Contributor I

I figure it out. Because the ttya in the library is mapped to PTA1 and PTA2 which are also used for JTAG on my board.

I need to reconfigure the pin for it and it works.

0 件の賞賛
返信