background image

Here is how to reflash CARPROG Mcu AT91SAM7S256 step by step, first of all I wish to thanks to 
lupu_sandu, elchip, autocargo, Tachonow, carradio2001 and all DK forum members who made this 
possible. 
I bought my Carprog clone 4.01 from digi_obd but after about 50 uses starts a counter: "260 uses left - 
update hardware to synchronize" and was decreasing, anyway 260 uses is big number to recover the 
investment (us $209 dlls), the programmer was paid before the counter starts. 
 
Ok, first we need this stuff: 
 
1.- AT91SAM7S256 bin: 

http://www.digital-kaos.co.uk/forums...og-rev-0.3.rar

 

2.- Jtag programmer: 

 

3.- Jtag software: 

http://www.digital-kaos.co.uk/forums....1-release.rar

 

 
We need to prepare the Carprog to connect to Jtag programmer but first the flash need to be erased, 
the Jtag function in mcu is dissabled, you can't connect to the mcu before erase the flash. Remove the 
AT88SC eeprom from the board, please note where is the pin 1 in eeprom before remove: 
 

 

 
Carefully lift the pin 55 (reset) of the mcu and solder a wire and secure it with a small ammount of 
silicone (you don't want to broke the pin in the process). 
Connect the Carprog (with the pin 55 dissconected) to the 12v supply, wait about 10 seconds and 
connect the wire from pin 55 to Vcc (3.3V) in Carprog: 
 

background image

 

 

 

 
Wait from 5 to 10 seconds after connect the 12v supply, the flash content will be erased and the Jtag 
option of the Mcu will be enabled now. If not work leave connected for about 3 to 5 minutes. 
Disconnect the 12v supply from carprog and remove the pin 55 wire from vcc. The pin 55 must remain 
disconnected until the programming process is done. 
 
Install the H-JTAG software in your pc. 

 

 

Now we can make the connections from Carprog to Jtag programmer: 
 
Carprog Pinout: 
 

background image

 

 
Jtag Pinout: 
 

 

 
And here is the Carprog connected to the JTAG programmer (note that the pin 55 wire is 
disconnected): 
 

 

 

background image

After the H-Jtag sotware is installed we can procced to configure: 
 
Open the H-Jtag server and make the adjustments: 
 
Select the port: 
 

 

 
LPT Jtag setting: 
 

 

 
TAP configuration: 
 

background image

 

 
Target manager: 
 

 

 
Now connect the carprog to JTag programmer and 12v supply and press "Detect Target" in H-TAG 
server, now the Carprog Mcu is detected!!!: 
 

 

 

background image

Now we procced to program the AT91 mcu: 
 
Start the H-FLASHER and select the AT91SAM7S256 from the list: 
 

 

 
-Go to "4 Programming" in the programming wizzard and press "Check" to verify the communication 
with the target mcu, if all is ok the values must be: 
Flash: AT91SAM7S256 0x270D0940 
Target: ARM7TDMI LITTLE-ENDIAN 
-In "Type" select: "Plain Binary Format" 
-In "Dst Addr" select: "Flash Base Address" 
-In "Src File" select the location of the AT91SAM7S256 bin in your hard drive.: 
 

 

 
Now press the "Program" button and wait to finish: 
 

background image

 

 
If the progrmming was succefull you will receive the next message: 
 

 

 
You can verify again if everything is ok by pressing the button "Verify": 
 

 

 
The programming process is finished!!, disconnect the 12v supply, then disconnect the programmer 
from carprog, solder the pin 55 wire to Ground (check the picture) and put back the AT88SC eeprom, 

background image

reassemble the carprog and test it. 
 

 

 
I already made some further tests and the Carprog works well with any version of the software and the 
COUNTER IS GONE!!! 
Tested with versions: 3.75, 4.0, 4.1, 4.5, 4.85 and 4.86, the counter never start again.