Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Hi-Res code = ohmymotherfuckinggodamazing (https://www.miataturbo.net/megasquirt-18/hi-res-code-%3D-ohmymotherfuckinggodamazing-22350/)

mikeflys1 06-13-2008 07:44 PM

Hi-Res code = ohmymotherfuckinggodamazing
 
I cant believe I didnt convert sooner.....The thing idles 460's perfectly at like 15.0 afr and the o2 gauge stays almost dead nuts on all the time instead of jumping around like usual. :bowdown:

kotomile 06-13-2008 08:02 PM

10G? Congrats, having any random misses?

mikeflys1 06-13-2008 08:13 PM

Thanks, 10g and nothing so far. The thing seriously sounds as clean as stock.

cjernigan 06-13-2008 08:16 PM

Hi-res is the best thing that ever happened to MSNSE. Instead of idling 550s at 11.8:1 I can now Idle at 13-13.5:1.

akaryrye 06-13-2008 08:26 PM

damnit ... when i tried going to highres the thing acted like a little bitch so i gave up and went back to 029v, but i just cant get it to idle well enough for me, maybe ill give it another shot sometime this weekend.

btw, did you install the cap and if so how much uf?

mikeflys1 06-13-2008 08:35 PM

I didnt make any hardware changes for it....Im just using the 3.57 board. What is the cap needed for?

cjernigan 06-13-2008 08:43 PM

You don't need it if you're not having issues. It is recommended to eliminate tach spikes with the hi-res code though. It is also good for anyone having any sort of weird tach reading just because :)

Braineack 06-13-2008 10:05 PM

maybe i should upgrade this weekend. i keep putting it off.....dunno why.


d/ling firmware now. i still have 10e here on my machine.

shuiend 06-13-2008 10:12 PM

Maybe you should stop triple posting Scott and just man up and isntall it. Then after you test it install it on my megasquirt.

ZX-Tex 06-13-2008 10:43 PM


Originally Posted by cjernigan (Post 271039)
Hi-res is the best thing that ever happened to MSNSE. Instead of idling 550s at 11.8:1 I can now Idle at 13-13.5:1.

+1 that is about where my idle mixture is at with 550cc RX-7 injectors and hi-res.

levnubhin 06-13-2008 11:47 PM

Can someone tell my dumb ass how I can tell what res im running and how I can get the hi-res if I dont have it?
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

kotomile 06-13-2008 11:56 PM

If your injector pulsewidth gauge shows "1.7" instead of "1.745", you aren't running HiRes.

also: If you haven't installed HiRes, you're not running HiRes.

mikeflys1 06-14-2008 12:00 AM

http://www.msextra.com/manuals/MS_Ex...ual.htm#hrcode

The links for the code/installer are in there along with all the info on it.

levnubhin 06-14-2008 12:03 AM

Thanks fellas.
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

bryantaylor 06-15-2008 05:45 PM

whats the big deal about hi res? can you start with the same .msq? use the same megatune?

kotomile 06-15-2008 05:58 PM

Use the same .msq, same megatune, same MLV.

The main benefit (as explained to me by Jerry) is that the HR code can add and subtract fuel in smaller increments than the regular code.

Braineack 06-15-2008 05:59 PM

yes. the advtanage is the PW.

like koto said above. you hi-res removes a few things form teh sandard extra code to be able to control injectors to the .000ms. this gives you tons of extra control.

for example, i have yet to install it. i idle at 1.7. sometimes it fights between 1.7 and 1.8, this causes a slightly lumpy idle. When I give it the ability to idle at 1.758, it should be much smoooooother.

this is also great for larger injectors when the difference between 1.7 and 1.8 is a whole lot of fuel.

Braineack 06-15-2008 06:59 PM

alright, so i just went out and did the upgrade. I also installed my 10000uF cap for my cops. I had to lean my map throughout, but all in all it idles smoother and it seems to drive smoother. for example, with my 6-puck disc im still a tad rough from a get go, seems that issue is gone, its so much smoother into speed that im much better at much launches.

bryantaylor 06-15-2008 07:07 PM

cool deal, i downloaded it, need to burn the firmware now i guess

elesjuan 06-15-2008 07:28 PM

What are the downsides to Hi-Res on a 2.2 board? It mentioned in the docs I read no flyback control, but I assume since flyback is an external board for the 2.2 that wouldn't apply to me anyway.. I don't plan on using low-z injectors anytime soon but am very interested in attempting hi-res. Any other functions or I/Os removed with this code?

Joe Perez 06-15-2008 07:43 PM


Originally Posted by elesjuan (Post 271672)
What are the downsides to Hi-Res on a 2.2 board?

As compared to Hi-Res on a 3.0 board? No dedicated ground plane, thinner traces, no proto area, no overcurrent protection...

Oh, you mean disadvantages to HR as compared to LR assuming both are on a 2.2 board. :D None. The only functional difference between HR and regular SnSExtra is the injector PW resolution and lack of Lo-z drive capability.

elesjuan 06-16-2008 01:27 AM


Originally Posted by Joe Perez (Post 271677)
As compared to Hi-Res on a 3.0 board? No dedicated ground plane, thinner traces, no proto area, no overcurrent protection...

Oh, you mean disadvantages to HR as compared to LR assuming both are on a 2.2 board. :D None. The only functional difference between HR and regular SnSExtra is the injector PW resolution and lack of Lo-z drive capability.

:hustler::hustler::hustler::jerkit::jerkit::jerkit :


So even with a flyback board with HR you lose the ability to use low-z injectors? Good deal, I'll look into giving that a shot. :giggle:;)

Joe Perez 06-16-2008 02:40 AM


Originally Posted by elesjuan (Post 271827)
So even with a flyback board with HR you lose the ability to use low-z injectors? Good deal, I'll look into giving that a shot. :giggle:;)

Correct. The reason for the discrepancy has to do with the limited hardware resources of the CPU. Remember that when you get right down to it, pretty much everything in the MS is time-based. Fuel, ignition, it all happens by counting the time elapsed between interrupts, and turning ports on and off for specified lengths of time.

What the HR code does is to increase the resolution of the time calculation on the injector drive. It does this by repurposing one of the CPUs high-precision hardware timers to do the fuel calculation. In the base code, this timer was used to do the PWM calculation for the injector current-limiting, and the fuel calculation was done with a lower-precision general purpose timer.


The Flyback board is nothing more than a couple of transistors which, in the 3.0 schematic, are already on the main board. The overall design of the circuit is identical between the two, only the location of the parts changes. Be it a 3.0 or a 2.2 with Flyback, the same CPU resources are used to control the injector drivers. If those resources are unavailable, the drivers cannot function in PWM mode. Also, understand that the "Flyback circuit" is purely a damper circuit that is needed to protect the main drivers when they are operated in PWM mode. An unmodified 2.2 board could be run in PWM mode with lo-z injectors, but the drivers would probably be damaged.


However
, there is a board which replaces the injector drivers altogether and does the Peak & Hold current limiting in hardware, without intervention from the CPU. It will thus work with HR code. It's made by the same folks that brought us the JimStim: http://www.jbperf.com/p&h_board/index.html

They're using an LM1949 IC, which is a special purpose IC designed specifically for doing low-impedance injector control. It's a beautiful design, you just feed it the regular injector signal, and it takes care of doing the current ramp-down after the initial opening period.

I think Abe is planning to try it as he's been having electrical issues with his on-board injector drivers.

rb26dett 06-16-2008 06:18 AM

Actually (from the horses mouth) it's "about 0.02 - 0.03" ms (20 - 30us) fuel resolution. MS2 does it to 0.6666us in hardware and if you look at the comparison chart between different ms variants here :

http://www.msextra.com/ms2extra/MS2-...l.htm#features

It still says 100us* where * = "hires can do better than this, but we aren't specifying how much"

I just thought it was unfair on MS2 to claim ms1e hires can match it for fuel accuracy. It simply can't. Light years ahead of ms1 ah la plain though, so your excitement is justified :-)

It's worth noting that the software accuracy behind the hardware output makes a big difference too. Case in point, ms2 b&g vs. ms2e, ms2e has extensively rewritten math to make use of the hardware accuracy that ms2 b&g just doesn't have.

Fred.

Joe Perez 06-16-2008 12:11 PM


Originally Posted by rb26dett (Post 271849)
I just thought it was unfair on MS2 to claim ms1e hires can match it for fuel accuracy.

Uh, Fred, I don't think anybody here was claiming that MS1-HR was equal or superior to MS2. I think we're all in agreement that MS2 is more accurate than any MS1 with regard to fuel resolution.

Exact specs are hard to come by, but some numbers seem to show up more often than others.

To quote Phil, James & Co. from the MS1E-HR manual:

The MS1 uP's code, be it MS-Extra or standard B+G code, is capable of controlling the injector's pulse width down to 0.1mS (1000th of a Second). (...) The HR code has a resolution of around 0.035mS
and to quote the B&G documentation for MS2,

Fuel control to 1 µsec (100 times more resolution than MegaSquirt-I)
So, regular MS1 or MS1Extra has a resolution of about 100µs, MS1Extra-HR has a resolution of about 35µs (three times more accurate) and MS2 has a resolution of about 1µs, blowing them all away.

I'm sure there is point of diminishing returns in this, though I don't know where it is exactly. I doubt that increasing the resolution to, say .01µs would buy you anything palpable over the MS2's stock 1µs resolution.

The point is simply that going from MS1-Extra to MS1-HR, and gaining three times the fuel resolution, is a significant change.

Toddcod 06-16-2008 12:25 PM


Originally Posted by rb26dett (Post 271849)
Actually (from the horses mouth) it's "about 0.02 - 0.03" ms (20 - 30us) fuel resolution. MS2 does it to 0.6666us in hardware and if you look at the comparison chart between different ms variants here :

http://www.msextra.com/ms2extra/MS2-...l.htm#features

It still says 100us* where * = "hires can do better than this, but we aren't specifying how much"

I just thought it was unfair on MS2 to claim ms1e hires can match it for fuel accuracy. It simply can't. Light years ahead of ms1 ah la plain though, so your excitement is justified :-)

It's worth noting that the software accuracy behind the hardware output makes a big difference too. Case in point, ms2 b&g vs. ms2e, ms2e has extensively rewritten math to make use of the hardware accuracy that ms2 b&g just doesn't have.

Fred.

YEaaaaaa.......
So I have MSPNP9093. i just installed it recently. I am installing my 550cc injectors. So I just need to download the Hi res and burn the firmware. Then everything works the same. Just more precise.

I was told my injectors were RC550CC from flying Miata. But how do i make sure they are rc550 and High ped. A red neck did own it.

Joe Perez 06-16-2008 12:35 PM


Originally Posted by Toddcod (Post 271959)
. I am installing my 550cc injectors. So I just need to download the Hi res and burn the firmware. Then everything works the same. Just more precise.

Assuming the 550s are hi-z, then yes. You'll probably need to tweak your VE table a bit.


Anyone have the exact link to the download. I don't wanna screw it up. This isn't something I wanna search or try to find the right one. Trust me. I would appreciate the help.
The latest HR code can always be found in the "Latest HiRes" thread here: http://www.msextra.com/viewtopic.php?f=90&t=25336

rb26dett 06-16-2008 12:36 PM


Originally Posted by Joe Perez (Post 271952)
Uh, Fred, I don't think anybody here was claiming that MS1-HR was equal or superior to MS2.

Not quite, but it would have been easy to read this :


Originally Posted by Braineack (Post 271643)
hi-res removes a few things form teh sandard extra code to be able to control injectors to the .000ms. this gives you tons of extra control.

or this :


Originally Posted by Braineack (Post 271643)
for example, i have yet to install it. i idle at 1.7. sometimes it fights between 1.7 and 1.8, this causes a slightly lumpy idle. When I give it the ability to idle at 1.758, it should be much smoooooother.

And infer a granularity of 1us exactly the same as (not better than or worse than) ms2.

That is all I was getting at.


To quote Phil, James & Co. from the MS1E-HR manual:

The MS1 uP's code, be it MS-Extra or standard B+G code, is capable of controlling the injector's pulse width down to 0.1mS (1000th of a Second). (...) The HR code has a resolution of around 0.035mS


So, regular MS1 or MS1Extra has a resolution of about 100µs, MS1Extra-HR has a resolution of about 35µs (three times more accurate)

Actually (from the horses mouth) it's "about 0.02 - 0.03" ms (20 - 30us) fuel resolution.
I was quoting an MS1Extra HiRes Author who I asked directly about the accuracy. Hence my comment "straight from the horses mouth" which is a little bit different to "straight from the horses documentation" although either of them could be as out of date/inaccurate as the other I guess :-)


The point is simply that going from MS1-Extra to MS1-HR, and gaining three times the fuel resolution, is a significant change.
Agreed, or perhaps as much as 5x increase in precision.

Additionally and somewhat off topic : ms2 res = 0.666us, not 1us :-)

When someone asks me about them I say this :

MS1base <= MS1Extra < MS1base HiRes <= MS1Extra HiRes << MS2 < MS2Extra

Which I think is a fair summary most of the time.

Fred.

Saml01 06-16-2008 12:59 PM

Damnit, I really have to go do this. It takes like 5 forking minutes, and im still putting it off. I guess I just dont want to remove the MS from the car if I need the cap mod.

Are you guys just reusing your low-res msq files, or re entering tables by hand into the hi res version?

crashnscar 06-16-2008 01:14 PM


Originally Posted by Saml01 (Post 271985)
Damnit, I really have to go do this. It takes like 5 forking minutes, and im still putting it off. I guess I just dont want to remove the MS from the car if I need the cap mod.

Are you guys just reusing your low-res msq files, or re entering tables by hand into the hi res version?

Just load your low-res msq and tweak.

mikeflys1 06-16-2008 01:15 PM

Reused mine...i think they only re-entered by hand because of a bug in the previous version.

rb26dett 06-16-2008 01:34 PM


Originally Posted by mikeflys1 (Post 272000)
Reused mine...i think they only re-entered by hand because of a bug in the previous version.

No, it's because of namespace/meaning differences in the contents of the tune. The way various vars are used can change between two versions and cause chaos if it doesn't match up. Usually it matches up though, so if there are no warnings or few warnings, you are probably OK. In the case of warnings, check the stuff they refer to.

ini files on the other hand, NEVER try to use those! MS has direct memory addressing through serial and a wrong ini (as it says when you try) will/can ruin everything :-)

Fred.

Saml01 06-16-2008 03:04 PM

Guess ill throw it on either today or tomorrow and see what happens.

I really hope I dont have to pull the MS for the cap mod, I hate taking it apart. Luckily I retained all my unused MS parts, and found a .22uf cap I could use just in case.

pace 06-17-2008 02:52 PM

I have been experiencing a driveability issue whereby the car would jerk and stutter if I was coasting downhill with the throttle just cracked open a hair. My assumption was that it was due to the overrun fuel cut option which I had enabled. I had tried tweaking the fuel cut parameters with no success.

After loading the high-res code and re-tuning the VE map for it, the issue appears to be gone !

Additionally, I now have a stable idle at 13.5:1 whereas it would oscillate wildly with the 029y4 code if I tried to lean the idle above 11:1.

I am impressed with what the high-res code has done for my setup.

levnubhin 06-19-2008 12:30 PM

1 Attachment(s)

Originally Posted by kotomile (Post 271115)
If your injector pulsewidth gauge shows "1.7" instead of "1.745", you aren't running HiRes.

also: If you haven't installed HiRes, you're not running HiRes.


My pulse gauge reads neither. Any ideas?

Attachment 212645
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

kotomile 06-19-2008 12:39 PM

you're running 029v levnub.

Joe Perez 06-19-2008 12:55 PM


Originally Posted by levnubhin (Post 273449)
My pulse gauge reads neither. Any ideas?

"1.7" instead of "1.745" was just an example, to illustrate the use of one decimal place vs. three. "2.1" is a number with one decimal place of precision. Also, as kotomile pointed out, it says right up at the top of your screenshot (on the titlebar) that you are running 029v, which is not a HiRes build.

kotomile 06-19-2008 12:58 PM

I think he was being facetious FWIW.

Saml01 06-19-2008 01:39 PM

I installed it the other night, and just at IDLE I noticed that it was already superior to the low res firmware. Cant wait to drive it today but I imagine it being pretty much like the thread title and then some.

levnubhin 06-19-2008 01:44 PM

Anyone have any intrest in spending a few mins on the phone with me and walk me thru the install? Id appreciate it big time and would be sure to return the favor somehow. Im just affraid that I might blow something up.
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

kotomile 06-19-2008 01:56 PM


Originally Posted by levnubhin (Post 273503)
Anyone have any intrest in spending a few mins on the phone with me and walk me thru the install? Id appreciate it big time and would be sure to return the favor somehow. Im just affraid that I might blow something up.

It's easy man, follow the steps in this link, courtesy of Saboteur:

http://ozmx5.com/viewtopic.php?f=4&t=19

You flash it just like any other time, make sure you hit "no" when asked if you're upgrading from MSNS-e code, when prompted.

So,

- download firmware image, following instructions in link
- unplug ignitor
- flash firmware
- Re-load MSQ (JP edit)
- plug in ignitor

you'll probably notice your CLT reads a little higher, that's normal, and you may have an occasional random miss, there's a mod for that if you're affected.

Saml01 06-19-2008 03:16 PM


Originally Posted by levnubhin (Post 273503)
Anyone have any intrest in spending a few mins on the phone with me and walk me thru the install? Id appreciate it big time and would be sure to return the favor somehow. Im just affraid that I might blow something up.

Sure, id help you out.

How do you think Hustler got his megasquirt working? He called me sobbing like a little bitch because he couldnt figure out how to rebuild his firmware with new therm files.

mikeflys1 06-19-2008 03:27 PM


Originally Posted by Saml01 (Post 273560)
Sure, id help you out.

How do you think Hustler got his megasquirt working? He called me sobbing like a little bitch because he couldnt figure out how to rebuild his firmware with new therm files.

lol...easytherm pretty much does everything for you though.

Saml01 06-19-2008 03:34 PM


Originally Posted by mikeflys1 (Post 273564)
lol...easytherm pretty much does everything for you though.

He was confused with numbers to use for the curves, bias resistance, and then the actual dragging and dropping INC files into the src folder etc etc etc.

kotomile 06-19-2008 04:04 PM

Thanks for the edit, JP, that's a crucial step!

levnubhin 06-19-2008 05:47 PM


Originally Posted by Saml01 (Post 273560)
Sure, id help you out.

How do you think Hustler got his megasquirt working? He called me sobbing like a little bitch because he couldnt figure out how to rebuild his firmware with new therm files.


Ok, great pm me ur # and when i can call ya. I thibk I got it figured out but id rather have someone who has done it to tell me if im correct.
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

Braineack 06-19-2008 06:24 PM


Originally Posted by levnubhin (Post 273651)
Ok, great pm me ur # and when i can call ya. I thibk I got it figured out but id rather have someone who has done it to tell me if im correct.


make sure you use the right values.

since you said yours about 25-30 off, i assume vlt too low. then use these values:

Use 2625 for CLT and 1450 for AIT for the bias.

rx7 defaults for the CLT and GM defaults for the AIT.


I'd help out, but im packing and getting ready to leave. There a few things you need to do. You'll probably need to solder a capacitor on your board too, as i never loaded hi-res before on anyone's MS.

kotomile 06-19-2008 06:29 PM

the link I posted has firmware images with the therm stuff already sorted. :)

Braineack 06-19-2008 06:32 PM

yeah but he's not standalone, so his resistance values for CLT and AIT will be different, not 2490ohms.

Braineack 06-19-2008 06:40 PM

2 Attachment(s)
here

levnubhin 06-19-2008 07:16 PM


Originally Posted by Braineack (Post 273664)
make sure you use the right values.

since you said yours about 25-30 off, i assume vlt too low. then use these values:

Use 2625 for CLT and 1450 for AIT for the bias.

rx7 defaults for the CLT and GM defaults for the AIT.


I'd help out, but im packing and getting ready to leave. There a few things you need to do. You'll probably need to solder a capacitor on your board too, as i never loaded hi-res before on anyone's MS.

Now Im really confused. :eek5: Do I use those values just to fix my CLT and IAT?

Whats this capacitor for?

How do I know if I need it?


Originally Posted by Braineack (Post 273673)
here

What do i do with those?
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

kotomile 06-19-2008 09:04 PM


Originally Posted by Braineack (Post 273671)
yeah but he's not standalone, so his resistance values for CLT and AIT will be different, not 2490ohms.

Ah, ok. Ignore what I posted levnub.

bryantaylor 06-21-2008 03:30 PM

damn, just burned the HR, now i have no tach signal, wtf? i need to go over everthing and see how i goofed.

cjernigan 06-21-2008 04:07 PM

Please tell me you disconnected your ignitor when you burned it? No tach signal in MS or no tach signal on your indash tach?

bryantaylor 06-21-2008 04:16 PM


Originally Posted by cjernigan (Post 274279)
Please tell me you disconnected your ignitor when you burned it? No tach signal in MS or no tach signal on your indash tach?

unpluged the ignitor and coilpack. i have tach signal in the dash, but not in megatune. i have re-burned it a couple of times now. i am not getting a good burn, i have had this problem before, now the fuel pump is cycleing on and off.

bryantaylor 06-21-2008 05:56 PM

holy crap this is a cluster fuck. this hi-res is a pain in the dick. it messed up my whole entire .msq, i have no tach signal at all. i went from having a running car, to a no-running giant pain in the ass.

cjernigan 06-21-2008 06:26 PM

Do this.
Locate a known good copy of your old msq and make sure you have it handy.
Reburn your hi-res code, then burn a different known good msq such as something easily obtainable like the mspnp msqs or even a fresh blank msq that you created in two seconds in megatune. Then reburn your good, current, tuned msq that you used to run. Sounds like you have connectivity issues or something if you keep getting all kinds of corruption like that. Did you used to get lots of resets while datalogging?

bryantaylor 06-21-2008 06:41 PM

i never had any problems dataloging, or at all with the low res. what i am doing now is just starting clean. i have deleted everything MS related off the laptop. downloaded the hi-res with the megatune with it. i am modding the MSPNP map right now to atleast get me running enough to start, hopefully

bryantaylor 06-21-2008 07:01 PM

WOOT!!!!!! that work, it runs now

levnubhin 06-27-2008 10:21 AM


Originally Posted by Braineack (Post 273664)
make sure you use the right values.

since you said yours about 25-30 off, i assume vlt too low. then use these values:

Use 2625 for CLT and 1450 for AIT for the bias.

rx7 defaults for the CLT and GM defaults for the AIT.


I'd help out, but im packing and getting ready to leave. There a few things you need to do. You'll probably need to solder a capacitor on your board too, as i never loaded hi-res before on anyone's MS.


RX7 defaults are in Celsius. Do I leave them Celcius?
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote


All times are GMT -4. The time now is 08:36 AM.


© 2024 MH Sub I, LLC dba Internet Brands