I can't debug my EVB9S12XF512E anymore,help!!!

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

I can't debug my EVB9S12XF512E anymore,help!!!

1,811 Views
usstfreescale
Contributor I

Hi,All.

     I have a problem to debug my board use Codewarrior.My developer kit  is "S12XFSTARTERKITE"(S12XF 2-node Starter Kit),Codewarrior version is V5.1. Yesterday,I was debugging my 2-nodes FlexRay program.However,during Debugging,A problem appeared, I can't download my programme into one EVB9S12XF512E. The I try to download programme into another EVB9S12XF512E,the same situation happen again.

     Now the 2 EVB9S12XF512E still work as the last time download programme ,Only problem is that I can't download any programme into my board. And I doubt that the MCU has been Secured.

     In the process of Degugger,A "HI-WAVE" window popping firstly,said "Communication with the target failed:The target MCU has no clock or wrong BDM clock speed is used or derivative is secured",press "confirm" button,then appear a "Warning" window,said "Loading a new application will stop the execution of the current one",press "OK".Very soon,a "Non Volatile Memory Control" window appear,said "Error while loading diagnostics algorithm to target system,The chip may be secured,or the derivative selected may be wrong".after "confirm".A "NVM Programmation" window appear which says "This opeartion has been canceled". That's all the process I met.

    I also use the "P&E Microcomputer System MC9S12 Unsecure Program" to unsecure the MCU,But It still can't work,said that "ERROR - Communication with target,Appropriate interface speed not found".

    Now,I don't know what to do and how to do,could anyone give me some good suggestion?Thank you very much,I will waiting for the on-line.

Labels (1)
Tags (1)
0 Kudos
7 Replies

673 Views
kef
Specialist I
 
in your copy of P&E unsecure program, do you see HC12 Type - controls? If you don't, then you should upgrade your Unsecure utility. If you do, then you should select HC12 Type = XExxx.
0 Kudos

673 Views
usstfreescale
Contributor I

Hi,kef,

I try to unsecure chip in different "HC12 Type",include Generic、XExxxx、Pxxx.

But I am sorry to tell you that the problem still persists.

0 Kudos

673 Views
qty154
Contributor I

Hello!

 

Same problem. Did you manage to fix it?

 

//Attila

0 Kudos

673 Views
zied
Contributor I

i have the same problem too

0 Kudos

673 Views
csabesz
Contributor I

Hi All, 

I had a same problem in a ECU soldered with XF384. 

 

Symptoms was:

1) P&E BDM - Hiwave 6.1 

2) download failed with message: flash failed or protected, even if erase in flash menu finished without error

3) P&E unsecure with generic and XExxx option failed with communication error

4) Hiwave could not connect further more 

 

Solution:

There was a WDG (internal or external I did not really know as this ECU is a closed box) disable jumper.After putting the jumper to it unsecure worked and hiwave too after that. 

 

You may have some kind of WDG problem too during unsecure....

0 Kudos

673 Views
qty154
Contributor I

Hello!

 

Same problem. Did you manage to fix it?

 

//Attila

 

0 Kudos

673 Views
Lundin
Senior Contributor IV

It does sound like a secure hiccup... that or bad cables & connectors. Measure the BDM and reset pins on the MCU with an oscilloscope. Does the signal reach it?

 

Also measure the oscillator frequency. Poorly soldered crystals are common, and the MCU may still be working but in self-clock mode ("limp home").

 

Maybe the actual BDM pod is broken? Do you have a second one to try with?

0 Kudos