Notices
Series I Aftermarket Performance Modifications Discussion of power adding modifications

cracking the ecu....

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old 02-11-2006, 04:40 PM
  #76  
www.evoperform.com
 
lurch519's Avatar
 
Join Date: Apr 2005
Location: tax free delaware
Posts: 2,010
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by MazdaManiac
No.
The PCM has no way to figure out what gear you are in!
Stop repeating this.

There is, however, a time component to the calculation in addition to the usual load axis of RPM, air flow and TP.
im not saying that the ecu is set up to determine what gear you are in, but it would be very easy to program it in. all you have to do is know the vehicle speed and the rpm of the motor.

the apexi avcr boost controller is just one example of where this is done. it can be programmed to control boost dependant on what gear you are in.
lurch519 is offline  
Old 02-11-2006, 09:30 PM
  #77  
Administrator
 
zoom44's Avatar
 
Join Date: Jul 2002
Location: portland oregon
Posts: 21,958
Received 115 Likes on 88 Posts
Originally Posted by MazdaManiac
No.
The PCM has no way to figure out what gear you are in!
Stop repeating this.
it knows when you shift into neutral
zoom44 is offline  
Old 02-11-2006, 09:42 PM
  #78  
No respecter of malarkey
iTrader: (25)
 
TeamRX8's Avatar
 
Join Date: Apr 2005
Posts: 26,727
Received 2,012 Likes on 1,640 Posts
inferring something and knowing it for a fact are two different things ...
TeamRX8 is offline  
Old 02-12-2006, 01:09 AM
  #79  
Banned
iTrader: (3)
 
MazdaManiac's Avatar
 
Join Date: Oct 2003
Location: Under my car
Posts: 16,386
Likes: 0
Received 24 Likes on 21 Posts
Originally Posted by TeamRX8
inferring something and knowing it for a fact are two different things ...
Indeed.

The tranny does know when it is in neutral. So if it knows that it is not in neutral, it can infer that it is in gear.
That is the extent of it.

The PCM doesn't really have a reason to care what gear it is in. However, it does have a vested interest in knowing how long you have been delta V at a given loading.
MazdaManiac is offline  
Old 02-22-2006, 01:51 AM
  #80  
Is this title ok?
 
seikx8's Avatar
 
Join Date: Jan 2003
Location: El Monte, CA
Posts: 300
Likes: 0
Received 2 Likes on 2 Posts
So does anyone still want to pursue the reflashing route? Btw, does anyone have the R flash file (SW-N3Z2ER000)? The latest I found was SW-N3ZVE0000 with release date Jul 13, 2005 and SW-N3ZXE0000 with release date of Nov 7, 2005.
Attached Thumbnails cracking the ecu....-rommaptable.jpg  

Last edited by seikx8; 02-22-2006 at 01:59 AM.
seikx8 is offline  
Old 02-22-2006, 07:40 AM
  #81  
Registered
 
Rasputin's Avatar
 
Join Date: Sep 2004
Location: Europe
Posts: 581
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by MazdaManiac
No.
The PCM has no way to figure out what gear you are in!
Stop repeating this.

There is, however, a time component to the calculation in addition to the usual load axis of RPM, air flow and TP.
Of course it does, by calculating the vehicle speed/ engine speed ratio.

And there is a "neutral switch" connected on PCM pin 2O

It is used on some vehicle for torque limitation in lower gear ratios.

Fabrice

Last edited by Rasputin; 02-22-2006 at 08:52 AM.
Rasputin is offline  
Old 02-22-2006, 12:49 PM
  #82  
Administrator
 
zoom44's Avatar
 
Join Date: Jul 2002
Location: portland oregon
Posts: 21,958
Received 115 Likes on 88 Posts
Originally Posted by seikx8
So does anyone still want to pursue the reflashing route? Btw, does anyone have the R flash file (SW-N3Z2ER000)? The latest I found was SW-N3ZVE0000 with release date Jul 13, 2005 and SW-N3ZXE0000 with release date of Nov 7, 2005.
yes and what are those 2 you mention? the ZXE and ZVE are not correct for an RX-8 PCM maybe they are for otehr CAN modules?

what should we be seeing in your attachment?
zoom44 is offline  
Old 02-24-2006, 12:32 AM
  #83  
Is this title ok?
 
seikx8's Avatar
 
Join Date: Jan 2003
Location: El Monte, CA
Posts: 300
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by zoom44
yes and what are those 2 you mention? the ZXE and ZVE are not correct for an RX-8 PCM maybe they are for otehr CAN modules?

what should we be seeing in your attachment?
I want to verify those files I obtained against the existing known files to see if the changes/update are consistant. For example, between level M & P, the table offset got push down further; this is probably because application code are added and data need to be push down further within the ROM location. The ZVE & ZXE are designate to "MAZDA J60E" so I would not doubt it's for the RX8 as the data pattern do have same value as any other map for RPM like values.

The attached image you are seeing are the table values & 3d graph of one of the many maps existed in he ROM image using "Shonky Map Edit v0.3" program.
seikx8 is offline  
Old 02-24-2006, 07:59 AM
  #84  
tuj
Registered
 
tuj's Avatar
 
Join Date: Jan 2005
Posts: 615
Likes: 0
Received 0 Likes on 0 Posts
I think I have figured out part of the checksum algorithm.

FF - High Addr byte + 1 XOR Low Addr byte = Checksum

That seems to work when the data segments are all FF's.
tuj is offline  
Old 02-24-2006, 08:11 AM
  #85  
Registered User
 
tertou's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 55
Likes: 0
Received 0 Likes on 0 Posts
For the checksum, take all the bytes after the 3A, up to the checksum byte inclusive.
Add them all and, if all goes well, the LSB of the sum should be 00.
In other words, the cheksum is indeed the negative of the LSB of the sum of the other bytes...

Attached is the source of a beta conversion program I wrote.
Attached Files
File Type: zip
PHF2BIN.zip (1.5 KB, 255 views)
tertou is offline  
Old 02-24-2006, 08:17 AM
  #86  
tuj
Registered
 
tuj's Avatar
 
Join Date: Jan 2005
Posts: 615
Likes: 0
Received 0 Likes on 0 Posts
Nice. I had tried that, but I kept leaving out the 20 after the 3a. I hate it when its something so simple..
tuj is offline  
Old 02-24-2006, 10:14 AM
  #87  
Registered User
 
QBallz's Avatar
 
Join Date: Jan 2005
Location: Visalia, CA
Posts: 522
Likes: 0
Received 0 Likes on 0 Posts
So basically in the last couple post it looks like you've pretty much cracked the ECU? As for the table offset's getting pushed down further wouldn't that be because of the Idle code that was added in the R (and E) flashes?
QBallz is offline  
Old 02-24-2006, 01:45 PM
  #88  
tuj
Registered
 
tuj's Avatar
 
Join Date: Jan 2005
Posts: 615
Likes: 0
Received 0 Likes on 0 Posts
I wouldn't say its cracked. AFAIK, no one has actually flashed their ECU themselves, nor have we determined where each map is, and what each map represents. But progress is being made.
tuj is offline  
Old 02-24-2006, 02:28 PM
  #89  
Metatron
iTrader: (1)
 
StealthTL's Avatar
 
Join Date: Mar 2003
Location: A Pacific Island.
Posts: 7,280
Received 173 Likes on 130 Posts
Wink Inadequate.....

You guys is so smart, you hurt my think-bone.

S

Keep up the good work!
StealthTL is offline  
Old 02-24-2006, 02:41 PM
  #90  
tuj
Registered
 
tuj's Avatar
 
Join Date: Jan 2005
Posts: 615
Likes: 0
Received 0 Likes on 0 Posts
seikx8: where can I get that program you are using to visual the tables?
tuj is offline  
Old 02-25-2006, 01:33 AM
  #91  
Is this title ok?
 
seikx8's Avatar
 
Join Date: Jan 2003
Location: El Monte, CA
Posts: 300
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by tuj
seikx8: where can I get that program you are using to visual the tables?
The software is located at: http://chiptuner.ru/download/progs/mapedit.zip
on http://chiptuner.ru/download.php reference in one of the thread on openecu.org.

There is some bug however, but it's very useful for visualizing graphical value. On a side note, I am writing my own in .NET C#.
seikx8 is offline  
Old 02-28-2006, 01:54 AM
  #92  
Is this title ok?
 
seikx8's Avatar
 
Join Date: Jan 2003
Location: El Monte, CA
Posts: 300
Likes: 0
Received 2 Likes on 2 Posts
This is the actual information I've extracted from SW-N3Z2EP000, I'm sure some one will recognize those Axis values to be corresponding to one of the variables: RPM, MAF, Engine, Load, Barometer, Temp, etc.

[0x7afcc 17x1x2]
10423 10276 10128 10000 09876 09753 09645 09526 09408 09310 09211 09113 09013 08927 08871 08822 08773

[0x7aff0 17x1x4]
1000.0 1500.0 2000.0 2500.0 3000.0 3500.0 4000.0 4500.0 5000.0 5500.0 6000.0 6500.0 7000.0 7500.0 8000.0 8500.0 9000.0

[0x7b034 20x1x4]
0.063 0.125 0.188 0.25 0.313 0.375 0.438 0.5 0.563 0.625 0.688 0.75 0.813 0.875 0.938 1.0 1.063 1.125 1.188 1.25

[0x7b084 17x20x2]
03814 03763 03149 03200 03123 05453 02867 01741 02022 02970 03430 03456 02509 02202 02202 02330 02458
06170 06042 05376 05171 04941 05965 04634 03917 04173 04941 05325 04941 04198 04045 03917 04070 04224
08550 08320 07578 07142 06784 06451 06400 06093 06323 06912 07245 06451 05888 05888 05632 05811 05990
10931 10368 09574 09114 08576 08294 08166 08269 08499 08858 09165 07936 07552 07706 07347 07552 07782
13210 12493 11546 10829 10342 09958 09830 09882 10214 10752 11085 09446 09242 09549 09062 09293 09549
15232 14336 13645 12826 12237 11725 11674 11520 11878 12544 12928 10906 10752 10931 10778 11059 11315
17690 16666 15488 14618 14029 13389 13235 13312 13670 14234 12160 12467 12365 12493 12288 12749 13235
19840 18714 17459 16614 15949 15232 14976 14976 15386 15821 13568 14259 14003 14054 14003 14490 15002
21760 20608 19558 18330 17587 16819 16640 16717 16973 15642 15155 15770 15514 15770 15590 15949 16307
23782 22477 21581 20122 19430 18611 18202 18253 17766 16973 16589 17229 16973 17638 17459 17818 18176
25677 24627 23270 21990 21094 20250 19840 20070 19200 18662 18509 18790 18534 18867 19098 19251 19379
26547 25830 24755 23450 22733 22042 21555 21914 20966 20275 19789 20582 19942 20250 20454 20685 20941
26982 26419 26240 24678 24141 23501 23706 23501 22400 21709 21018 21786 21043 21197 21632 21811 21990
27187 26726 26982 25344 25037 24781 25318 25088 23654 23117 22042 22989 22016 22502 22682 22835 22989
27315 26880 27341 25882 25626 25293 26086 26291 24883 24448 23629 24576 23629 23885 23885 24320 24730
27366 26957 27546 26138 25907 25523 26470 26880 26573 25882 25011 25702 24934 25011 26112 25037 23987
27392 26982 27622 26291 26061 25651 26650 27187 27418 26598 25702 26266 25574 25549 27213 25421 23603
27392 27008 27674 26342 26138 25728 26752 27341 27827 26957 26061 26547 25907 25830 27776 25600 23424
27418 27008 27699 26394 26163 25754 26778 27418 28058 27136 26240 26701 26061 25984 28058 25677 23322
27418 27008 27699 26394 26189 25754 26803 27443 28160 27238 26317 26752 26163 26035 28211 25728 23270

[0x7b32c 17x1x4]
-15.832 -7.916 0.0 7.916 15.832 23.748 31.664 39.58 47.496 55.412 63.328 71.244 79.16 87.076 94.992 102.908 110.824

[0x7b370 9x1x4]
6.5 7.75 9.0 10.25 11.5 12.75 14.0 15.25 16.5

[0x7b394 17x9x2]
03172 03177 03183 03189 03194 03200 03212 03223 03235 03252 03269 03286 03306 03326 03346 03367 03387
02044 02057 02069 02081 02094 02106 02119 02131 02143 02162 02180 02198 02218 02237 02257 02276 02295
01463 01479 01495 01511 01527 01543 01555 01568 01581 01600 01619 01638 01657 01676 01695 01714 01733
01142 01153 01163 01173 01184 01194 01203 01212 01221 01233 01244 01256 01270 01283 01297 01310 01324
00918 00925 00931 00937 00944 00950 00957 00963 00970 00976 00983 00989 00999 01009 01018 01028 01038
00732 00735 00739 00743 00746 00750 00754 00757 00761 00766 00770 00775 00781 00787 00793 00799 00805
00592 00593 00595 00597 00598 00600 00601 00603 00605 00608 00611 00614 00617 00621 00624 00627 00630
00487 00489 00490 00491 00493 00494 00496 00497 00499 00502 00505 00508 00511 00514 00517 00520 00523
00361 00363 00364 00365 00367 00368 00370 00371 00372 00375 00378 00381 00383 00386 00389 00392 00394

[0x7b4c8 17x1x4]
-15.832 -7.916 0.0 7.916 15.832 23.748 31.664 39.58 47.496 55.412 63.328 71.244 79.16 87.076 94.992 102.908 110.824

[0x7b50c 9x1x4]
6.5 7.75 9.0 10.25 11.5 12.75 14.0 15.25 16.5

[0x7b530 17x9x2]
02752 02781 02809 02837 02866 02894 02934 02974 03013 03053 03093 03132 03169 03206 03243 03280 03317
01848 01865 01883 01901 01918 01936 01961 01986 02011 02037 02062 02087 02123 02159 02194 02230 02266
01363 01374 01386 01398 01409 01421 01439 01456 01474 01491 01509 01526 01561 01597 01632 01667 01702
01055 01065 01075 01085 01095 01105 01118 01131 01144 01157 01170 01182 01207 01231 01255 01279 01303
00787 00795 00804 00813 00821 00830 00839 00848 00856 00865 00874 00883 00897 00912 00926 00941 00955
00630 00638 00645 00652 00660 00667 00676 00685 00695 00704 00713 00722 00734 00746 00757 00769 00781
00484 00491 00497 00503 00510 00516 00525 00535 00544 00553 00563 00572 00581 00591 00600 00610 00619
00383 00390 00397 00404 00411 00419 00429 00439 00449 00458 00467 00476 00488 00499 00510 00522 00533
00253 00262 00270 00278 00287 00295 00307 00318 00329 00338 00346 00354 00368 00383 00397 00411 00425
seikx8 is offline  
Old 02-28-2006, 05:35 PM
  #93  
Registered User
Thread Starter
iTrader: (1)
 
Hskr8's Avatar
 
Join Date: Dec 2003
Location: Nebraska
Posts: 310
Likes: 0
Received 0 Likes on 0 Posts
someone with experience in tuning the car should be able to tell just by the relative "size" of your data sets listed... past that, it will then probably require someone (or a collaborative effort) who understands both sides of the equation...
Hskr8 is offline  
Old 02-28-2006, 06:18 PM
  #94  
Registered User
 
QBallz's Avatar
 
Join Date: Jan 2005
Location: Visalia, CA
Posts: 522
Likes: 0
Received 0 Likes on 0 Posts
If
[0x7aff0 17x1x4] = RPM
[0x7b034 20x1x4] = Airflow in BAR
And
[0x7b084 17x20x2] = Fuel Map

Then it looks like Mazda is using the same fueling strat that MadDog did with the eManage. Dump more fuel right before the VDI opens to tune out lean spikes.

Maybe the bottom 2 are Water Temp x Load possibly for the different gears.

Last edited by QBallz; 02-28-2006 at 06:24 PM.
QBallz is offline  
Old 02-28-2006, 07:09 PM
  #95  
Registered User
Thread Starter
iTrader: (1)
 
Hskr8's Avatar
 
Join Date: Dec 2003
Location: Nebraska
Posts: 310
Likes: 0
Received 0 Likes on 0 Posts
We are getting there for sure!!!

I do recall Maurice hinting that there was 1 map for gears 1-3 and another map for gears 4-6, but not sure exactly what he meant by "map" specifically.

There are 2 sections though with the same size listed as 17x9x2 (the 2 last bigger blocks)

Last edited by Hskr8; 02-28-2006 at 07:11 PM.
Hskr8 is offline  
Old 02-28-2006, 07:27 PM
  #96  
Registered User
Thread Starter
iTrader: (1)
 
Hskr8's Avatar
 
Join Date: Dec 2003
Location: Nebraska
Posts: 310
Likes: 0
Received 0 Likes on 0 Posts
ok, just for reference, I'm posting an image of 2 cz/emanage map types... Now, the scale that the emanage uses will likely not be the same scale as the oem maps, however, the 17 width seems consistent in the OEM Data and likely RPM as stated.

Which of the two maps would be adjusted depending on gear ratio, I don't know, but the rows could very well mean throttle position and airflow.

REMEMBER: I am just guessing here at this point... assuming 17 rows across ALWAYS equals rpm, (also the emanage states it lists rpm in the rows, but appears to list it in the columns.




Again, this is a guess that these maps would have similar x & y axis as those with the emanage, with RPM's always being on X (column) axis with the OEM data

Last edited by Hskr8; 02-28-2006 at 07:37 PM.
Hskr8 is offline  
Old 02-28-2006, 08:34 PM
  #97  
Int'l Man of Mystery
 
Japan8's Avatar
 
Join Date: Jan 2004
Location: Central Florida
Posts: 3,651
Likes: 0
Received 0 Likes on 0 Posts
That map was 3D (x, y, z axis) right? If so...

RPM, Airflow and throttle position?

Anyway, timing, AFR and throttle position are three unanswered questions...
Japan8 is offline  
Old 02-28-2006, 08:34 PM
  #98  
Is this title ok?
 
seikx8's Avatar
 
Join Date: Jan 2003
Location: El Monte, CA
Posts: 300
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by QBallz
If
[0x7aff0 17x1x4] = RPM
[0x7b034 20x1x4] = Airflow in BAR
And
[0x7b084 17x20x2] = Fuel Map

Then it looks like Mazda is using the same fueling strat that MadDog did with the eManage. Dump more fuel right before the VDI opens to tune out lean spikes.

Maybe the bottom 2 are Water Temp x Load possibly for the different gears.
That's my hunt too, however it use MAF sensor so, the unit can't be Bar right? The other two maps might as well be Temp vs A/F, just to throwing the possibility. We need some one have access to the can scan tool to shair their complete datalog

There are other maps too, I still yet have to extract them.
seikx8 is offline  
Old 02-28-2006, 08:52 PM
  #99  
Administrator
 
zoom44's Avatar
 
Join Date: Jul 2002
Location: portland oregon
Posts: 21,958
Received 115 Likes on 88 Posts
airflow from MAF will be in grams per second.
zoom44 is offline  
Old 02-28-2006, 09:48 PM
  #100  
Registered
iTrader: (1)
 
r0tor's Avatar
 
Join Date: May 2003
Location: PA
Posts: 3,754
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Japan8
That map was 3D (x, y, z axis) right? If so...

RPM, Airflow and throttle position?

Anyway, timing, AFR and throttle position are three unanswered questions...
i thought it was actually RPM, airflow, and Load
r0tor is offline  


You have already rated this thread Rating: Thread Rating: 0 votes,  average.

Quick Reply: cracking the ecu....



All times are GMT -5. The time now is 02:54 AM.