Program Vagcom Cable
Program Vagcom Cable
com
By: bcm43xx
05/11/2010
VAGCOM cable programming
FTDI drivers, which we will use to install the cable and program the
memory
The template for the MProg with the configuration of the 93lc46 and the file for the Atmega
[FtdiHw]
%VID_0403&PID_6001.DeviceDesc%=[Link],FTDI
BUS\COMPORT&VID_0403&PID_6001
%VID_0403&PID_6010.DeviceDesc%=[Link],FTD
IBUS\COMPORT&VID_0403&PID_6010
%VID_1EBD&PID_C000.DeviceDesc%=FtdiPort232,FTDIBUS
\COMPORT&VID_1EBD&PID_C000
Next, we install the cable with these drivers, which will now recognize it.
subsequently we open the MProg.
The template for the MProg with the configuration of the 93lc46 and the file for the Atmega
we have downloaded previously.
What we will do with this program is the following (I am not including screenshots because
At the moment I haven't taken them, but I hope it is understood because it is easy):
First, we will "click" on Device->Scan. Next, we upload the template with
the good configuration and then we 'click' on Device->Program.
The FTDI is already programmed at this moment. If we disconnect and reconnect the cable in
the USB we will see that now it recognizes it as Ross-Tech HEX-Usb, and we can now install
the Vag-com drivers.
We still have one more step to get the cable working. Now we need to program the
ATmega162, which is where the 'intelligence' of the interface is located.
The next step is to find out how the pins are connected to the 3x2 connector. For this,
we will use a multimeter and we will be testing continuities.
Now that we know how they work, we will connect the programmer to the pins of the connector.
3x2, and we will also power the OBD connector with 12V. Pin 4 goes to GND and pin 16 to +12V.
We open ponyprog and click on Setup -> Interface Setup. In the window that opens
we select Parallel and AVR ISP I/O, as shown in the image.
After this, we click on Setup->Calibration, and in the window that opens, select 'Yes'.
Now we have to select the micro we are going to program, for that we click on
Device->AVR Micro->Atmega162.
To check if there is communication between the computer and the atmega, click on Command--
Read All.
If it shows no errors, everything is ready to program the micro.
Next, we load the file with which we are going to program the Atmega, File->Open
Device File... and we select the file that contains the atmega data.
It is also necessary to program the fuses correctly, otherwise the cable will return to
unprogram
For this, we click on Command -> Security and configuration bits and select the
checkbox as shown in the image.