You need to do a pressure and vacuum test before you keep guessing between air leak and bad A/F.
While in college I use to rechip ROMs in car ECUs or update EPROMs, ps2,3 xbox, robotic iFles, etc. Ive built quite a few efi set ups, but the problem is the software it utilizes is so different due to copy right lawsuits. The O2 needs to be installed before doing the set up honestly. and if not you need a data logging wideband to co ordinate with the software along with a hand held tach to pin point your A/Fs.
Maybe I can give a bit of advice in a common set up up table. Take note it may not be exactly like your software but replace your terminology with like terms from my base.
First thing that needs to be done is turn the 02 feedback off. Open Idle/Idle target base table/Table. This is where you will set the desired idle rpm.
Lets start with these settings.
-40 to 68=1400rpm
86=1350rpm
104=1325rpm
122=1300rpm
140=1250rpm
158 to 248=1200
This will give a 1200rpm idle when the engine is warm. 158F+ ECT and 1400 when cold -68F ECT.
Get the engine started and idleing somewhat steady. You may have to baby it until you can get it to steady out from the idle feedback working. open idle templates.
You may have an Idle Learned value of +/- 5. This is normal at this point. Adjust the fuel table until you can at least keep the AFR in the 14's when the engine is at full temp. At this point the idle should be around 1200rpm. Monitor the idle learned value,Adjust the Idle% vs Target graph/table at the 1200rpm point up if the feedback is negative or down if the feedback is positive. Adjust unitl the feedback value is staying around 0. Now, go back to Idle/Idle target base table/Table. Change the 158 to 248 value to 1300rpm. The engine should idle up, give is a few seconds to stablize. Adjust the Idle% vs Target graph/table at the at the 1300rpm point until it is around 0. Do this all the way up to 1600rpm adjusting the idle% at every rpm point so that at all commanded rpm points the idle feedback is around 0. Change the commanded idle (Idle/Idle target base table/Table) to 1100 rpm if it can idle some what stable adjust the Idle% until you have near 0 feedback (idle feedback value). Do this at 1000rpm,900rpm,ect. or until you reach an rpm where the engine wont idle. Once this is done you will be able to see the "curve" of the Idle% vs Target graph. Take the rpms point the engine would not idle at and smooth them making the table have a consistant curve. example: 1000rpm=35% 900rpm=33% 800rpm=30% an so on.
Also, adjust the 1700rpm-1800rpm the same way. Make 1900rpm and up all the same % making the curve go flat at 1900rpm-3000rpm.
Now set the idle base back to 1200rpm. At this point the engine should be idleing fairly well. Turn the engine off. Start with these values.
High idle car speed=255
High idle rpm offset=0
High idle wait time=0
Idle off if tp over=2%
Idle on if tp less=2%
Idle feedback above rpm=400rpm
Idle feedback below rpm=1800rpm
Go to Configure/ECU setup/Set throttle range. Follow the instructions to setup
the TPS.This is where it gets tricky!!!!!!!!! You should now have a tps reading of 0.
Go to Setup/Sensors/Throttle position sensor/Options. Monitor the throttle % and move the TPS min. voltage down in .02 increments until the throttle % shows around .5% Example: 0.70 / 0.68 /0.66,ECT. If the throttle % EVER shows 0 some of the idle tables will be turned off!!This is a problem with the software variances and took me years to figure out. The throttle % will change from when the engine is cold to when it is warm. The trick is to never let the Throttle % read 0. If it does the idle goes all to hell. At the same time throttle %must never be above the
2%. Watch it during cold start and when the engine is hot, adjust accordingly to keep is between .5-2%
Go to the Ignition table and set the all the cells near the where the engine is idling to 10 degrees. So below 1500rpm and -5psi will be 10's.... Open Idle/ Advanced idle/Templates change these values.
Idle park target=48%
Idle feedback minimum= -5%
Idle feedback maximum= 5%
Idle feedback rate= 588
Idle extra <12 volt= 0
Open Idle/Advanced idle/Ign vs idle rpm table/Table Use these values.
-325 to -125= 10
-100=9.84
-75=8.44
-50=6.33
-25=4.22
0= 0
25= -3.52
50= -5.98
75= -6.68
100 to 300= -8
note: Im not sure if all of the above settings will work for your software. This is simple Tuning for single cylinder honda 2t using 24mm TB, 42 ccm fi, and MS1 with MS2 software.
If you reopen the Ign vs idle rpm graph you will notice is has some steep curves now. This is what makes the engine idle at a steady rpm. The base ignition timing
is now 10 degrees but when the engine idles up it will retard timing and idles down it will advance the timing. This way the ignition timing can control the idle rpm instead of just using the iac motor. This gives a great idle. hot, cold high,low,turning, everything. This also fixes some cold start issues. If the engine goes to stall the timing will ramp up and rev the engine back up before it stalls.
this reaction happens MUCH faster then an iac motor could ever respond.
Start the engine and let the idle settle, you should notice the ignition timing moving around a lot. More if it had big cams i would think. Mine moves from 2-18 degrees at idle. But now you should have a rock solid 1200rpm idle.
Go back to the idle target table and move the 150F-248F to 1100 rpm and see how it idles also making sure the idle feedback is near 0.
-3 to +2 is ok. It will be best if you can keep it between 0&-2 as it will encourage a higher idle before the feedback responds.
Now try 1000rpm. 900rpm,ect unitl you find the sweet spot that your happy with.
With cams i wouldnt go lower than 1000rpm. Mine will idle at 1000rpm but its very rough being as it needs more scavenging.
Now open the 02 feedback table and set the idle & drivability area's to 14.7AFR and turn the 02 feedback on after you get it welded in.