0% found this document useful (0 votes)
21 views6 pages

Program Vagcom Cable

This document explains the steps to reprogram a VAG-COM cable that has been accidentally deprogrammed. First, several necessary programs and drivers must be downloaded. Then, the MProg program is used to reprogram the EEPROM memory of the FTDI and recognize the cable as HEX-USB. Finally, the PonyProg programmer is used to reprogram the ATmega162 microcontroller with the logic of the VAG-COM cable. By following these steps, the cable will be completely reprogrammed and ready to be used again.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views6 pages

Program Vagcom Cable

This document explains the steps to reprogram a VAG-COM cable that has been accidentally deprogrammed. First, several necessary programs and drivers must be downloaded. Then, the MProg program is used to reprogram the EEPROM memory of the FTDI and recognize the cable as HEX-USB. Finally, the PonyProg programmer is used to reprogram the ATmega162 microcontroller with the logic of the VAG-COM cable. By following these steps, the cable will be completely reprogrammed and ready to be used again.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

AreaVAG.

com

VAGCOM CABLE PROGRAMMING

By: bcm43xx

05/11/2010
VAGCOM cable programming

If we accidentally have unprogrammed our vagcom cable, we can recover it by following


step by step this manual.

First we need to download several programs and drivers:


[Link]
Here I have uploaded the necessary software to reprogram the vag-com cable. I have included
files so that the repaired/updated cable can be used with the latest version
available at this time, the VCDS 10.6.4.

-Mprog, to program the EEPROM of the FTDI, we installed it.

FTDI drivers, which we will use to install the cable and program the
memory

‐USBVIEW, to find out the vid and pid of our cable.

The template for the MProg with the configuration of the 93lc46 and the file for the Atmega

Ponyprog: To program the ATmega162, which is where the 'intelligence' is located.


the interface.

The steps necessary to repair the cable are as follows:

We obtain our vid and pid through USBVIEW


We download the drivers and modify the [Link] and [Link] files.
What we have to do with these two files is as simple as adding a few lines.
The ones I added are the ones in bold, I put VID_1EBD&PID_C000.
because my vid and pid were 1EBD and C000 respectively. Each one must put their vid and pid.

[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

AreaVAG – VAGCOM cable programming - by bcm43xx 1


Strings
FTDI
CDM Driver Package
FTDI USB Drivers Disk
Ports (COM & LPT)
USB Serial Port
USB Serial Port
Cable Vag-Com Unprogrammed
USB Serial Port Driver
Serenum Filter Driver

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.

This, we have no choice but to do it with a programmer. Since I didn't have


no programmer and also no desire to buy it because they are quite expensive.
I made one myself following this scheme.

AreaVAG - VAGCOM cable programming - by bcm43xx 2


The cost of all the components was €7 and the program we will use in this case
it is the ponyprog

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.

The pins of the atmega are: 1MOSI, 2MISO, 3SCK, 4RESET.


In my case, the pins of the 3x2 are 1 GND, 2 VCC, 3 MOSI, 4 MISO, 5 SCK, 6 RST.

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.

NOTE: The image says AVR ISP API,


but we must select AVR ISP I/O.

AreaVAG – VAGCOM cable programming - by bcm43xx 3


Next, we click on OK.

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.

AreaVAG – VAGCOM cable programming - by bcm43xx 4


Then we click on Command->Program options and select the last four.
checkbox.

Finally, we will click on Command->Program... and in a moment we will have the


recovered cable.

Now we just have to connect our cable and enjoy.

For any questions, you will find us in the [Link]

AreaVAG - VAGCOM cable programming - by bcm43xx 5

You might also like