Failed to resume target process

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to resume target process

Jump to solution
925 Views
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!

Labels (1)
1 Solution
676 Views
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

View solution in original post

0 Kudos
2 Replies
677 Views
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 Kudos
676 Views
iswanghe
Contributor II

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