RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:11 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: video : initial analysis in IDA
PostPosted: Wed Nov 11, 2020 7:46 pm 
Offline
Experienced
User avatar

Joined: Wed Jan 08, 2014 11:07 pm
Posts: 652
Shuher wrote:
maybe one day we'll have subforum for Honda ECUs :)


Funny you should mention that, there's a Honda thread already somewhere here, and just yesterday someone was asking me about a SH72534 Honda ROM P)

New video (way longer than I hoped, oops) - Looking at 2D table interpolators, finding axis lookup values etc.
https://youtu.be/kZx8fIMpCps

_________________
If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/
For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net


Top
 Profile  
 
 Post subject: Re: video : initial analysis in IDA
PostPosted: Tue Apr 06, 2021 2:51 am 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
Definitely some nice verification for what I originally suspected. The axis interpolation functions are really interesting to look at. They don’t necessarily guarantee identical scaling, but it should be at least based off byte size. But I think I recall seeing that they still are pretty close with their scaling. In the sense that their base value (like 128 for %’s) will be similar, even if the actual scaling is different. For example, one of the shared axis functions was used for a 8bit % value, as well as an 8bit AFR value. Since both default to 128 (14.7 AFR and 100%).

Not sure on if that’s universal or if that was just used in that particular function, but still something to keep in mind. For CF48D (SH7058), it’s always been R4- Map, R5- Y-axis, and R6- X-Axis, for however many of the 2,300+ “maps” were actual 3D maps.

Another thing to keep in mind is signed vs unsigned. Everything should be assumed to be signed (as that’s the default it seems) unless proven otherwise. It’s extremely easy to verify by just looking and seeing if it uses extu or exts or something similar for unsigned vs signed. Most things are unsigned, so it’s interesting how the default is signed. Default, as in, the mov instructions.

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: video : initial analysis in IDA
PostPosted: Sat May 29, 2021 1:36 pm 
Offline
Experienced
User avatar

Joined: Wed Jan 08, 2014 11:07 pm
Posts: 652
New vid, #3: HEW simulation

https://youtu.be/GX8qcApZ0Pg

_________________
If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/
For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net


Top
 Profile  
 
 Post subject: Re: video : initial analysis in IDA
PostPosted: Thu Jun 03, 2021 5:02 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Nice video.
Similarly you can use Simulator for SH (simsh) from Lauterbach and setup config files to load RAM with data along with the CPU bin file.


Top
 Profile  
 
 Post subject: Re: video : initial analysis in IDA
PostPosted: Thu Jun 03, 2021 5:55 pm 
Offline
Experienced
User avatar

Joined: Wed Jan 08, 2014 11:07 pm
Posts: 652
dschultz wrote:
Similarly you can use Simulator for SH (simsh) from Lauterbach and setup config files to load RAM with data along with the CPU bin file.


Cool, I knew about Lauterbach but had no idea they also had (free) simulators for all those. Thanks!

_________________
If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/
For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


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

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