Hello,
I am using MCU MC9S12G series. The controller is already mounted on a PCB.
I am using a jig to flash the MCU using PEs USB BDM Multilink (6 pin).
The controller is part of a pre-aged component.
The actual working voltage of the whole pcb is 24v.
The regulator supplies the MCU with 5V.
The voltages at the jig and BDM Multilink interfaces are Vdd = 5V
Reset = 5V
BGND = 5V
I am using code warrior for loading the code. The error obtained is
Hi-WAVE Communication to the target has failed
(target MCU has no clock or wrong BDM clock speed is used or derivative is secured!)
I have set the clock.
CLKDIV: [entered value here |default 73]
When i try to unsecure the MCU using the unsecure command in code warrior i get the following message :
"Derivative could NOT be unsecured"
I am unable to flash the code.
Another team has used the same jig to flash the code on to a 12v version of the pcb having same MCU, successfully.
Can the input voltage of the jig have any effect on flashing if i am getting 5v to the mcu?
Please help.
Hi,
I would like to share with you a check list I would use if the MCU does not communicaes with BDM.
Best Regards, Ladislav
Thank You,
I Checked the Oscillator clock.It is 16Mhz .
Checked XCLKS is connected to the correct logic level in order to select used oscillator circuitry.
Checked the TEST pin is tied to GND.
When i try to unsecure the MCU, The message displayed is : Derivative cannot be unsecured.
I believe the communication is not being established with the MCU and i am not sure of the reason.
I also used the unsecure_12 utility. Even that did not work.
I have two boards and the same issue persists with both.
I have verified all the other check points. I will try to use a simple project and verify.
Please suggest if any other things need to be done to resolve the issue.
My assumption is that : Communication with the controller is not being established.
Have u solved the problem?
What was the issue? If you know the solution.