Segment Swap utility

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

ls1 97-98

B0 30 55 B0 * * * * 66 -dtc TABLE 1HIT

00 03 41 B0 * * * * 67 -DTC STATUS 4HITS

67 0C 4A 30 31 B0 * * * * -mil ON/OFF 1 HIT

Some v6s 2000+


B0 30 55 B0 * * * * 66 -dtc TABLE 1HIT

00 03 41 B0 * * * * 66 -DTC STATUS 2HITS

4A 30 11 B0 * * * * 67 -MIL on/off 4HITS, there migth be 1-2 false hits.
User avatar
joukoy
Posts: 398
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

kur4o wrote: I noticed some error in the printing of c and u errors.

For example in hex C1 07 prints as u0107, must be C0107
and D0 40 prints as u1040, must be u0040

The easiest way will be to exchange c with C0 and keep the rest
and exchange D with U0 and keep the rest.
I don't know what is correct, but current codes are equal with efi^h^h... one commercial software

Version 0.12.52 can find DTC codes from all P01/P59/e38/e67 files I have + some V6 binaries, not all.
Added some missing OBD2 codes, still lot of missing descriptions - but everyone can use search engines...?
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

DTC P2135
DTC P2636
DTC P2761
DTC P2771
DTC U0107
DTC U1000
DTC U1001-U1254
DTC U1241
DTC U1300, U1301, or U1305
DTC U1500

You are rigth about the prinout, I was misleaded.

C is exchanged with U0
D is exchenged with U1

There is no C codes from the pcm ,theses are from chassis controllers.
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

I found a bug in the 06-07 1mb bins.

The dtc table is a little different format. You need to skip 4 bytes after the code to get the next code.

It is something like this 00 16 xx xx xx xx 00 36 xx xx xx xx 00 56 and so on.

That explains and the different opcodes used there.
User avatar
joukoy
Posts: 398
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

kur4o wrote:I found a bug in the 06-07 1mb bins.

The dtc table is a little different format. You need to skip 4 bytes after the code to get the next code.

It is something like this 00 16 xx xx xx xx 00 36 xx xx xx xx 00 56 and so on.

That explains and the different opcodes used there.
Fixed in 0.12.53
User avatar
joukoy
Posts: 398
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

0.12.54

Fixed small bug: Clear DTC code list before opening new file. If DTC search is not supported for new file, list from previous file left visible.

Edit: DTC search still fails for most V6 binaries.
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

Great work.

I test the 06-07 and there is some problem finding the mil on/off table. I guess the search string got broken.

It should be 4A 30 31 B0 * * * * 67 2E -dtc mil on/off 2hits .

Test some v6 bins and it works on most of the 2000+ 512kb bins fine. Will try to find opcodes for other years.
User avatar
joukoy
Posts: 398
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

kur4o wrote:Great work.

I test the 06-07 and there is some problem finding the mil on/off table. I guess the search string got broken.

It should be 4A 30 31 B0 * * * * 67 2E -dtc mil on/off 2hits .
Copy-paste error
Fixed in 0.12.55
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

Found some opcodes that will work for all pre 2000 v6s

B6 30 05 B0 * * * * 66 -DTC TABLE 3HITS

BC 30 11 B0 * * * * 65 DTC STATUS 2 OR 3 HITS

67 0C 4A 30 01 B0 * * * * MIL ON/OFF 1HIT

Will look more for v6s 2004+ and 1mb files
kur4o
Posts: 1044
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Post by kur4o »

v6s 1mb

10 30 05 B0 * * * * -DTC TABLE 1HIT

18 30 31 B0 * * * * 67 06 -DTC STATUS 3 HITS

4A 30 11 B0 * * * * 67 2E -DTC MIL ON/OFF 2 HITS

there is 3rd DTC table here
4E 75 10 30 01 B0 * * * * 4E 75 DTC ??? TABLE 1 HIT[ TAKES VALUES OF 0 AND 03-05] Not sure what it is and is the same size as status and mil on/off.
Post Reply