RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 2:25 pm

All times are UTC




Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Sat Dec 11, 2010 4:40 pm 
Offline
Experienced

Joined: Mon Aug 18, 2008 11:15 pm
Posts: 316
Location: Chicago, Illinois
wrxspeed wrote:
elevenpoint7five wrote:
wrxspeed wrote:
BTW cobb has a missfire treshold table base on RPM and load

Does it look something like this? The numbers are probably different as I haven't applied an expression to that, but I'll bet it follows that pattern huh? ;-)
Attachment:
misfire.JPG

Andy


Hey Andy is there a way that i can add the above table to any 02-05 wrx rom?..... it can help out alot with the fake missfires due to big cams on low loads.

It's something I am hoping to have time to work on this winter. I'll keep you posted.


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Tue Dec 14, 2010 8:14 pm 
Offline
RomRaider Donator

Joined: Thu Jan 29, 2009 3:16 pm
Posts: 523
Welcome back elevenpoint7five.

_________________
Mods: http://www.romraider.com/forum/viewtopic.php?f=7&t=6789&start=5


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Thu Dec 16, 2010 1:16 am 
Offline
Experienced

Joined: Mon Aug 18, 2008 11:15 pm
Posts: 316
Location: Chicago, Illinois
bcheck555 wrote:
Welcome back elevenpoint7five.

:) Thanks! I miss the forums in the summer time when I don't have time for anything but work!

I think I've got the misfire tables all figured out, just need someone to test for me.

Andy


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Thu Oct 27, 2011 9:41 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Bump!

I was digging through some ATU code for channel 8 one shot pulse, and I stumbled over a reference to battery voltage with what looked like a map pull.

Code:
 ; incoming r4 determines which channel/subchannel
ROM:0000A828
ROM:0000A828 SBR_ATU_CH2_CH8_settings:               ; CODE XREF: ROM:0000A1B6p
ROM:0000A828                                         ; sub_A4E0+94p ...
ROM:0000A828                 mov.l   r14, @-r15
ROM:0000A82A                 sts.l   pr, @-r15
ROM:0000A82C                 mov.l   #ATU_Channel8_Ch2_addresses, r2 ; dcnt8i
ROM:0000A82E                 add     #-4, r15
ROM:0000A830                 mov.b   r4, @r15
ROM:0000A832                 mov.b   @r15, r14
ROM:0000A834                 extu.b  r14, r14
ROM:0000A836                 mov     r14, r3
ROM:0000A838                 shll    r14
ROM:0000A83A                 add     r3, r14
ROM:0000A83C                 mov.w   #h'7FFF, r3
ROM:0000A83E                 shll2   r14
ROM:0000A840                 shll    r14
ROM:0000A842                 add     r2, r14
ROM:0000A844                 mov.l   @(h'C,r14), r4
ROM:0000A846                 mov.w   @r4, r4
ROM:0000A848                 add     r3, r4
ROM:0000A84A                 mov.l   @(4,r14), r1
ROM:0000A84C                 mov.w   r4, @r1
ROM:0000A84E                 mov.l   #loc_8000, r0
ROM:0000A850                 mov.l   @(8,r14), r3
ROM:0000A852                 add     r0, r4
ROM:0000A854                 mov.w   r4, @r3
ROM:0000A856                 mov.l   #sub_E558, r1
ROM:0000A858                 jsr     @r1 ; sub_E558
ROM:0000A85A                 mov.l   @r14, r4
ROM:0000A85C                 mov.b   @r15, r4
ROM:0000A85E                 mov     #1, r0
ROM:0000A860                 mov.l   #E_FFFF5DEC_Possible_ATU_Signal, r3
ROM:0000A862                 extu.b  r4, r4
ROM:0000A864                 shll2   r4
ROM:0000A866                 shll    r4
ROM:0000A868                 add     r3, r4
ROM:0000A86A                 mov.b   r0, @(5,r4)
ROM:0000A86C                 mov     #0, r0
ROM:0000A86E                 mov.b   r0, @(6,r4)
ROM:0000A870                 add     #4, r15
ROM:0000A872                 lds.l   @r15+, pr
ROM:0000A874                 rts
ROM:0000A876                 mov.l   @r15+, r14
ROM:0000A876 ; End of function SBR_ATU_CH2_CH8_settings
ROM:0000A876
ROM:0000A878 ; ---------------------------------------------------------------------------
ROM:0000A878 ; START OF FUNCTION CHUNK FOR sub_A2E8
ROM:0000A878
ROM:0000A878 loc_A878:                               ; CODE XREF: sub_A2E8+4Cj
ROM:0000A878                                         ; sub_A4DCj
ROM:0000A878                 sts.l   pr, @-r15
ROM:0000A87A                 mov.l   #E_SSM_Battery_Volts, r3
ROM:0000A87C                 mov.l   #unk_FFFF5CEC, r2
ROM:0000A87E                 fmov.s  @r3, fr5
ROM:0000A880                 mov.l   #Table_IgnDwell_unk, r4
ROM:0000A882                 mov.l   #sub_21B0, r1
ROM:0000A884                 jsr     @r1 ; sub_21B0
ROM:0000A886                 fmov.s  @r2, fr4
ROM:0000A888                 mov.l   #E_FFFF5E1C_Possible_ATU_Signal, r3
ROM:0000A88A                 lds.l   @r15+, pr
ROM:0000A88C                 rts
ROM:0000A88E                 mov.w   r0, @r3
ROM:0000A88E ; END OF FUNCTION CHUNK FOR sub_A2E8
ROM:0000A88E ; ---------------------------------------------------------------------------
ROM:0000A890 word_A890:      .data.w h'7FFF          ; DATA XREF: SBR_ATU_CH2_CH8_settings+14r
ROM:0000A892                 .data.w h'FFFF
ROM:0000A894 dword_A894:     .data.l h'FFFF          ; DATA XREF: sub_A5C6+23Er
ROM:0000A898 off_A898:       .data.l sub_2098        ; DATA XREF: sub_A5C6:loc_A814r
ROM:0000A89C off_A89C:       .data.l ATU_Channel8_Ch2_addresses
ROM:0000A89C                                         ; DATA XREF: SBR_ATU_CH2_CH8_settings+4r
ROM:0000A89C                                         ; dcnt8i
ROM:0000A8A0 dword_A8A0:     .data.l h'8000          ; DATA XREF: SBR_ATU_CH2_CH8_settings+26r
ROM:0000A8A4 off_A8A4:       .data.l sub_E558        ; DATA XREF: SBR_ATU_CH2_CH8_settings+2Er
ROM:0000A8A8 off_A8A8:       .data.l E_FFFF5DEC_Possible_ATU_Signal
ROM:0000A8A8                                         ; DATA XREF: SBR_ATU_CH2_CH8_settings+38r
ROM:0000A8AC off_A8AC:       .data.l E_SSM_Battery_Volts ; DATA XREF: sub_A2E8+592r
ROM:0000A8B0 off_A8B0:       .data.l unk_FFFF5CEC    ; DATA XREF: sub_A2E8+594r
ROM:0000A8B4 off_A8B4:       .data.l Table_IgnDwell_unk ; DATA XREF: sub_A2E8+598r
ROM:0000A8B8 off_A8B8:       .data.l sub_21B0        ; DATA XREF: sub_A2E8+59Ar
ROM:0000A8BC off_A8BC:       .data.l E_FFFF5E1C_Possible_ATU_Signal
ROM:0000A8BC                                         ; DATA XREF: sub_A2E8+5A0r


Code:
ROM:00096690 Table_IgnDwell_unk:.data.w h'10         ; DATA XREF: sub_A2E8+598o
ROM:00096690                                         ; ROM:off_A8B4o
ROM:00096692                 .data.w 5
ROM:00096694                 .data.l IgnDwell_RPM_axis_unk
ROM:00096698                 .data.l IgnDwell_Volts_axis_unk
ROM:0009669C                 .data.l IgnDwell_Data_unk
ROM:000966A0                 .data.l 0


Code:
ROM:000CF458 IgnDwell_RPM_axis_unk:.data.l h'43FA0000 ; DATA XREF: ROM:00096694o
ROM:000CF45C                 .data.l h'447A0000
ROM:000CF460                 .data.l h'44BB8000
ROM:000CF464                 .data.l h'44FA0000
ROM:000CF468                 .data.l h'451C4000
ROM:000CF46C                 .data.l h'453B8000      ; 500-8000
ROM:000CF470                 .data.l h'455AC000
ROM:000CF474                 .data.l h'457A0000
ROM:000CF478                 .data.l h'458CA000
ROM:000CF47C                 .data.l h'459C4000
ROM:000CF480                 .data.l h'45ABE000
ROM:000CF484                 .data.l h'45BB8000
ROM:000CF488                 .data.l h'45CB2000
ROM:000CF48C                 .data.l h'45DAC000
ROM:000CF490                 .data.l h'45EA6000
ROM:000CF494                 .data.l h'45FA0000
ROM:000CF498 IgnDwell_Volts_axis_unk:.data.l h'41000000 ; DATA XREF: ROM:00096698o
ROM:000CF49C                 .data.l h'41200000
ROM:000CF4A0                 .data.l h'41400000      ; float 8-16
ROM:000CF4A4                 .data.l h'41600000
ROM:000CF4A8                 .data.l h'41800000
ROM:000CF4AC IgnDwell_Data_unk:.data.w h'AB0         ; DATA XREF: ROM:0009669Co
ROM:000CF4AE                 .data.w h'AB0
ROM:000CF4B0                 .data.w h'AB0
ROM:000CF4B2                 .data.w h'9A0
ROM:000CF4B4                 .data.w h'830
ROM:000CF4B6                 .data.w h'730
ROM:000CF4B8                 .data.w h'680
ROM:000CF4BA                 .data.w h'600
ROM:000CF4BC                 .data.w h'590
ROM:000CF4BE                 .data.w h'520
ROM:000CF4C0                 .data.w h'4E0
ROM:000CF4C2                 .data.w h'4A0
ROM:000CF4C4                 .data.w h'460
ROM:000CF4C6                 .data.w h'420
ROM:000CF4C8                 .data.w h'3F0
ROM:000CF4CA                 .data.w h'3C0
ROM:000CF4CC                 .data.w h'950
ROM:000CF4CE                 .data.w h'950
ROM:000CF4D0                 .data.w h'840
ROM:000CF4D2                 .data.w h'6E0
ROM:000CF4D4                 .data.w h'610
ROM:000CF4D6                 .data.w h'580
ROM:000CF4D8                 .data.w h'500
ROM:000CF4DA                 .data.w h'4C0
ROM:000CF4DC                 .data.w h'470
ROM:000CF4DE                 .data.w h'430
ROM:000CF4E0                 .data.w h'400
ROM:000CF4E2                 .data.w h'3D0
ROM:000CF4E4                 .data.w h'3B0
ROM:000CF4E6                 .data.w h'390
ROM:000CF4E8                 .data.w h'360
ROM:000CF4EA                 .data.w h'350
ROM:000CF4EC                 .data.w h'7F0
ROM:000CF4EE                 .data.w h'7E0
ROM:000CF4F0                 .data.w h'620
ROM:000CF4F2                 .data.w h'550
ROM:000CF4F4                 .data.w h'4B0
ROM:000CF4F6                 .data.w h'440
ROM:000CF4F8                 .data.l h'40003B0, h'3900360, h'3400320, h'30002E0, h'2D002C0
ROM:000CF4F8                 .data.l h'4800480, h'4800430, h'3C00380, h'3400310, h'2F002D0
ROM:000CF4F8                 .data.l h'2B002A0, h'2800270, h'2600250
ROM:000CF4F8                 .datab.l 2, h'3000300
ROM:000CF4F8                 .data.l h'30002F0, h'2D002A0, h'2800270, h'2600250, h'2300220
ROM:000CF4F8                 .data.l h'2100200


After sampling a few values from the map data, it's nearly identical to the other tables posted.

Defining these tables is pretty easy, there are two references to SSM_Battery_Volts in the low ROM, the first is the A/D Conversion, the second should be this table pull.

This table pull uses a slightly different PULL 2d routine, which incorporates a FMAC instruction to apply a gradient/offset based on incoming registers.

This all makes alot of sense because the timing is controlled by the ATU. Seeing how dwell is such a small time value, the only reasonable way to incorporate it is directly into the timer logic, hence the location in the low ROM.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Fri Oct 28, 2011 3:02 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
There are quite a few different 2D and 3D pull routines. It all depends on how the table is to be interpreted and whether it is signed or unsigned.

Just for reference has anyone reviewed these I/O samples from Renesas related to engine control?
http://documentation.renesas.com/eng/pr ... sh7055.pdf


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Fri Oct 28, 2011 4:28 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Thanks, that looks like a pretty informative document. I found a couple others similar docs just searching the web on ATU stuff. Will have to explore the renesas site and see what they have on the 7058.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Fri Sep 07, 2012 9:01 pm 
Offline
Experienced

Joined: Mon Jul 02, 2007 11:46 am
Posts: 430
Been poking around on my 4.5 hour train ride home. have the tables for 07 STI and 04STI 09WRX AND A FEW OTHERS. hope this is helpful and just pm me if it needs to be taken down....

04 STI A2ZJ710J

<table name="Ignition Dwell" address="6211c" level="3">
<table name="Engine Speed" address="620c8"/>
<table name="Battery" address="62108"/>
</table>

07 STI A2UJ000J

<table name="Ignition Dwell" address="d1d90" level="2">
<table name="Engine Speed" address="d1d3c"/>
<table name="Battery" address="d1d7c"/>
</table>

09 WRX AZ1G401V

<table name="Ignition Dwell" address="d556c">
<table name="Engine Speed" address="d5518"/>
<table name="Battery" address="d5558"/>
</table>

05 STI A2ZJB10J

<table name="Ignition Dwell" address="cc510">
<table name="Engine Speed" address="cc4bc"/>
<table name="Battery" address="cc4fc"/>
</table>

06 STI A2ZJE11J

<table name="Ignition Dwell" address="cc664" level="3">
<table name="Engine Speed" address="cc610"/>
<table name="Battery" address="cc650"/>
</table>

_________________
--2008 3.6 Tribeca --
--2007 STI limited Panda--
--Twinscroll GT40R 2.35L--


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Mon Sep 17, 2012 2:24 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
All posted definitions pushed to git Alpha repo here: https://github.com/Merp/SubaruDefs/tree/Alpha

Currently defined in the Alpha repo:
A2UJ000J
A2ZJ710J
AZ1G401V
A2ZJB10J
A2ZJE11J
A8DH200X
AZ1J500G
AZ1G201G

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Thu Apr 18, 2013 10:45 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
AZ1G400W

DATA - D418C
X AXIS - D413B
Y AXIS - D4178

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Sat Dec 28, 2013 10:55 am 
Offline
Experienced

Joined: Tue May 17, 2011 11:52 am
Posts: 221
Location: Tasmania
I just did a coil on plug conversion, I believe my ecu would benefit messing around with these values, but I'm running wasted spark. What should I do in this situation?
Any help would be great.

_________________
A8DH100M
Ej257 short block, CP Pistons, Ported EJ255 Heads, Kelford 264 cams, Blouch 1.5XTR, ID1000s, FMIC, Custom 3" Dump, DW300, Equal Length headers


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Sat Dec 28, 2013 12:07 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
crippsdr wrote:
I just did a coil on plug conversion, I believe my ecu would benefit messing around with these values, but I'm running wasted spark. What should I do in this situation?
Any help would be great.

Here's the table:
Code:
ROM:00082068 Table_Ignition_Dwell:.data.w h'D        ; DATA XREF: sub_A07C+598o
ROM:00082068                                         ; ROM:off_A648o
ROM:0008206A                 .data.w 5
ROM:0008206C                 .data.l flt_CD850
ROM:00082070                 .data.l flt_CD884
ROM:00082074                 .data.l word_CD898      ; = 3.008e3
ROM:00082078                 .data.l 0

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Sun Dec 29, 2013 10:17 am 
Offline
Experienced

Joined: Tue May 17, 2011 11:52 am
Posts: 221
Location: Tasmania
td-d wrote:
crippsdr wrote:
I just did a coil on plug conversion, I believe my ecu would benefit messing around with these values, but I'm running wasted spark. What should I do in this situation?
Any help would be great.

Here's the table:
Code:
ROM:00082068 Table_Ignition_Dwell:.data.w h'D        ; DATA XREF: sub_A07C+598o
ROM:00082068                                         ; ROM:off_A648o
ROM:0008206A                 .data.w 5
ROM:0008206C                 .data.l flt_CD850
ROM:00082070                 .data.l flt_CD884
ROM:00082074                 .data.l word_CD898      ; = 3.008e3
ROM:00082078                 .data.l 0



Cheers mate.


Does anyone know if i should be copying the table from a wrx with the saem coils or will it be an issue since im running wasted spark rather than direct spark.

_________________
A8DH100M
Ej257 short block, CP Pistons, Ported EJ255 Heads, Kelford 264 cams, Blouch 1.5XTR, ID1000s, FMIC, Custom 3" Dump, DW300, Equal Length headers


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Sun Dec 17, 2017 9:33 pm 
Offline
Newbie

Joined: Wed Oct 19, 2016 8:27 pm
Posts: 8
Subeboost wrote:
I think that I found out that the newer FK0334 coil pack dwell time is the same as the older FK0186 coil. This is what I came up with..

Image




I've been looking for dwell tables for a long time
only the wrx 01 ---- 02 have low dwell ..... I bring back tables to demonstrate ... from wrx 03 and sti 02 all the roms present the same table of dwell even with coils different from fk0186 onwards ... if it's interesting, I've found on the 16bit the fuel cut-off time table if it can affect addresses for all the Roma only 16bit per hour


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Mon Jul 09, 2018 11:11 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Has anyone ever checked the accuracy of these values with a scope (on 32-bit)? Or checked to see if they actually change dwell?

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Ignition Dwell - New Definitions
PostPosted: Fri Jul 13, 2018 4:02 pm 
Offline
Experienced

Joined: Mon Jul 02, 2007 11:46 am
Posts: 430
Merp wrote:
Has anyone ever checked the accuracy of these values with a scope (on 32-bit)? Or checked to see if they actually change dwell?



turbomike has. Worked on another project where they were blowing out. Had to play with the settings. No scope though.

_________________
--2008 3.6 Tribeca --
--2007 STI limited Panda--
--Twinscroll GT40R 2.35L--


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


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