Some issue during using P&E USE multilink interface debug MS9S12VR

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

Some issue during using P&E USE multilink interface debug MS9S12VR

398 Views
kernwang
Contributor II

IDE is codewarrior 5.9.

When i actiave the debug, during program flash the tool always report following error.

Can some one help to explain the root cause?

I double confirm the VDD and GND is working ok.

Is there a issue the MCU clock speed is 5000Hz?

Thanks very much!

149399_149399.pngpastedImage_0.png

Labels (1)
0 Kudos
1 Reply

309 Views
RadekS
NXP Employee
NXP Employee

Hi Juejie,

It seems that BDM communication is not correct in your case.

Unfortunately, I was not able to reproduce it.

From my point of view, it looks like that there start some communication, but it fails very early.

Typical issues:

1.    Please check BDM connector orientation

2.    Please connect just one BDM interface to your PC

3.    S12VR needs battery voltage, please connect 12V to your board

4.    Do you use external watchdog? Please disconnect it during programming.

5.    Please check ribbon cable connection. The cable or one of the connectors may be broken.

Do you use any evaluation board, or you have your own PCB?

The strange is also your missing line prior “MCU clock speed:” and block module ranges. There should be line with loading flash parameters. So, the problem may be also in some wrong project path settings.

In my case it looks like:

hiwave-log.png

In case of CW5.2 is there line:

FP: FLASH parameters loaded for MC9S12VR64_V0_5(NVMIF2 rev 3,3,3,3) from C:\Program Files (x86)\Freescale\CWS12v5.2\prog\FPP\mcu01CD.fpp

Note: 5.9 version of IDE (it is common for several CW versions). Please look at menu-Help-About-Installed Products for more details about CW version.


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos