Request: Save EGO Sensor Calibration in .msq

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

Can I please request that the EGO sensor calibrations are saved in the .msq file so that the user can call up what the current calibration is at any time and also check retrospective tune files?

Currently it seems as though all the other sensor calibrations (TPS, Battery Voltage, MAP, Baro, Thermistor) have their calibration values saved for recall but the EGO sensor calibration gets wiped as soon as gets written to the controller making it impossible to verify exactly what calibration the ECU is actually using.
Attachments
AFR.PNG
AFR.PNG (28.64 KiB) Viewed 638 times
vw_chuck
Master MS/Extra'er
Posts: 633
Joined: Wed Dec 11, 2013 1:16 pm

Re: Request: Save EGO Sensor Calibration in .msq

Post by vw_chuck »

Agreed. It sucks guessing what is in there
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Request: Save EGO Sensor Calibration in .msq

Post by LT401Vette »

If you are connected to the controller, TS goes through and CRC's the calibration tables and compares to the local solutions to find what is in the box.

In short, it will tell you what Sensor calibration is in the box when you are online.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

Thanks Phil, Seeing the calibration when connected to the ECU is indeed helpful but I was more interested in seeing what calibration values were being used for historic tunes hence the request to save the cal to the .msq file. It is simply a verification/double checking step. The .msq saves all other sensor calibrations so why not the EGO sensor?
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Request: Save EGO Sensor Calibration in .msq

Post by LT401Vette »

motthomas wrote:Thanks Phil, Seeing the calibration when connected to the ECU is indeed helpful but I was more interested in seeing what calibration values were being used for historic tunes hence the request to save the cal to the .msq file. It is simply a verification/double checking step. The .msq saves all other sensor calibrations so why not the EGO sensor?
Because TS doesn't have direct visibility.

Each of those sensor calibrations are 1024 or 2048 bytes that TS generates and sends to the controller. The Firmware writes them directly to flash and uses them from there.
Once written TS can not command the page(s) are activated to RAM so TS can read them back, thus has no visibility to what is in there.
Eventually a crc was added so I can get the crc of the page(s). That let's me do brut-force attempt to match the calibration to the list of known solutions in TS for the online match, but once offline I got nothing to go by.

Offline visibility would require the firmware handling it differently which I would imagine is not trivial effort.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

OK fair enough Phil. Thanks for the explanation. It sounds like its more hassle than it is worth. Better documentation on my own part should provide a workaround.
elaw
Super MS/Extra'er
Posts: 2926
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: Request: Save EGO Sensor Calibration in .msq

Post by elaw »

What prevents just storing the values in the .msq file?

I understand you can't read the values from the controller directly for verification, but you could store the user-entered values in the .msq then use the CRC to see if what''s in the ECU matches what's in the tune file. If no match, pop up a message, or show the entries as blank or whatever.
Eric Law
1990 Audi 80 quattro with AAN turbo engine: happily running on MS3+MS3X
2012 Audi A4 quattro, desperately in need of tweaking

Be alert! America needs more lerts.
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Request: Save EGO Sensor Calibration in .msq

Post by jsmcortina »

I recall adding placeholders for these a long while back, but for reasons I don't recall it didn't work out and they weren't used.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Reverant
Super MS/Extra'er
Posts: 1233
Joined: Sat Apr 15, 2006 12:39 am
Location: Athens, Greece

Re: Request: Save EGO Sensor Calibration in .msq

Post by Reverant »

This should be done for all calibrations, not just the EGO.
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

Reverant wrote:This should be done for all calibrations, not just the EGO.
It looks like it is already done for all other calibrations hence my request to do it for EGO.

In saying that, I'm not sure if TS will recognise if a coolant temp sensor cal in the ECU doesn't match what is in the .msq. I'll have a play tonight.
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

So I did a quick check last night and while TS does save all other sensor cals in the .msq, if the sensor cals are different between the ECU and msq, TS will read the ECU values and over-write the msq calibrations without a prompt or warning.
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Request: Save EGO Sensor Calibration in .msq

Post by LT401Vette »

motthomas wrote:So I did a quick check last night and while TS does save all other sensor cals in the .msq, if the sensor cals are different between the ECU and msq, TS will read the ECU values and over-write the msq calibrations without a prompt or warning.
It is actually saved to the project, not msq.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
motthomas
Helpful MS/Extra'er
Posts: 88
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Post by motthomas »

That's interesting. I would have expected the project to only be a high level file which contains basic settings and pointers to other files like dashboard layout and msq. Personally I would have considered sensor calibrations to be too detailed for the project.

Out of curiosity, what else is included in the project?
Post Reply