/
M3.3.1 ECU Definitions.xml
856 lines (696 loc) · 40.7 KB
/
M3.3.1 ECU Definitions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE roms [
<!ELEMENT roms ( rom+ ) >
<!ENTITY deg "°" ><!-- degree sign -->
<!ENTITY micro "µ" ><!-- micro sign -->
<!ELEMENT rom ( romid, table+ ) >
<!ATTLIST rom base CDATA #IMPLIED>
<!ELEMENT romid ( xmlid, internalidaddress, internalidstring, caseid?, ecuid, year, market, make, model, submodel, transmission, flashmethod?, memmodel, filesize, obsolete? ) >
<!ELEMENT xmlid (#PCDATA) >
<!ELEMENT internalidaddress (#PCDATA) >
<!ELEMENT internalidstring (#PCDATA) >
<!ELEMENT caseid (#PCDATA) >
<!ELEMENT ecuid (#PCDATA) >
<!ELEMENT year (#PCDATA) >
<!ELEMENT market (#PCDATA) >
<!ELEMENT make (#PCDATA) >
<!ELEMENT model (#PCDATA) >
<!ELEMENT submodel (#PCDATA) >
<!ELEMENT transmission (#PCDATA) >
<!ELEMENT flashmethod (#PCDATA) >
<!ELEMENT memmodel (#PCDATA) >
<!ELEMENT filesize (#PCDATA) >
<!ELEMENT obsolete (#PCDATA) >
<!ELEMENT table ( #PCDATA | scaling | table | description | data | state )* >
<!ATTLIST table
type NMTOKENS #IMPLIED
name CDATA #IMPLIED
category CDATA #IMPLIED
storagetype CDATA #IMPLIED
endian (little | big) #IMPLIED
sizex CDATA #IMPLIED
sizey CDATA #IMPLIED
userlevel (1 | 2 | 3 | 4 | 5) #IMPLIED
logparam CDATA #IMPLIED
storageaddress CDATA #IMPLIED >
<!ELEMENT scaling EMPTY >
<!ATTLIST scaling
units CDATA #REQUIRED
expression CDATA #REQUIRED
to_byte CDATA #REQUIRED
format CDATA #REQUIRED
fineincrement CDATA #REQUIRED
coarseincrement CDATA #REQUIRED >
<!ELEMENT description (#PCDATA) >
<!ELEMENT data (#PCDATA) >
<!ELEMENT state (#PCDATA) >
<!ATTLIST state
name CDATA #REQUIRED
data CDATA #REQUIRED >
]>
<roms>
<rom>
<!--
v0.0.1
- draft of Bosch M3.3.1
In this BASE section define all the common table data and axis attributes.
Leave out the ROM specific addresses.
-->
<romid>
<xmlid>BMWM3.3.1BASE</xmlid>
<internalidaddress>0000</internalidaddress>
<internalidstring>0000</internalidstring>
<ecuid>0000000000</ecuid>
<year>1992-1995</year>
<market>EURO</market>
<make>BMW</make>
<model>E36</model>
<submodel>325i</submodel>
<transmission>MT/AT</transmission>
<version>BA114 Edition</version>
</romid>
<!--Config Switches-->
<table type="BitwiseSwitch" name="O2 Sensor Adaption" category="Configurations">
<bit position ="2" name="O2 Sensor Adaption"/>
<description>This switch enables and disables o2 sensor adaptions</description>
</table>
<!--DTCs-->
<!--AlphaN-->
#BA114
<table type="3D" name="Calculated Load" category="AlphaN" storagetype="uint8" endian="little" sizex="7" sizey="6" userlevel="1">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="2" coarseincrement="10"/>
<table type="X Axis" name="TPS" storagetype="uint8" endian="little">
<scaling units="%" expression="x*0.390625" to_byte="x/0.390625" format="0.0" fineincrement="1" coarseincrement="10"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100"/>
</table>
<description>Calculated load based on TPS and RPM. The DME will use this load value in all fuel and ignition tables </description>
</table>
<!--Closed Loop-->
<table type="2D" name="Closed Loop - Maximum Load 1" category="Closed Loop" storagetype="uint8" endian="little" sizex="6" userlevel="1">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.1" coarseincrement="0.5" />
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="0" fineincrement="40" coarseincrement="120" />
</table>
<description>Maximum Load for closed loop operation</description>
</table>
<table type="2D" name="Closed Loop - Maximum Load 2" category="Closed Loop" storagetype="uint8" endian="little" sizex="6" userlevel="1">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.1" coarseincrement="0.5" />
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="0" fineincrement="40" coarseincrement="120" />
</table>
<description>Maximum Load for closed loop operation</description>
</table>
<!--Fuel-->
<table type="2D" name="Injector Dead Time" category="Fuel" storagetype="uint8" endian="little" sizex="5" userlevel="1">
<scaling units="ms" expression="x*0.010000" to_byte="x/0.010000" format="0.000" fineincrement="0.01" coarseincrement="0.1" />
<table type="X Axis" name="Volts" storagetype="uint8" endian="little">
<scaling units="V" expression="x*0.068100" to_byte="x/0.068100" format="0.00" fineincrement="0.1" coarseincrement="1" />
</table>
<description>Injector Dead Time settings</description>
</table>
<table type="3D" name="Fuel Scalar - Idle" category="Fuel" storagetype="uint8" endian="little" sizex="3" sizey="6" userlevel="1" >
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the part load fuel scalar when vanos is on (advanced). Increase the value to make richer, decrease to make leaner.</description>
</table>
<table type="3D" name="Fuel Scalar - Part Throttle - Vanos On" category="Fuel" storagetype="uint8" endian="little" sizex="12" sizey="16" userlevel="1" >
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the part load fuel scalar when vanos is on (advanced). Increase the value to make richer, decrease to make leaner.</description>
</table>
<table type="3D" name="Fuel Scalar - Part Throttle - Vanos Off" category="Fuel" storagetype="uint8" endian="little" sizex="12" sizey="16" userlevel="1" >
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the part load fuel scalar when vanos is off (retarded). Increase the value to make richer, decrease to make leaner.</description>
</table>
<table type="2D" name="Fuel Scalar - WOT - Vanos On" category="Fuel" storagetype="uint8" endian="little" sizex="16" userlevel="1">
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement="0.01" coarseincrement="0.1" />
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the WOT fuel scalar when vanos is on (advanced). Increase the value to make richer, decrease to make leaner.</description>
</table>
<table type="2D" name="Fuel Scalar - WOT - Vanos Off" category="Fuel" storagetype="uint8" endian="little" sizex="16" userlevel="1">
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement="0.01" coarseincrement="0.1" />
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the WOT fuel scalar when vanos is off (retarded). Increase the value to make richer, decrease to make leaner.</description>
</table>
<table type="3D" name="Fuel Scalar - IAT Compensation" category="Fuel" storagetype="uint8" endian="little" sizex="5" sizey="8" userlevel="1" >
<scaling units="-" expression="x*0.007813" to_byte="x/0.007813" format="0.000" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="IAT" storagetype="uint8" endian="little">
<scaling units="°C" expression="(x*0.75)-48" to_byte="(x+48)/0.75" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is a modifier to the fuel scalar based on Intake Air Temp. Increase the value to make richer, decrease to make leaner. Should only be used for alphaN however some "tuners" use it to account for different sized injectors</description>
</table>
<!--Deceleration-->
<table type="2D" name="Fuel Restore - RPM" category="Deceleration" storagetype="uint8" endian="little" userlevel="1" sizey="4" >
<scaling units="RPM" expression="x*40" to_byte="x/40" format="0" fineincrement="40" coarseincrement="120" />
<table type="Y Axis" name="Coolant Temperature" storagetype="uint8" endian="little" logparam="P2" >
<scaling units="°C" expression="x*.75-48" to_byte="(x+48)/.75" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<description>ID_N_MIN_PUC__TCO - Below this Engine Speed, fuel injectors are always turned on. To disable fuel cut during deceleration with the Throttle closed, increase this table as high as you want.</description>
</table>
<!--Timing-->
<table type="2D" name="Ignition advance idle speed - MT/AT in P/N" category="Ignition Timing" storagetype="uint8" endian="little" sizex="8" userlevel="1">
<scaling units="(°) BTDC" expression="(x*.75)-45" to_byte="(x+45)/.75" format="0.00" fineincrement=".1" coarseincrement="1"/>
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100"/>
</table>
<description>Ignition advance idle speed manaul or automatic in Park/Neutral</description>
</table>
<table type="2D" name="Ignition advance idle speed - AT in D/R" category="Ignition Timing" storagetype="uint8" endian="little" sizex="8" userlevel="1">
<scaling units="(°) BTDC" expression="(x*.75)-45" to_byte="(x+45)/.75" format="0.00" fineincrement=".1" coarseincrement="1"/>
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100"/>
</table>
<description>Ignition advance idle speed automatic in Drive or Reverse</description>
</table>
<table type="3D" name="Ignition Timing - Part Throttle - Vanos On" category="Ignition Timing" storagetype="uint8" endian="little" sizex="12" sizey="16" userlevel="1" >
<scaling units="°BTDC" expression="(x*.75)-45" to_byte="(x+45)/0.75" format="0.00" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the part throttle ignition timing map when vanos is on (advanced).</description>
</table>
<table type="3D" name="Ignition Timing - Part Throttle - Vanos Off" category="Ignition Timing" storagetype="uint8" endian="little" sizex="12" sizey="16" userlevel="1" >
<scaling units="°BTDC" expression="(x*.75)-45" to_byte="(x+45)/0.75" format="0.00" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the part throttle ignition timing map when vanos is off (retarded).</description>
</table>
<table type="3D" name="Ignition Timing - WOT - Vanos On" category="Ignition Timing" storagetype="uint8" endian="little" sizex="6" sizey="16" userlevel="1" >
<scaling units="°BTDC" expression="(x*.75)-45" to_byte="(x+45)/0.75" format="0.00" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the WOT ignition timing map when vanos is on (advanced).</description>
</table>
<table type="3D" name="Ignition Timing - WOT - Vanos Off" category="Ignition Timing" storagetype="uint8" endian="little" sizex="6" sizey="16" userlevel="1" >
<scaling units="°BTDC" expression="(x*.75)-45" to_byte="(x+45)/0.75" format="0.00" fineincrement=".1" coarseincrement="1" />
<table type="X Axis" name="load" storagetype="uint8" endian="little" logparam="E2" >
<scaling units="ms" expression="x*.05" to_byte="x/.05" format="0.00" fineincrement="1" coarseincrement="10" />
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
</table>
<description>This is the WOT ignition timing map when vanos is off (retarded).</description>
</table>
<!--Vanos-->
<table type="2D" name="Vanos On - Minimum Load" category="Vanos" storagetype="uint8" endian="little" sizex="8" userlevel="1">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="2" coarseincrement="10"/>
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement=".01" coarseincrement=".1"/>
</table>
<description>Load threshold to ENABLE vanos. Vanos will be enabled above this value. Set to 13 to prevent vanos switching on</description>
</table>
<table type="2D" name="Vanos Off - Maximum Load" category="Vanos" storagetype="uint8" endian="little" sizex="8" userlevel="1">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="2" coarseincrement="10"/>
<table type="X Axis" name="Engine Speed" storagetype="uint8" endian="little" logparam="P8">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement=".01" coarseincrement=".1"/>
</table>
<description>Load threshold to DISABLE vanos. Vanos will be disabled below this value. Set to 13 to prevent vanos switching on</description>
</table>
<!--Idle Speed Target-->
<table type="2D" name="Idle Speed" category="Idle Speed Target" storagetype="uint8" endian="little" sizex="4" userlevel="1">
<scaling units="RPM" expression="x*10" to_byte="x/10" format="0" fineincrement="10" coarseincrement="100"/>
<table type="X Axis" name="Coolant Temp" storagetype="uint8" endian="little" logparam="P2">
<scaling units="°C" expression="x*.75-48" to_byte="(x+48)/.75" format="0.0" fineincrement="2" coarseincrement="10"/>
</table>
<description>Engine idle speed with no additional load.</description>
</table>
<!--Throttle-->
<table type="2D" name="Idle Detection" category="Throttle" storagetype="uint8" endian="little" sizey="4" userlevel="1">
<scaling units="TPS" expression="x*0.390625" to_byte="x/0.390625" format="0.00" fineincrement=".1" coarseincrement="1"/>
<table type="Static Y Axis" name="RPM" sizey="4">
<data>800</data>
<data>1120</data>
<data>1440</data>
<data>1760</data>
</table>
<description>When this throttle is below this threshold the idle fuel and timing tables will be used.</description>
</table>
<table type="2D" name="WOT Detection" category="Throttle" storagetype="uint8" endian="little" sizey="4" userlevel="1">
<scaling units="TPS" expression="x*0.390625" to_byte="x/0.390625" format="0.00" fineincrement=".1" coarseincrement="1"/>
<table type="Static Y Axis" name="RPM" sizey="4">
<data>800</data>
<data>2080</data>
<data>3360</data>
<data>4640</data>
</table>
<description>When this threshold is exceeded the engine will operate in open loop and follow the WOT Ignition and WOT Fuel tables.</description>
</table>
<!--Limiters-->
<table type="2D" name="RPM limiter - Soft" category="Limiters" storagetype="uint16" endian="little" sizey="1" userlevel="1">
<scaling units="RPM" expression="x*0.25" to_byte="x/0.25" format="0" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="RPM" sizey="1">
<data>RPM Limit</data>
</table>
<description>Rev Limiter</description>
</table>
<table type="2D" name="RPM limiter - Hard" category="Limiters" storagetype="uint16" endian="little" sizey="1" userlevel="1">
<scaling units="RPM" expression="x*0.25" to_byte="x/0.25" format="0" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="RPM" sizey="1">
<data>RPM Limit</data>
</table>
<description>Rev Limiter</description>
</table>
<table type="2D" name="RPM limiter - Hysteresis A" category="Limiters" storagetype="uint16" endian="little" sizey="1" userlevel="1">
<scaling units="RPM" expression="x*0.25" to_byte="x/0.25" format="0" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="RPM" sizey="1">
<data>RPM Limit</data>
</table>
<description>Reduce hysteresis for a more aggressive Rev Limiter.</description>
</table>
<table type="2D" name="RPM limiter - Hysteresis B" category="Limiters" storagetype="uint16" endian="little" sizey="1" userlevel="1">
<scaling units="RPM" expression="x*0.25" to_byte="x/0.25" format="0" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="RPM" sizey="1">
<data>RPM Limit</data>
</table>
<description>Reduce hysteresis for a more aggressive Rev Limiter.</description>
</table>
<table type="2D" name="Speed Based RPM limiter" category="Limiters" storagetype="uint8" endian="little" sizex="6" userlevel="1">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="100" />
<table type="X Axis" name="Vehicle Speed" storagetype="uint8" endian="little">
<scaling units="km/h" expression="x" to_byte="x" format="#" fineincrement="2" coarseincrement="10"/>
</table>
<description>Rev Limiter based on vehicle speed. Can be used for launch control by setting first column header to 0 km/h and setting desired limiter</description>
</table>
<table type="2D" name="RPM limiter (VSS Error)" category="Limiters" storagetype="uint8" endian="little" sizey="1" userlevel="1">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="0" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="RPM" sizey="1">
<data>RPM Limit</data>
</table>
<description>Rev Limiter when no speed input detected</description>
</table>
<table type="2D" name="Speed Limiter" category="Limiters" storagetype="uint8" endian="little" sizey="1" userlevel="1">
<scaling units="Speed" expression="x*1.102" to_byte="x/1.102" format="#" fineincrement="50" coarseincrement="100" />
<table type="Static Y Axis" name="km/h" sizey="1">
<data>Speed Limit</data>
</table>
<description>Speed Limiter</description>
</table>
<!--Sensor Scaling-->
<table type="3D" name="MAF Scaling" category="Sensors Scaling" storagetype="uint16" endian="little" sizex="16" sizey="16" userlevel="2" >
<scaling units="kg/hr" expression="x*0.25" to_byte="x/.25" format="0.00" fineincrement=".01" coarseincrement=".1" />
<table type="Static X Axis" name="0 to 5 Volts" sizey="16">
<data>0.00</data>
<data>0.02</data>
<data>0.04</data>
<data>0.06</data>
<data>0.08</data>
<data>0.10</data>
<data>0.12</data>
<data>0.14</data>
<data>0.16</data>
<data>0.18</data>
<data>0.20</data>
<data>0.22</data>
<data>0.24</data>
<data>0.26</data>
<data>0.28</data>
<data>0.30</data>
</table>
<table type="Static Y Axis" name="0 to 5 Volts" sizey="16">
<data>0.00</data>
<data>0.32</data>
<data>0.64</data>
<data>0.96</data>
<data>1.26</data>
<data>1.58</data>
<data>1.90</data>
<data>2.20</data>
<data>2.52</data>
<data>2.82</data>
<data>3.14</data>
<data>3.46</data>
<data>3.78</data>
<data>4.08</data>
<data>4.40</data>
<data>4.70</data>
</table>
<description>This is the scaling for the MAF sensor just in a convenient 16x16 format for easier editing.</description>
</table>
<table type="2D" name="ECT Sensor Scaling" category="Sensors Scaling" storagetype="uint8" endian="little" sizex="15" userlevel="1">
<scaling units="°C" expression="x*.75-48" to_byte="(x+48)/.75" format="0.00" fineincrement="2" coarseincrement="10"/>
<table type="Y Axis" name="Voltage" storagetype="uint8" endian="little">
<scaling units="Volts" expression="x*0.019608" to_byte="x/0.019608" format="0.00" fineincrement=".01" coarseincrement=".1"/>
</table>
<description>This is the scaling for the Engine Coolant Temperature sensor.</description>
</table>
<table type="2D" name="Maximum MAF" category="Sensors Scaling" storagetype="uint16" endian="little" sizex="1" userlevel="1">
<scaling units="kg/h" expression="x*.25" to_byte="x/0.25" format="0.00" fineincrement="2" coarseincrement="10"/>
<table type="Static Y Axis" name="kg/h" sizey="1">
<data>Maximum MAF</data>
</table>
<description>Maximum MAF value</description>
</table>
<!--Knock-->
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 1" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 2" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 3" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 4" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 5" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
<table type="3D" name="Knock Detection Threshold - Multiplicative Factor - Cylinder 6" category="Knock" storagetype="uint8" endian="little" sizex="2" sizey="16" userlevel="3">
<scaling units="Multiplicative Factor" expression="x*.0313" to_byte="x/.0313" format="0.0" fineincrement=".3" coarseincrement="3"/>
<table type="X Axis" name="Load" storagetype="uint8" endian="little" logparam="E2">
<scaling units="ms" expression="x*0.05" to_byte="x/0.05" format="0.00" fineincrement="0.5" coarseincrement="1"/>
</table>
<table type="Y Axis" name="Engine Speed" storagetype="uint8" endian="little">
<scaling units="RPM" expression="x*40" to_byte="x/40" format="#" fineincrement="50" coarseincrement="500"/>
</table>
<description>Multiplicative factor for knock detection threshold calculation for each cylinder. </description>
</table>
</rom>
<rom base="BMWM3.3.1BASE">
<!-- In this ROM specific section define only the attributes missing or that need
to be changed compared to the common table data and axis attributes in the BASE.
This will typically be the storageaddress and sometimes the size entries. -->
<romid>
<internalidaddress>FE4F</internalidaddress>
<internalidstring>326</internalidstring>
<xmlid>M3.3.1 413 (Red Label)</xmlid>
<ecuid>0261200413</ecuid>
<year>1992-1995</year>
<market>EURO</market>
<make>BMW</make>
<model>E36</model>
<submodel>325i</submodel>
<transmission>MT/AT</transmission>
<memmodel></memmodel>
<filesize>64kb</filesize>
</romid>
<!--Switches-->
<table name="O2 Sensor Adaption" addressbit="2" storageaddress="0xD00B"/>
<!--AlphaN-->
<table name="Calculated Load" storageaddress="0xDBC3">
<table type="X Axis" storageaddress="0xDBBC" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDBB4" dataLayout="bosch_subtract"/>
</table>
<!--Closed Loop-->
<table name="Closed Loop - Maximum Load 1" storageaddress="0xE364">
<table type="X Axis" storageaddress="0xE35E" dataLayout="bosch_subtract"/>
</table>
<table name="Closed Loop - Maximum Load 2" storageaddress="0xE372">
<table type="X Axis" storageaddress="0xE36C" dataLayout="bosch_subtract"/>
</table>
<!--Fuel-->
<table name="Injector Dead Time" storageaddress="0xD763">
<table type="X Axis" storageaddress="0xD75E" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Idle" storageaddress="0xD970">
<table type="X Axis" storageaddress="0xD96D" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD965" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Part Throttle - Vanos On" storageaddress="0xDAC6">
<table type="X Axis" storageaddress="0xDABA" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDAA8" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Part Throttle - Vanos Off" storageaddress="0xD9E6">
<table type="X Axis" storageaddress="0xD9DA" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD9C8" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - WOT - Vanos On" storageaddress="0xD9B6">
<table type="X Axis" storageaddress="0xD9A6" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - WOT - Vanos Off" storageaddress="0xD994">
<table type="X Axis" storageaddress="0xD984" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - IAT Compensation" storageaddress="0xD7E5">
<table type="X Axis" storageaddress="0xD7E0" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD7D6" dataLayout="bosch_subtract"/>
</table>
<!--Deceleration-->
<table name="Fuel Restore - RPM" storageaddress="DC79">
<table type="X Axis" storageaddress="0xDC75" dataLayout="bosch_subtract"/>
</table>
<!--Ignition-->
<table name="Ignition advance idle speed - MT/AT in P/N" storageaddress="0xDCF3">
<table type="X Axis" storageaddress="0xDCEB" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition advance idle speed - AT in D/R" storageaddress="0xDD05">
<table type="X Axis" storageaddress="0xDCFD" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - Part Throttle - Vanos On" storageaddress="0xDF6B">
<table type="X Axis" storageaddress="0xDF5F" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDF4D" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - Part Throttle - Vanos Off" storageaddress="0xDE8B">
<table type="X Axis" storageaddress="0xDE7F" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDE6D" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - WOT - Vanos On" storageaddress="0xDDA1">
<table type="X Axis" storageaddress="0xDD9B" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDD89" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - WOT - Vanos Off" storageaddress="0xDD27">
<table type="X Axis" storageaddress="0xDD21" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDD0F" dataLayout="bosch_subtract"/>
</table>
<!--Vanos-->
<table name="Vanos On - Minimum Load" storageaddress="0xD6F0">
<table type="X Axis" storageaddress="0xD6E8" dataLayout="bosch_subtract"/>
</table>
<table name="Vanos Off - Maximum Load" storageaddress="0xD702">
<table type="X Axis" storageaddress="0xD6FA" dataLayout="bosch_subtract"/>
</table>
<!--Idle Speed Target-->
<table name="Idle Speed" storageaddress="0xE4AA">
<table type="X Axis" storageaddress="0xE4A6" dataLayout="bosch_subtract"/>
</table>
<!--Throttle-->
<table name="Idle Detection" storageaddress="0xD53C" />
<table name="WOT Detection" storageaddress="0xD540" />
<!--Limiters-->
<table name="RPM limiter - Soft" storageaddress="0xD032" />
<table name="RPM limiter - Hard" storageaddress="0xD060" />
<table name="RPM limiter - Hysteresis A" storageaddress="0xD074" />
<table name="RPM limiter - Hysteresis B" storageaddress="0xD08F" />
<table name="Speed Limiter" storageaddress="0xD094" />
<table name="RPM limiter (VSS Error)" storageaddress="0xD27E" />
<!--Sensor Scaling-->
<table name="MAF Scaling" storageaddress="0xD290" />
<table name="ECT Sensor Scaling" storageaddress="0xD5C3">
<table type="X Axis" storageaddress="0xD5B4" dataLayout="bosch_subtract"/>
</table>
<table name="Maximum MAF" storageaddress="0xD23E" />
<!--Knock-->
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 5" storageaddress="0xE544">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 3" storageaddress="0xE564">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 6" storageaddress="0xE584">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 2" storageaddress="0xE5A4">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 4" storageaddress="0xE5C4">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<table name="Knock Detection Threshold - Multiplicative Factor - Cylinder 1" storageaddress="0xE5E4">
<table type="X Axis" storageaddress="0xE542" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xE530" dataLayout="bosch_subtract"/>
</table>
<!--Checksum-->
<checksum type="MOTRONICSINGLE" start="0xD000" initial="0x0" end="0xE7AF" loc="0xE7B0" />
</rom>
<rom base="BMWM3.3.1BASE">
<!-- In this ROM specific section define only the attributes missing or that need
to be changed compared to the common table data and axis attributes in the BASE.
This will typically be the storageaddress and sometimes the size entries. -->
<romid>
<internalidaddress>FE4F</internalidaddress>
<internalidstring>569</internalidstring>
<xmlid>M3.3.1 506 (Silver Label)</xmlid>
<ecuid>0261200506</ecuid>
<year>1992-1995</year>
<market>EURO</market>
<make>BMW</make>
<model>E36</model>
<submodel>M3</submodel>
<transmission>MT/AT</transmission>
<memmodel></memmodel>
<filesize>64kb</filesize>
</romid>
<!--Switches-->
<table name="O2 Sensor Adaption" storageaddress="0xD00B"/>
<!--AlphaN-->
<table name="Calculated Load" storageaddress="0xDBC1">
<table type="X Axis" storageaddress="0xDBBA" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDBB2" dataLayout="bosch_subtract"/>
</table>
<!--Closed Loop-->
<table name="Closed Loop - Maximum Load 1" storageaddress="0xE370">
<table type="X Axis" storageaddress="0xE36A" dataLayout="bosch_subtract"/>
</table>
<table name="Closed Loop - Maximum Load 2" storageaddress="0xE37E">
<table type="X Axis" storageaddress="0xE378" dataLayout="bosch_subtract"/>
</table>
<!--Fuel-->
<table name="Injector Dead Time" storageaddress="0xD761">
<table type="X Axis" storageaddress="0xD75C" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Idle" storageaddress="0xD96E">
<table type="X Axis" storageaddress="0xD96B" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD963" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Part Throttle - Vanos On" storageaddress="0xDAC4">
<table type="X Axis" storageaddress="0xDAB8" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDAA6" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - Part Throttle - Vanos Off" storageaddress="0xD9E4">
<table type="X Axis" storageaddress="0xD9D8" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD9C6" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - WOT - Vanos On" storageaddress="0xD9B4">
<table type="X Axis" storageaddress="0xD9A4" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - WOT - Vanos Off" storageaddress="0xD992">
<table type="X Axis" storageaddress="0xD982" dataLayout="bosch_subtract"/>
</table>
<table name="Fuel Scalar - IAT Compensation" storageaddress="0xD7E3">
<table type="X Axis" storageaddress="0xD7DE" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD7D4" dataLayout="bosch_subtract"/>
</table>
<!--Deceleration-->
<table name="Fuel Restore - RPM" storageaddress="DC77">
<table type="X Axis" storageaddress="0xDC73" dataLayout="bosch_subtract"/>
</table>
<!--Ignition-->
<table name="Ignition advance idle speed - MT/AT in P/N" storageaddress="0xDCFF">
<table type="X Axis" storageaddress="0xDCF7" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition advance idle speed - AT in D/R" storageaddress="0xDD11">
<table type="X Axis" storageaddress="0xDD09" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - Part Throttle - Vanos On" storageaddress="0xDF77">
<table type="X Axis" storageaddress="0xDF6B" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDF59" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - Part Throttle - Vanos Off" storageaddress="0xDE97">
<table type="X Axis" storageaddress="0xDE8B" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDE79" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - WOT - Vanos On" storageaddress="0xDDAD">
<table type="X Axis" storageaddress="0xDDA7" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xD9A4" dataLayout="bosch_subtract"/>
</table>
<table name="Ignition Timing - WOT - Vanos Off" storageaddress="0xDD33">
<table type="X Axis" storageaddress="0xDD2D" dataLayout="bosch_subtract"/>
<table type="Y Axis" storageaddress="0xDD1B" dataLayout="bosch_subtract"/>
</table>
<!--Vanos-->
<table name="Vanos On - Minimum Load" storageaddress="0xD6EE">
<table type="X Axis" storageaddress="0xD6E6" dataLayout="bosch_subtract"/>
</table>
<table name="Vanos Off - Maximum Load" storageaddress="0xD700">
<table type="X Axis" storageaddress="0xD6F8" dataLayout="bosch_subtract"/>
</table>
<!--Idle Speed Target-->
<table name="Idle Speed" storageaddress="0xE4B6">
<table type="X Axis" storageaddress="0xE4B2" dataLayout="bosch_subtract"/>
</table>
<!--Throttle-->
<table name="Idle Detection" storageaddress="0xD53A" />
<table name="WOT Detection" storageaddress="0xD53E" />
<!--Limiters-->
<table name="RPM limiter - Hard" storageaddress="0xD05E" />
<table name="Speed Based RPM limiter" storageaddress="0xDCA1">
<table type="X Axis" storageaddress="0xDC9B" dataLayout="bosch_subtract"/>
</table>
<table name="RPM limiter - Hysteresis A" storageaddress="0xD072" />
<table name="RPM limiter - Hysteresis B" storageaddress="0xD08D" />
<table name="Speed Limiter" storageaddress="0xD092" />
<!--Sensor Scaling-->
<table name="MAF Scaling" storageaddress="0xD28E" />
<table name="ECT Sensor Scaling" storageaddress="0xD5C1">
<table type="X Axis" storageaddress="0xD5B2" dataLayout="bosch_subtract"/>
</table>
<!--Checksum-->
<checksum type="MOTRONICSINGLE" start="0xD000" initial="0x0" end="0xE7BD" loc="0xE7BE" />
</rom>
</roms>