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..."
Then I checked my settings, like this:
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:
I am looking forward to your guidance eagerly. Thanks!
Solved! Go to Solution.
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.
Choose your Debugger and file you want to flash and click Erase and Program.
After successful flashing, click on debug configuration.
Choose correct configuration (FLASH) and as Debug type session choose Attach. Also check Execute initialization script button and click Debug.
Now you should be able to debug the code you flashed.
Please try this solution, and write me back if it works.
Regards,
Martin
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.
Choose your Debugger and file you want to flash and click Erase and Program.
After successful flashing, click on debug configuration.
Choose correct configuration (FLASH) and as Debug type session choose Attach. Also check Execute initialization script button and click Debug.
Now you should be able to debug the code you flashed.
Please try this solution, and write me back if it works.
Regards,
Martin
The problem has been resolved in accordance with your method. Thank you very much!