Using capture vpw from pcm hammer tools. Cable setup help

160 And 8192 Baud Aldl
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

Using capture vpw from pcm hammer tools. Cable setup help

Post 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
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
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: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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?
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 8237
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: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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.
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
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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
PuTTY_Artistry.PNG (16.43 KiB) Viewed 4014 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
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
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: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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?
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: Using capture vpw from pcm hammer tools. Cable setup hel

Post by Gampy »

After you set the PuTTY settings, and you click Open you should get a window that looks like,
PuTTY_EmptyWindow.png
PuTTY_EmptyWindow.png (1.71 KiB) Viewed 3938 times
Hit Enter and you should get,
PuTTY_Prompt.png
PuTTY_Prompt.png (1.84 KiB) Viewed 3938 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.
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
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: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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?
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: Using capture vpw from pcm hammer tools. Cable setup hel

Post 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
PuTTY-ATZ.png (2.33 KiB) Viewed 3931 times
Try copying and pasting the AT commands ... To paste into PuTTY use the Right Mouse button.
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
Post Reply