Failed to resume target process

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

Failed to resume target process

ソリューションへジャンプ
1,940件の閲覧回数
iswanghe
Contributor II

Hi,  i'm wang He, I am attempting to debug MPC5606B  in CodeWarrior 10.5 and I am getting this error "Failed to resume target process. Downloading binary to target..."

150182_150182.bmp1.bmp

Then I checked my settings, like this:

150183_150183.GIFIMG_20160523_094659.GIF

 

150184_150184.GIF3.GIF

150189_150189.GIF5.GIF

 

 

And I am sure I have select the right chip.

The board is TRK-MPC5606B: MPC5606B StarterTRAK. And the Emulators/Probes is Universal Multilink Development Interface

 

The borad settings just like this:

150188_150188.GIF4.GIF

 

 

I am looking forward to your guidance eagerly. Thanks!

ラベル(1)
1 解決策
1,691件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

I tested the use case you described, and I found there is the same problem on my side (I think there is some problem with internal scripts, but I did not found it). So I invented workaround, which should work.

Do not use debug icon to download your program to micro. Instead of it, use Flash programmer->Flash File To Target.

pastedImage_0.png

Choose your Debugger and file you want to flash and click Erase and Program.

pastedImage_1.png

After successful flashing, click on debug configuration.

pastedImage_2.png

Choose correct configuration (FLASH) and as Debug type session choose Attach. Also check Execute initialization script button and click Debug.

pastedImage_3.png

Now you should be able to debug the code you flashed.

pastedImage_4.png

Please try this solution, and write me back if it works.

Regards,

Martin

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,692件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

I tested the use case you described, and I found there is the same problem on my side (I think there is some problem with internal scripts, but I did not found it). So I invented workaround, which should work.

Do not use debug icon to download your program to micro. Instead of it, use Flash programmer->Flash File To Target.

pastedImage_0.png

Choose your Debugger and file you want to flash and click Erase and Program.

pastedImage_1.png

After successful flashing, click on debug configuration.

pastedImage_2.png

Choose correct configuration (FLASH) and as Debug type session choose Attach. Also check Execute initialization script button and click Debug.

pastedImage_3.png

Now you should be able to debug the code you flashed.

pastedImage_4.png

Please try this solution, and write me back if it works.

Regards,

Martin

0 件の賞賛
返信
1,691件の閲覧回数
iswanghe
Contributor II

The problem has been resolved in accordance with your method. Thank you very much!