|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
bradsm87
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Wed May 02, 2018 9:33 pm |
|
 |
| Experienced |
Joined: Thu Apr 14, 2011 8:16 am Posts: 425
|
swami wrote: How can I easily locate the checksum memory address in new roms? You've probably figured it out by now. I only discovered this after doing it a much harder way. Download nissutils here: https://github.com/fenugrec/nissutilsCompile nisrom and run it against your ROM. It outputs a bunch of info including checksum locations. Compiling is a bit of a pain for non-programmers like myself. I haven't yet worked out how to to compile it as a windows exe that has no dependencies on cygwin.dll and goodness knows what else.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Thu Jan 31, 2019 1:50 am |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
|
Hey guys, Looking for some assistance in creating a definition for the attached ROM dump from a very early 2003 350z touring VIN #JN1AZ34D93T108423. I'm a software engineering but totally new to this so any assistance would be GREATLY appreciated!
Thanks! Josh
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Fri Feb 08, 2019 1:06 am |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
|
Hey guys, After posting the last ROM I was informed it was a really old version that wasn't worth building a definition file for. Just had the ecu updated by the dealership and pulled the new ROM. It was also suggested the updated ROM would likely already have a definition file. I'm not sure how to tell if a definition file is available for this ROM? Any help greatly appreciated!
Thanks, Josh
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
pirelli2006
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Fri Feb 08, 2019 1:48 am |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
|
My_rom - 1CD001 Updated_rom - 1Cd002. What do you want find? Say maps name.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Mon Feb 11, 2019 1:12 pm |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
pirelli2006 wrote: My_rom - 1CD001 Updated_rom - 1Cd002. What do you want find? Say maps name. Thank you for the reply. I'm trying to find out if there's currently a definition file for this ROM? If not what is the process for developing one? Thanks! Josh
|
|
| Top |
|
 |
|
a33b
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Tue Feb 12, 2019 12:37 am |
|
 |
| Experienced |
Joined: Sat Jun 24, 2017 2:23 pm Posts: 315
|
Hey Josh welcome here, sorry didn't notice your posts over the weekend. There's a how-to make defs thread here. I would recommend using at least the CD002 ROM file if you are going to start a def from scratch. See the stock ROM list http://www.romraider.com/forum/viewtopic.php?f=65&t=11098 I also updated the first post in this thread with the most current fork of the defs. CD700 should probably be a good starting point for finding the maps in your ROM.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Tue Feb 12, 2019 10:34 am |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
Awesome, thanks! a33b wrote: Hey Josh welcome here, sorry didn't notice your posts over the weekend. There's a how-to make defs thread here. I would recommend using at least the CD002 ROM file if you are going to start a def from scratch. See the stock ROM list http://www.romraider.com/forum/viewtopic.php?f=65&t=11098 I also updated the first post in this thread with the most current fork of the defs. CD700 should probably be a good starting point for finding the maps in your ROM.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 17, 2019 4:04 pm |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
|
So with Cd002 it was suggested to use the Cd700 bin and def. I grabbed the defs from git and ran the bat to combine it, pointed romraider at the xml and loaded the bin. Just looking at the ignition timing map I think I've messed something up since these are not plausible values.
I tried opening several bins with the same results... What did I do wrong?!? Thanks guys!
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
a33b
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 17, 2019 6:28 pm |
|
 |
| Experienced |
Joined: Sat Jun 24, 2017 2:23 pm Posts: 315
|
joshuaj wrote: So with Cd002 it was suggested to use the Cd700 bin and def. I grabbed the defs from git and ran the bat to combine it, pointed romraider at the xml and loaded the bin. Just looking at the ignition timing map I think I've messed something up since these are not plausible values.
I tried opening several bins with the same results... What did I do wrong?!? Thanks guys! First, you should grab the updated defs I linked to earlier as the axis descriptions have been updated. This will help you understand that the timing map is an ignition trimming map, not an absolute BTDC value. Second, the values that have +128 added to them are a high knock sensitivity region for the ECU. Unfortunately RR has no built-in method of filtering those values out for display, so I often manipulate ignition maps in a spreadsheet and then paste them back into RR. Lastly, as far as using cd700 as a reference. I expect the map structures to be identical though likely at different addresses. You can easily identify the major maps in wols 2d view, it could be that all the maps are offset a certain amount.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 17, 2019 9:11 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
a33b wrote: Second, the values that have +128 added to them are a high knock sensitivity region for the ECU. Unfortunately RR has no built-in method of filtering those values out for display, so I often manipulate ignition maps in a spreadsheet and then paste them back into RR. What do you mean, did we talk about this before?
|
|
| Top |
|
 |
|
a33b
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 17, 2019 11:16 pm |
|
 |
| Experienced |
Joined: Sat Jun 24, 2017 2:23 pm Posts: 315
|
dschultz wrote: a33b wrote: Second, the values that have +128 added to them are a high knock sensitivity region for the ECU. Unfortunately RR has no built-in method of filtering those values out for display, so I often manipulate ignition maps in a spreadsheet and then paste them back into RR. What do you mean, did we talk about this before? Yeah, we did. The 'byte to expression' logic is simple; just an if statement or an AND. Restoring the byte is more difficult without keeping a record of which values have been edited for display purposes.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sat Feb 23, 2019 7:07 pm |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
A33b thanks for the help. Here's the def I came up with for the cd002 rom. I was able to find most of the important tables. I'm not sure how to locate the checksum and hardware ID though? Any suggestions for those? When you say I need to up date my defs, this is where they came from: https://github.com/murphyslaw05/NissanDefsIs this not the correct location to get the defs?
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
joshuaj
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sat Feb 23, 2019 7:57 pm |
|
 |
| Newbie |
Joined: Sun Jan 20, 2019 3:52 pm Posts: 11
|
I ran nischeck.exe and found the checksums. I'm curious because I changed the bin saved as a separate file and then looked at the checksum values in wols but they still are the same between the two bins... (yes I recompiled the defs xml  ) Is this calculated over the whole bin file or a subset? Just trying to validate the checksum. Assuming that is all correct all that is left is the hardware id (hwid) 
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
a33b
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 24, 2019 1:33 am |
|
 |
| Experienced |
Joined: Sat Jun 24, 2017 2:23 pm Posts: 315
|
joshuaj wrote: I ran nischeck.exe and found the checksums. I'm curious because I changed the bin saved as a separate file and then looked at the checksum values in wols but they still are the same between the two bins... (yes I recompiled the defs xml  ) Make a new version of your project in wols based on the modified file and see if you can see the changes. I'll be done fixing up your def (nice effort) in a couple shakes! I'll upload it to the current repo https://github.com/a33b/Nissandefs
|
|
| Top |
|
 |
|
a33b
|
Post subject: Re: Nissan ECU Definitions moved over to github Posted: Sun Feb 24, 2019 11:42 am |
|
 |
| Experienced |
Joined: Sat Jun 24, 2017 2:23 pm Posts: 315
|
I didn't think this would take so long. Ran into a bit of trouble and not sure what's going on with these parameters. I've double-checked the addresses and they are correct, but the values displayed start 0x1 position lower. I'm going to try deleting all the comments to see if they're doing something. I was using the wrong ROM. Attached and I've updated the git repo. Download the repo linked above to use the definition attached.
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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
|
|