Matthias Wetzel

HC12DG128A jumps to wrong adress

Discussion created by Matthias Wetzel on Apr 13, 2007
Latest reply on Apr 16, 2007 by kef
We are developing products based on the (very old) MC912DG128ACPVE.
 
I've got ONE exemplar of HC12DG128A that has the following behavior. At a point during startup there's the following code (start12.c):
 
start12.lst:
 345:        (*_startupData.main)();
0010 4bfb0000     CALL  [_startupData:1,PCR]
0014 20ea         BRA   *-20 ;abs = 0000
after linkage:
0x4236  CALL [0x0003, PC] --> jump into the function at adress [0x423D] = "page 1, 0xADB7"
Executing this command (Step into) yield to jump to "page 1, 0xEDB7".
 
Loading a different firmware revision:
0x4236  CALL [0x0003, PC] --> jump into the function at adress [0x423D] = "page 1, 0xAA2D"
Executing this command (Step into) yield to jump to "page 1, 0xEA2D".
 
--> Same behavior.
 
What is wrong here? Simply one board defect? If this would be the only problem, I would have dropped the board but we are facing a 10-30% failure rate on our boards: One or two pages got lost after programming with supplier's IC-Tester. Reprogramming these boards is possible. Now the question is: Does the upper processor bug relate to our 10-30%failure?
 
Processor Description:
MC912DG128ACPVE
0L05H
QQJL0622
 
I didn't find a direct relationship to the errata.pdf.
 
Thanks for your help.

Outcomes