pgmfi.org

Hacking up Honda's ECU
It is currently Thu Mar 28, 2024 4:23 am

All times are UTC - 5 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Multiplier Glitch..
PostPosted: Mon Jul 14, 2003 8:00 pm 
So, I've been writing my own personal ROM editor and I came across a small problem.

During my save routine beta testing, I decided to be wild and put a 10.85 ms pulse duration on at 500rpm@26inHg.

Well, that was dumb. It really messes things up. I'm not sure how to go about fixing it. Maybe just an error checking routine to hook "invalid" or obscene values.

..I checked GhD and it has the same problem, only, that it's much worse because it actually crashes the program with a "Runtime Error '6': Overflow" losing all data.

Anyway.. just thought I would throw this out there.

[%sig%]


Top
  
Reply with quote  
 Post subject: Re: Multiplier Glitch..
PostPosted: Tue Jul 22, 2003 1:22 am 
Offline

Joined: Tue Jul 27, 2004 2:25 am
Posts: 123
I ran into this same problem with Ghettodyne. I was actually wanting to retard the ignition as much as possible and give a large pulsewidth to dump in fuel and then spit flames. Can't enter more than 2.07ms for the pulsewidth on the first column.

-Michael


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiplier Glitch..
PostPosted: Tue Jul 22, 2003 11:29 am 
Yeah, GhD could use a bit more error handling, but hey, you're putting in 10.85 ms for idle! I never thought of someone doing that! :-)

Multiplier changes are in the next release...I'm working on an auto discovery of the multipliers so it uses the best one possible based on the value entered in. This can be over-ridden of course for those curious folks. Release date TBD.

Mike


Top
  
Reply with quote  
 Post subject: Re: Multiplier Glitch..
PostPosted: Fri Aug 08, 2003 11:25 am 
Offline

Joined: Tue Jul 27, 2004 2:12 am
Posts: 69
Location: Virginia
Use:

On Error Goto

for error handling... just in case you didn't know...

Example:

Sub MySub()

On Error Goto ErrorHandler

' Do your stuff here

Exit Sub

ErrorHandler:

' Do you error handling here

End Sub


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group