Segment Swap utility

They go by many names, P01, P59, VPW, '0411 etc . Circa 1999 to 2006. All VPW OBD2 PCMs.
User avatar
Posts: 292
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Sun Jun 07, 2020 8:16 pm

kur4o wrote:Since we are on the variables, Can we specify a variable value.

for example we type in the item field only var1=38 32;36 32; 34 32; 34 38 and use this in the search string or take a value for a variable from the bin, example var1=@00008000:2:hex.

It will be really useful when there are some different values for table lookup.



Version 0.12.13
Added new column for variables with 2 possible format:
var1=38 32;36 32; 34 32; 34 38
var1=@00008000:7

Previous methods for variables can be used, too.

Online
Posts: 293
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Sun Jun 07, 2020 11:35 pm

I checked the new var search and it looks something is broken. Can`t make it to work with old and new method. With new method the program hangs in some loop.

The the new hit search count is just great. I got alot more tables and the search issues seems to be gone now.

User avatar
Posts: 292
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Mon Jun 08, 2020 12:41 am

kur4o wrote:I checked the new var search and it looks something is broken. Can`t make it to work with old and new method. With new method the program hangs in some loop.

The the new hit search count is just great. I got alot more tables and the search issues seems to be gone now.


One possible reason for loop is empty search-config line. Version 0.12.14 ignores them
Variable handling fixed.

User avatar
Posts: 292
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Fri Jul 24, 2020 5:04 pm

Latest version is 0.12.37
It is also recommended to use XML_v3.2.zip, have new files.

Some improvements done since the last post, but I can't remember what :oops:
- Custom filetypes
- Custom search
- Cross table search (have bugs...)
- ??

Online
Posts: 293
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Sat Jul 25, 2020 4:18 am

The update is massive.

Thanks to some nice people that provide some nice files, new enhanced features are available. You can easily find tables from any ls1 OS by using the cross reference 7603 file. It is still work in progress not optimized at all.

Some cvn reference file is provided. And enhanced pid search for ls1, diesel pcms and v6 pcms which can be exported to csv. It prints the naming and we can fill the list with some conversion factor also but again work in progress.

You need the latest xml files for everything to work. So get those first.

Any feedback and questions are highly appreciated.

Posts: 160
Joined: Thu Feb 13, 2020 11:32 pm

Re: Segment Swap utility

Postby ironduke » Wed Jul 29, 2020 6:27 am

This is isn't working for me trying the file from the topic here : viewtopic.php?f=42&t=6844

this is the file:

any ideas why? If I try to select a different xml like from the 3.2 folder it crashes with an unhandled exemption, index was out of range?

Great program, just wondering what I am doing wrong?

Online
Posts: 293
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Wed Jul 29, 2020 7:27 am

It looks like you found some weird bug. I looked at the file. Couldn`t find something wrong, looked at at debug log. Again it stops for no reason at the start of segment 3. Opens good all kind of other files with that OS and anything ls1 I can throw.

I hope joukoy can figure the crash reason.

User avatar
Posts: 774
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Postby Gampy » Wed Jul 29, 2020 7:39 am

This is in response to kur4o's comment here: Re: GitHub repo for XDFs, so as not to pollute that thread ...

kur4o,

Not sure what is needed, is it possible to use,
9090 skip 4 bytes FFFF skip 12 bytes AAAA skip 2 bytes 5555 skip 2 bytes 9090
That sequence should be unique to AMD compatible OS'es ...

I suspect,
AAAA skip 2 bytes 5555 skip 2 bytes 9090
would suffice ...

Using OsID 125 87 603 as an example that first sequence would start at 0x77F0C in the binary.
It's actually the code that determines if the OS is running on Intel or AMD.
Those are some of the chip setup commands to get the chip ID.

-Enjoy
Last edited by Gampy on Fri Aug 14, 2020 1:43 am, edited 1 time in total.
Temporary is a permanent problem!

Online
Posts: 293
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Wed Jul 29, 2020 8:10 am

I dig out more bins that don`t open with the last version of program, but opens good with previous versions[11.xx]. I suspect something is broken on the later release.

Gampy

AA AA * * 55 55 * * 90 90

is good enough for searching at least on the bins I checked.

On the latest version there is some custom search string that is the file info tab. You can enter the string there and check on the bins you have does it get some false hits and it can be added to some of the ls1 exceptions with labal AMD supported if found and INTEL only if not found.

User avatar
Posts: 774
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Postby Gampy » Wed Jul 29, 2020 10:10 am

Awesome, AMD search works as expected ...

I am getting the following error on many files,
Segments:
Object reference not set to an instance of an object.
However, the search still works ... :)

Version says 0.12.37.0
Temporary is a permanent problem!

PreviousNext

Return to GM LS1 512Kbyte and 1Mbyte

Who is online

Users browsing this forum: kur4o and 1 guest