RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 9:58 pm

All times are UTC




Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sun Feb 09, 2014 8:40 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Excellent!

Which client? Msysgit is pretty lightweight.. I never liked the 'official' github client.

Also, for commit descriptions, be more specific. The best rule of thumb is to just write exactly what you did :)

The issue with the shift light is coexisting with the knock/lean/egt light. Getting the cruise light logic figured out would be the best option for this IMO.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sun Feb 09, 2014 9:03 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
I tried the official github. I'll try the one you mentioned.

I'll clean up the descriptions from now on. Was really just testing the editing and ended up doing it all.

I was thinking of doing two lights for it. One on each side of the dash for visibility. Seatbelt, brights, ses, and cruise all thought of as options. Cruise is probably the easiest to find though, right?


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sun Feb 09, 2014 11:14 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
In theory, the cruise should be very similar to the CEL, as it has a dedicated line to the cluster. Many of the other lights use signals from other modules in the car. In newer models (~2011+) everything to the cluster goes over CAN.

To clean up the existing commit descriptions, the easiest way is to use 'git rebase -i HEAD~7' Its probably best to first do some reading about rebase and the basic commands of the msysgit text editor (vim). To break down that command: -i = interactive mode, HEAD~7 = 7 commits prior to HEAD (current commit).

Eventually, you'll need to rebase your work onto my current master branch (check https://github.com/Merp/MerpMod/network to see the newer commits you're missing). For rebasing like this, its very useful to set up a diff tool. I recommend kdiff3: http://timwise.blogspot.com/2010/09/con ... ol-in.html

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Mon Feb 10, 2014 10:32 am 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
Just finished a huge chunk of the Shift light coding. I actually think it will work as-is (barring the errors) but it also my first time coding anything ever so who knows.

Will post up tomorrow.for now I linked it into cel flash to keep it "easy" or at least linked into the current merpmod soce I don't know for sure how to set up new files to be included in the build.

Edit: Committed to Git just now


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Tue Feb 11, 2014 1:44 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Nice!

I left some comments on github.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Tue Feb 11, 2014 7:53 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
Thanks for the notes. I believe I understood almost all of it. Couple things I need to research to understand fully.
Committed some changes.
It will be fun testing this and implementing it. Even though a shift light to me isn't important its a very cool project to learn on.
I need to learn the IDA portion. I got it set up but didn't start digging too deep.


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Tue Feb 11, 2014 10:52 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
Figured out the bugs I mentioned on git. I will post up when I get a minute.

Also redid the files off your latest commit.


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Wed Feb 12, 2014 12:42 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Replied to a couple, this one in particular: https://github.com/kerchakone/MerpMod/c ... 05a04bfcbe

ECU Analysis forum has a wealth of information for the disassembly side :)

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Wed Feb 12, 2014 11:16 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
edited


Last edited by Professwrx on Thu Feb 13, 2014 8:22 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Thu Feb 13, 2014 12:34 am 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
In your git Definitions.c, externs and boosthacktables don't agree with each other.
Since you unincorporated mapswitch from boosthacks you added more tables to boost hacks but they aren't defined and in the 32bit base. I added them into mine but I don't know if you find places for them specifically or what. Do you manually find a place to add in the tables for each ecm or do you let sharptune do it by itself?


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Mon Feb 17, 2014 9:12 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Yep, they need to be added there and in the 32bitbase.

The linker determines the addressing of the tables, based on the romhole addresses in the map file.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sat Feb 22, 2014 9:16 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
I posted a new repository that works with the desktop client. It's my current build. I haven't loaded it yet but I'm running a very similar build.

I added tables to the 32bitbase, I also created a scalar to 100% fix the pgwg max tables but that's not been loaded yet. I also need to add the defs for the boost control limits. These are on my netbook but not my desktop.

I haven't looked into finishing the shiftlight, cruise light or target boost stuff.


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sat Feb 22, 2014 9:46 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
There shouldn't be a need for a new repository. This defeats the purpose of using git. :(

What issues does the desktop client have? And what client specifically? I know the msysgit client works great, and the official github client (when I tried using it) was more or less crippled in comparison.

For the defs: https://github.com/Merp/SubaruDefs/tree/MerpMod is the proper place to commit.

If you have any git questions, feel free to post here, post on IRC, or pm to set up a skype.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sat Feb 22, 2014 10:20 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
Merp wrote:
There shouldn't be a need for a new repository. This defeats the purpose of using git. :(

What issues does the desktop client have? And what client specifically? I know the msysgit client works great, and the official github client (when I tried using it) was more or less crippled in comparison.

For the defs: https://github.com/Merp/SubaruDefs/tree/MerpMod is the proper place to commit.

If you have any git questions, feel free to post here, post on IRC, or pm to set up a skype.



I couldn't for the life of me get them to sync with each other. The only way I was able to get anything to work with it was by starting with a fresh repo. I was able to get the official github app to "work."
I forked the defs. I will clean it up and commit it. And submit a pull request.


Top
 Profile  
 
 Post subject: Re: Merpmod pgwg,pgtb tables
PostPosted: Sat Feb 22, 2014 10:49 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
I'm not sure exactly what you mean by sync?

Desktop and netbook?
1. When finished working, commit & push.
2. When working on new machine, fetch & merge --ff-only, go to step 1.

If things get out of phase (--ff-only won't work) a rebase can fix that. Git stash & git stash pop can also come in handy if you forget #2 before you start working.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl