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

Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Thu Jan 25, 2018 6:14 am

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 223 times
motthomas
Helpful MS/Extra'er
 
Posts: 86
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Postby vw_chuck » Thu Jan 25, 2018 12:21 pm

Agreed. It sucks guessing what is in there
vw_chuck
Experienced MS/Extra'er
 
Posts: 199
Joined: Wed Dec 11, 2013 1:16 pm

Re: Request: Save EGO Sensor Calibration in .msq

Postby LT401Vette » Thu Jan 25, 2018 3:08 pm

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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10454
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Fri Jan 26, 2018 6:20 am

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?
motthomas
Helpful MS/Extra'er
 
Posts: 86
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Postby LT401Vette » Fri Jan 26, 2018 6:56 am

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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10454
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Mon Jan 29, 2018 3:09 am

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.
motthomas
Helpful MS/Extra'er
 
Posts: 86
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Postby elaw » Mon Jan 29, 2018 3:01 pm

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.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2893
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: Request: Save EGO Sensor Calibration in .msq

Postby jsmcortina » Mon Jan 29, 2018 3:28 pm

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 supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 34075
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Request: Save EGO Sensor Calibration in .msq

Postby Reverant » Tue Jan 30, 2018 1:15 pm

This should be done for all calibrations, not just the EGO.
The man behind MS Labs
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost - InCar PC
User avatar
Reverant
Super MS/Extra'er
 
Posts: 994
Joined: Sat Apr 15, 2006 12:39 am
Location: Athens, Greece

Re: Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Wed Jan 31, 2018 1:31 am

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: 86
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Fri Feb 02, 2018 9:07 am

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.
motthomas
Helpful MS/Extra'er
 
Posts: 86
Joined: Wed Aug 24, 2011 2:06 am

Re: Request: Save EGO Sensor Calibration in .msq

Postby LT401Vette » Fri Feb 02, 2018 9:39 am

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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10454
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Request: Save EGO Sensor Calibration in .msq

Postby motthomas » Sat Feb 03, 2018 5:41 pm

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?
motthomas
Helpful MS/Extra'er
 
Posts: 86
Joined: Wed Aug 24, 2011 2:06 am


Return to Tuner Studio

Who is online

Users browsing this forum: No registered users and 1 guest