Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
RPM CAN variable
Pages: [
1
]
« previous
next »
Author
Topic: RPM CAN variable (Read 4174 times)
kacperoooni
Full Member
Karma: +9/-2
Offline
Posts: 126
RPM CAN variable
« on: December 18, 2019, 10:40:06 AM »
Hi,
Is there any CAN variable like in edc15? I wanted to display some through rpm gauge. Same question for consumption display
«
Last Edit: December 18, 2019, 10:42:04 AM by kacperoooni
»
Logged
prj
Hero Member
Karma: +1072/-485
Offline
Posts: 6040
Re: RPM CAN variable
« Reply #1 on: December 18, 2019, 10:47:14 AM »
It would help if you would actually post the ECU and car.
Otherwise:
Yes.
Logged
PM's will not be answered, so don't even try.
Log your car properly
-
WinOLS database
-
Tools/patches
kacperoooni
Full Member
Karma: +9/-2
Offline
Posts: 126
Re: RPM CAN variable
« Reply #2 on: December 18, 2019, 10:58:13 AM »
Quote from: prj on December 18, 2019, 10:47:14 AM
It would help if you would actually post the ECU and car.
Otherwise:
Yes.
ymmm yes, hahah. Our lovely ME7.5 1.8t 1mb flash
Logged
prj
Hero Member
Karma: +1072/-485
Offline
Posts: 6040
Re: RPM CAN variable
« Reply #3 on: December 18, 2019, 11:17:21 AM »
Search for CW_CAN_S in FR, it will show which messages are under what bit, you can check if they are enabled, and right after it are the descriptions with the formats of all the messages.
Motor 1 should always be on.
Logged
PM's will not be answered, so don't even try.
Log your car properly
-
WinOLS database
-
Tools/patches
BWF
Jr. Member
Karma: +3/-0
Offline
Posts: 25
Re: RPM CAN variable
« Reply #4 on: April 10, 2020, 04:25:22 AM »
I am also researching to use the rpm meter.
My intention is to look up bytes 3 and 4 of the can ID280, which are RPM.
As seen in images r13 I suppose it is the ID, and r12 r14 and r15 uses it in sub_83E778.
Inside the subroutine it does some calculations with r12, to later add it with # 0EF10h. I think the result is the address for ID280.
Is all this correct?
Logged
fknbrkn
Hero Member
Karma: +186/-24
Offline
Posts: 1456
mk4 1.8T AUM
Re: RPM CAN variable
« Reply #5 on: April 10, 2020, 05:00:59 AM »
Can bytes are the simply memory adresses in iram tipycally in 0xF8xx area
Look in FR-CAN, there is a 0x280 msg and you see there is nmot_w goes to byte 3 and 4 as a word
The easiest tracking way in that case is to find pretty rare used variable near yours
So there is also mifab_w going to byte 5 as i said this var used only about 10 times in flash (x for crosslinks)
Jump on those crosslinks and search for something like
mov r4, mifab_w
shr, #8
movb 0F826, rl4
so this 0xF826 is 0x280 byte 5
and right above should be the similar routine with 0xF825 and 0xF824 for a byte 4 and 3 with nmot_w goes in it
«
Last Edit: April 10, 2020, 05:04:12 AM by fukenbroken
»
Logged
BWF
Jr. Member
Karma: +3/-0
Offline
Posts: 25
Re: RPM CAN variable
« Reply #6 on: April 11, 2020, 07:05:06 AM »
Thank you it has been a great help
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
November 30, 2024, 12:34:31 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...