Failed to resume target process

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Failed to resume target process

跳至解决方案
1,950 次查看
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,701 次查看
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,702 次查看
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,701 次查看
iswanghe
Contributor II

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