Page 1 of 4

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

Posted: Fri Jan 12, 2024 10:28 am
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!

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

Posted: Fri Jan 12, 2024 10:33 am
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?

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

Posted: Fri Jan 12, 2024 11:18 am
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.

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

Posted: Fri Jan 12, 2024 1:24 pm
by 04colyZQ8
Universal patcher works fine odly with both

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

Posted: Fri Jan 12, 2024 1:31 pm
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

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

Posted: Sat Jan 13, 2024 2:06 pm
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

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

Posted: Sat Jan 13, 2024 3:53 pm
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.

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

Posted: Sun Jan 14, 2024 1:01 am
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

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

Posted: Tue Jan 16, 2024 1:30 am
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?

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

Posted: Tue Jan 16, 2024 1:36 am
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.