S12XDP512 download

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

S12XDP512 download

2,469 Views
gravity
Contributor I
I am attempting to program a S12xDP512 using CW 4.5 and P&E multilink.
 
The program is just the default one generated by the CW new project wizard.
 
The debugger reports the following message box
 
"Error while loading diagnostic algorhythm to target system..."
 
and the command line reports
 
"FP: Begin writing Info applet code.
ICD_WriteBytes(2000..205C):
-put_data_byte_block(2000..205B) [92] (in 15 ms)
-write_data_byte(205C..205C) [1] => 00
ICD_ReadBytes(1F00..20FF):
-get_data_byte_block(1F00..20FF) [512] (in 31 ms)
FP: Applet readback error.
FP: Could not write Info applet."
 
The flash gets writtten but not the reset vector
 
I have tested on another processor. The difference between the two is
 
Working device  - S12XDP512 112 pin 5v
Non working       - S12XDP512 144 pin 3.3v
 
The problem has occurred on 3 boards using the 144 pin 3.3v system, so I'm hoping it's not bad devices!
 
Does anyone have suggestion on where to go from here?
 
Thanks
 
 
 
 
 
Labels (1)
0 Kudos
4 Replies

570 Views
DanielM
Contributor III
Hi,

this is likely to be a problem with BKGD, RESET or one of the MODx pins. Make sure there is 3k3 pull-up on BKGD and reset and that MODA and MODB are not pulled up on your board.

Daniel
0 Kudos

570 Views
gravity
Contributor I
I'm using CW 4.5 which supports the S12X. I have another S12X with which the download is working.
Prog12z is the standalone programmer, so I don't see how that fits in.
0 Kudos

570 Views
Ilocano
Contributor I
Oh sorry about that, I misunderstood the problem. I had a similar problem you see.
0 Kudos

570 Views
Ilocano
Contributor I
You need version 1.69 of there prog12z software that works with
the S12X series.
0 Kudos