Page 1 of 5
Using capture vpw from pcm hammer tools. Cable setup help
Posted: Tue Apr 13, 2021 4:50 am
by 04colyZQ8
I’m staring a new thread as suggested to setup my y split obd port to scan VPW commands being sent from the mongoose pro. Using a avt 852, but I can use a eml327? If that’s what supposed to be used? It’s a Ford elm237 but I think it handles VPW as well? Can anyone help me set this up? Thanks Jamie
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Tue Apr 13, 2021 9:44 am
by Tazzi
The ELM can monitor VPW at 1x speed, it cannot if the J tool or AVT goes to 4x speed.
With an ELM you can begin monitoring by sending:
ATSP2
ATH1
ATMA
Basically this sets protocol to VPW, turns on the headers and then says monitor all live data on the bus
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Tue Apr 13, 2021 10:12 am
by 04colyZQ8
Tazzi wrote:The ELM can monitor VPW at 1x speed, it cannot if the J tool or AVT goes to 4x speed.
With an ELM you can begin monitoring by sending:
ATSP2
ATH1
ATMA
Basically this sets protocol to VPW, turns on the headers and then says monitor all live data on the bus
Ok and I would type this in during command prompt? Right after I type captureseriral com5 115200 file names.txt hit enter
Then atsp2, ath1, atma?
Won’t trying any key stop the log?
I have a avt 852 which id prefer to use to view the VPW at write speed 4x
I just don’t know how to get it into monitor mode?
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Tue Apr 13, 2021 10:23 am
by Tazzi
No idea about that captureserial com5 stuff your referring to.
The commands can be typed into a serial terminal such as putty or teraterm.
As for AVT, you will need to make a basic program to send the raw byte commands to the AVT to control it and read live data from it, it does not work with a serial terminal application like above.
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Tue Apr 13, 2021 7:07 pm
by antus
yes you need to use the hexterm program from avt-hq. the 1x and 4x is also a pain, your app will need to detect the request to change speed and tell the AVT to do so. I did create a protocol decoder for sigrok which will decode both 1x and 4x, but it wont give you a nice hex dump without some kind of extra hackery, its probably not easier than writing a tool to monitor the bus and switch the speed when you need to. Also watch out for ford labeled stuff, usually when interfaces are branded like that it means the omit components for other protocols. Its not always the case but if you cant get any result after setting vpw it probably is the case.
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Wed Apr 14, 2021 12:05 am
by Gampy
You can use CaptureSerial, however you must first setup your tool using a terminal program like PuTTY, once setup, exit PuTTY to release the port, open CaptureSerial ... Why! PuTTY was already open/used and it will happily do the same thing.
To reiterate, add to or whatever, all I can add is some general tips (some is repeat) ... I know very little about the Mongoose or AVT.
1. The monitoring device has to be in it's monitoring mode.
2. Both devices have to be set to the same protocol.
3. Both devices have to be set to the same bus speed. (VPW 1x or 4x in this case)
4. The sending device cannot send more data then the monitoring device's receive buffer can handle.
Thus tools like the Mongoose and or AVT will easily overflow the buffers on a ELM device, it will work, you just need to reduce the packet sizes.
I use PuTTY as the Monitoring application, it's simple, single file, does not pollute your system!
- PuTTY_Artistry.PNG (16.43 KiB) Viewed 4627 times
The following AT commands are what I use on a ELM device for Monitoring, they are typed into PuTTY after connecting,
AT Z
AT AL
AT SP2
AT AR
AT ST20
AT H1
AT S0
AT MA
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Fri Apr 16, 2021 2:58 am
by 04colyZQ8
For some reason when I open the window I see just hazy gray when I try to type commands using putty? And pressing enter just gives more gray fuzz?
I’m thinking the baud is wrong? Or echo or keyboard isn’t setup write? Any ideas?
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Fri Apr 16, 2021 3:27 am
by Gampy
After you set the PuTTY settings, and you click Open you should get a window that looks like,
- PuTTY_EmptyWindow.png (1.71 KiB) Viewed 4551 times
Hit Enter and you should get,
- PuTTY_Prompt.png (1.84 KiB) Viewed 4551 times
If you do not, then you most likely have the wrong Baud setting ... I would try 9600.
It depends on what the internal programed baud default is, it is changeable in most devices.
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Fri Apr 16, 2021 5:13 am
by 04colyZQ8
Ok I tried 9600 and then 38400 I think it’s 38400 it’s a Ford branded elm327. I get
>now I type AT Z
And hit enter and goes back?
Like cursor goes between >(cursor)t z and the a disappeared.
I have a elm329 Also but I don’t think that handles class 2 vpw?
Re: Using capture vpw from pcm hammer tools. Cable setup hel
Posted: Fri Apr 16, 2021 6:01 am
by Gampy
That's it, you're in!
That is the ELM prompt. ('>')
However if I understand correctly it appears the device is a POS that does not properly follow the ELM specifications.
You should get the following, or close!
- PuTTY-ATZ.png (2.33 KiB) Viewed 4544 times
Try copying and pasting the AT commands ... To paste into PuTTY use the Right Mouse button.