Notices
Evo X Engine Management / Tuning Forums Discuss the major engine management systems.

q: some items address for mode23 JDM/EUDM/AUDM

Thread Tools
 
Search this Thread
 
Old May 28, 2011 | 06:05 PM
  #1  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
q: some items address for mode23 JDM/EUDM/AUDM

hello.

I found some funny addresses of evoscan when I was trying to log.
( My rom is 52360018. )

I think M32R's alignment rule is big-endian like mc680x0.

But, IDC, STFT, LTFT-High are defined as BYTE size and those addresses are even.

For example, according to the MUT address table, STFT located ID1:01. We can look up the addresss 808890 for STFT from MUT table in 52360018.

So, the address seems to be correct. But not on the rules of big-endian alignment.

What causes this? Something wrong or, any reasons?

Here is my def of evoscan 2.9.0005 :
---
item name____formula____________res-byte___address__alignment
IDC________[IPW]*3.90625*x/1200____1_____80873E____even
STFT________(0.1953125*x)-25_______1_____808890____even
LTFTH_______(0.1953125*x)-25_______1_____8071FE____even
---

Last edited by crimson red; May 28, 2011 at 06:37 PM. Reason: improve readability and explanation
Reply
Old May 28, 2011 | 06:33 PM
  #2  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
IDC is a function of 1byte rpm - well it was, maybe Hamish has changed it to 2byte (juding by that 3e address is has, but it should be 2response bytes not 1)

STFT and LTFT we only care about the low byte.

LTFTH should be LTFTM + 2

thats been fixed in the most recent 2.9 build...
Reply
Old May 28, 2011 | 07:22 PM
  #3  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
Hi,

Thanks to you tephra! I checked all the MUT ID1 again and I could correct the address of LTFT-High.

I also corrected the response byte of the IDC. But the formula I know for IDC is just "IDC=[IPW]*3.90625*x/1200". As you are saying it's the function of byte size RPM, it must be wrong but unfortunately I don't know the formula. Could you help me?


Here is my corrected def of evoscan 2.9.0005 :
---
item name____formula____________res-byte___address__alignment
STFT________(0.1953125*x)-25_______1_____808890____even
LTFTL_______(0.1953125*x)-25_______1_____804573____even
LTFTM_______(0.1953125*x)-25_______1_____804575____even
LTFTH_______(0.1953125*x)-25_______1_____804577____even
---


Still uncorrected IDC :
---
RPM(BYTE)_______31.25*x___________2_____808747____ even (MUT ID1:21)
IPW____________x/100_____________2_____80A934____even (MUT ID1:29, ID2:2A)
IDC________[IPW]*3.90625*x/1200____2_____80873E____even
---


Originally Posted by tephra
IDC is a function of 1byte rpm - well it was, maybe Hamish has changed it to 2byte (juding by that 3e address is has, but it should be 2response bytes not 1)

STFT and LTFT we only care about the low byte.

LTFTH should be LTFTM + 2

thats been fixed in the most recent 2.9 build...
Reply
Old May 29, 2011 | 01:31 AM
  #4  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
MUT21 is RPM_SMALL

so you need to use 1 response bytes...
Reply
Old May 29, 2011 | 04:31 AM
  #5  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
oh, I'm sorry, I took a careless miss. fixed.
>RPM(BYTE)_______31.25*x_________1_____808747____odd (MUT ID1:21)

Still I don't know the correct formula for IDC. What is the correct expression?
>IDC_____[IPW]*3.90625*x/1200____2_____80873E____even

Originally Posted by tephra
MUT21 is RPM_SMALL

so you need to use 1 response bytes...
Reply
Old May 29, 2011 | 06:39 AM
  #6  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
that should work ok..
Reply
Old May 29, 2011 | 09:32 AM
  #7  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
well...sorry, I'm a little confused.

I'm sorry for repeat the question, but if the formula ( IDC = [IPW]*3.90625*x/1200 ) is correct, then what do you mean by your mention below? Where is the 1 byte rpm used?

>IDC is a function of 1byte rpm - well it was, maybe Hamish has changed it to 2byte (juding by that 3e address is has, but it should be 2response bytes not 1)

Originally Posted by tephra
that should work ok..
Reply
Old May 29, 2011 | 03:00 PM
  #8  
Golden's Avatar
Evolved Member
iTrader: (1)
 
Joined: Nov 2009
Posts: 1,456
Likes: 0
From: Omaha, NE
This may clear up your confusion...

You can't actually log IDC directly, as it's just a calculation.

IDC = IPW * RPM / 1200

The Address in your above IDC line is for RPM. The formula is just a combination for RPM and IDC. I never, ever, log IDC. I simply calculate it after the fact.
Reply
Old May 30, 2011 | 06:30 AM
  #9  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
Thank you for the formula, Golden. It does helps the problem to be clear.
Currently my evoscan shows the address of RPM(BYTE) as 23808747, and IDC as 2380873E(2byte RPM). It means in my setting, the IDC uses 2byte RPM.

oh, I see. So, tephra said that it should work ok. Thanks a lot to tephra and Golden.

Originally Posted by Golden
This may clear up your confusion...
You can't actually log IDC directly, as it's just a calculation.
IDC = IPW * RPM / 1200
The Address in your above IDC line is for RPM. The formula is just a combination for RPM and IDC. I never, ever, log IDC. I simply calculate it after the fact.

Last edited by crimson red; May 30, 2011 at 06:39 AM.
Reply
Old May 30, 2011 | 07:06 PM
  #10  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
it doesn't matter which one you use (1byte or 2byte)

you just need to set the response bytes and modify the formula correctly..

I think EvoScan has a message cache, so if your logging 2byte rpm (as a standalone log item) then your best to use 2byte rpm in the IDC calculation, otherwise EvoScan needs to re-request it...

But yes - like Golden I dont bother with logging IDC, and I calculate it after the fact...
Reply
Old May 31, 2011 | 04:30 AM
  #11  
crimson red's Avatar
Thread Starter
Evolving Member
 
Joined: Aug 2009
Posts: 284
Likes: 21
From: Hokkaido, Japan
>But yes - like Golden I dont bother with logging IDC, and I calculate it after the fact...
clever men! Once write a filter, no need to log it.

Originally Posted by tephra
it doesn't matter which one you use (1byte or 2byte)

you just need to set the response bytes and modify the formula correctly..

I think EvoScan has a message cache, so if your logging 2byte rpm (as a standalone log item) then your best to use 2byte rpm in the IDC calculation, otherwise EvoScan needs to re-request it...

But yes - like Golden I dont bother with logging IDC, and I calculate it after the fact...
Reply
Old May 31, 2011 | 08:06 AM
  #12  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
pfft
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
tephra
ECU Flash
70
Mar 31, 2024 01:17 PM
mrfred
ECU Flash
1088
Dec 15, 2022 11:13 AM
GST Motorsports
09+ Ralliart Engine/Turbo/Drivetrain
113
Feb 14, 2017 06:09 AM
hkumar
Evo X Engine Management / Tuning Forums
11
Sep 9, 2013 07:55 PM
tephra
Evo X Engine Management / Tuning Forums
168
May 15, 2012 11:24 AM




All times are GMT -7. The time now is 10:57 AM.