Avt 852 not working with vpwexplorer or older tuner cat programs help

Programs / Tools / Scripts
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

The avt 852 is no longer in production! I still have it but bought a new cable as a spare which is a avt 853 converted by tuner cat to use usb cable. The modified avt 853 works with the latest tuner cat update. But doesn’t work on older tc programs I need to work on those!
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

Is there source code for vpwexplorer? Because it also fails to connect to the newer cable. I think all cases the programs are not able to open the com port. On the newer cable.

Funny thing is avt term which is as old as the sun connects just fine after switching the baud rate from 576000 to 152000. I changed the cables baud rate to match the old one still doesn’t work. It seems to take all the same commands as the old cable in avt term so what is going on?
kur4o
Posts: 954
Joined: Sun Apr 10, 2016 9:20 pm

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by kur4o »

Something is broken, since tunercat older version don`t work, means there is some special handling on later versions.

You can get avt hex terminal and start debugging the changes. Just for the fun you can test it with universal patcher. It works fine with avt852.
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

Universal patcher works fine odly with both
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by antus »

universal patcher? as in it's embedded copy of pcmhammer which shares source with vpw explorer? Or do you mean the avt console, which maybe doesnt validate cable version? The source code for vpw explorer is in the pcmhammer repo, it uses the same library. https://github.com/LegacyNsfw/PcmHacks/ ... pwExplorer

Probably the conversion is putting a usb gateway in front of the ethernet interface, or in parallel to the interface straight to the CPU inside the cable. But, its probably still reporting that its an 853. It'd probably be a case of editing pcmhammer here to be able to identify it. But if we advertised it was supported then people with 853s would come to us asking how we select it's IP, and IP based cable connections would remain unsupported.
https://github.com/LegacyNsfw/PcmHacks/ ... ice.cs#L67
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

Oh ok I didn’t see it in the repo for pcm hammer I thought it was in there? Is it called something else? Which file has the Avt or serial interface source code? I had to make several changes to get the latest pcm hammer to compile, and still getting errors missing files and references.

Does it check for model? The source code for universal patcher didn’t maybe that is why it works. Instead Id checking the model as 853 try making it check for case 0x27 or 9227 response and avt that reports that will use the same commands as a 85x series
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by antus »

Yes, click the link I gave you again. Its exactly to the switch statement in pcmhammers avt driver that does not support the 853 and you can see what its checking to end up with:

Code: Select all

                    default:
                        this.Logger.AddUserMessage("Unknown and unsupported AVT device detected. Please add support and submit a patch!");
                        return false;
You would need to add another case statement there to add the 853, and in one or two other places the type of avt is checked, so you might need to change the logic there too, though I think 852 logic is default, so it might work with just one for entry in that switch statement.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

I’m so sorry I didn’t get realize you included a link that went to the line of code! I changed that already but it didn’t output a debug bin exe fine for the vpwexplorer.

Also I don’t see that adding a case for the 853 would help? Because the 853 will still arrive at the same case 27, without modified code. And it should respond to all the same commands. So vpwexplorer so would only print 852 Instead of 853.

I think it’s not opening the serial port.

How come the 852 runs at any baud? And the 853 only ran at 152000 baud rate? Until I changed it to 526000
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by 04colyZQ8 »

I changed the model still doesn’t work. I think it’s because it’s using a ft232 converter for the modded 853 as opposed to the ftdi original 852. Wound that cause a issue?
kur4o
Posts: 954
Joined: Sun Apr 10, 2016 9:20 pm

Re: Avt 852 not working with vpwexplorer or older tuner cat programs help

Post by kur4o »

avt852, don`t care about baudrate, since it is virtual serial or parallel connection.
if avt853 use ftdi to serial you need correct baud rate configured.

Your best bet to debug is too see why it works with universal patcher, maybe do some debug log on initial connection, to see how it is initialized.

patcher-debug tab->enable debug, copy data and post here for analysis.
Post Reply