MegaTune (2006-03-16 04:43:08)

Note that MegaTunix is the reference tuningsoftware (used by most developers). MegaTunix works on windows and Linux.

Megatune has serious problems, testing and debugging (mainly configuration) might be needed to get it work.

[[Manual: Detailed.General]]

TODO

[megatune 2.25 with half-working ini files]


Developer Section

Here is a [.zip] containing a modified firmware and megatune + settings, This breaks _all_ other tuningsoft compatibility

I tried to modify comm.c to output the missing data for megatune,

there is a radiobutton called "ADC test" in the 3d tuning views

Scaling of temperature and MAP are now done only by firmware, not megatune.

questions:

Added some of the wanted features to firmware dir from the above firmware + megatune packageand repackaged (see link below) firmware side is done but needs testing. Someone needs to pick up the megatune side (emil ?)

[firmware_enhanced + megatune . zip]

Ini files for the firmware above:

I need some help with firmware-support


mmtf - the way to configure other tables with old megatune that only knows about VE table

Often used with megatune 2.16 and 2.20.

mmtf (menu megatune fool) makes it possible to trick old VE-only megatune to think it talks to the VE table (j[]) while it is in fact talks to ignition advance (n[]) or lambdacorr (l[]) table.

We keep an internal pointer (called megatune_table), which default points to ve.ref_table (so default behaviour is consistent):

Don't enter the space, only provided on command boundaries for easier reading.

The mtt. command switches to n(,j,l respectively) table and the mmtf fool megatune to see that table instead of the default j[].

You better only issue mtf command when the VE-tuning screen in megatune is closed. Otherwise you risk writing data into the ignition table that you read from the injection table previously, or the other way around, not good..

Most convenient to issue the table-switching command from a directly attached KeyBoard. Issuing it from TerminalProgram works, but more strokes:

TODO: lambda info should live on a subpage of GenBoard/Manual/Tables

The ve.lambda is the fixing of megasquirt mix-multiple of two tables:

the VE and the lambda. Lambda is 1.0 for an AFR of 14.7 for gasoline.

Of course lambda can be left 0.8 all over the place initially if you like (but take care not to lean where you shouldn't). Some decimal values for l[] lamdacorr table (use numberformat=10 option or convert to hexa)

Lambda table is important when the system learns the VE, or when WideBand controls the AFR. The original, multiplied together, value is useless, since the ECM cannot figure out from that what AFR target the user wants. This was no issue for original Megasquirt, since it cannot learn, nor control for a (MAP, RPM) dependant WBO2 target.


Misc notes

The reason for this is that mstweak is broken: idle condition confuses it.

We should propose to include the feature to record mono or stereo wav-s that are syncronized to engine logs. It is often useful. Eg. when

Who writes a mail to the appropriate forum ?

[[Manual: Basics.Install.Software]]