Shadow Logger MS 1.02 Released

For discussion of other tuning and logging softwares

Moderators: jsmcortina, muythaibxr

LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Cool, Keith, I was going to ping you and ask you to try it.. Larry 904svo had the same issue, and sent me lots of debug info. It really looks like a it was caused by bug in the Android api. He was using 2.3, both of my Android devices are 2.2. So I'm not sure, but was wondering if the difference is tied to the phone or just all 2.3 Androids??/ But I'm just glad it is resolved and working for you now :)
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
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

Thanks! Mine is running 2.3.4

Keith
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

also tried it on my asus transformer. Worked fine.

Would be nice if the font size could be changed. The transformer has a 10 inch screen and the font is tiny.

Keith
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Yeah, it looks sort of silly on my tablet too. I will get that.
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
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

Actually, SL 1.05, not 1.02, but anyway wanted to post a success story.

Made a log this morning on the way in on the phone. Was able to upload it to the web site. I copied it off the phone and decoded it with TS 1.19 and was able to open the log with MLV. I am running MS3 1.1 Alpha 17,MS3 Format 0229.002.

I got a call during the logging and it had a number of errors during the call (dropped packets?) - Lost sync on 2 events Reason 102 and 137). It had one other error about 5min 32 sec into the drive - Lost Sync Reason 65. Other than that, it grabbed the complete log and also has my accelerometer data with it as well. Pretty cool.

Keith
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Cool.. Those sync losses, should be sync losses that occurred in the MS and were logged, they shouldn't be related to the logging activity unless there was data corruption.
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
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

LT401Vette wrote:Cool.. Those sync losses, should be sync losses that occurred in the MS and were logged, they shouldn't be related to the logging activity unless there was data corruption.
Interesting. No oddities driving and I do not think I have had a sync loss in a long time. Maybe the latest MS3 firmware, 1.1 alpha 17?

Keith
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

I guess put it on a watch item for your wheel decoder sync. It might be worth logging with a laptop too to see if it still exists, I'm guessing it does as if there was data corruption in the phone logging, you would probably see a lot corrupt values.
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
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

http://www.msextra.com/forums/viewtopic ... 94#p305388

James suggests that it may be a phone phenomenon as the lost sync count never increments.

This file is on your server with today's date. I cannot upload the frd file as it is too big, even zipped (716k).

Keith
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Looking at the pics you posted even, it does look like the records with the sync loss have corrupt values for many other fields. So it probably is corruption in the record. It should be getting screened out. It is hard to identify data corruption with the old protocol, but with MS3 Alpha 17 it should not be hard at all.
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
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Shadow Logger MS 1.02 Released

Post by jsmcortina »

LT401Vette wrote:It is hard to identify data corruption with the old protocol, but with MS3 Alpha 17 it should not be hard at all.
How is it even possible? (with newserial that is)

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

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

The phone app is not currently validating CRC on the new serial.
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
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Shadow Logger MS 1.02 Released

Post by jsmcortina »

LT401Vette wrote:The phone app is not currently validating CRC on the new serial.
That was the whole point of new-serial !

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

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Yes, that is why it will be easy enough to validate the new protocol.
But this was implemented back in aug or Sept and envelope validation hasn't been back ported to the Android yet. Currently it is only performing reads other than the read command, so it is simply removing the header and footer, but there is no validation yet.
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
ChevytoyR1
Master MS/Extra'er
Posts: 443
Joined: Mon Oct 27, 2008 12:15 am
Location: Los Angeles, CA

Re: Shadow Logger MS 1.02 Released

Post by ChevytoyR1 »

Ill give it a shot with my boostmobile android phone.. i ordered a Bluetooth from ur site Phil right now
piledriver
Super MS/Extra'er
Posts: 1678
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Shadow Logger MS 1.02 Released

Post by piledriver »

v1.05 logging solidly on HTC Hero CDMA (AKA Verizon) after some initial comm issues it seems to have resolved itself.

Have not reviewed logs yet, but BT connection appeared dead solid.

hardware htc hero200, cyanogenmod 7.1/Android 2.3.7, US Converters sourced bt-232 serial dongle on ms2-extra 3.20alpha

is there currently any way to peruse logs on Android?
(don't have my 3 kilo tuning laptop handy... which is basically the whole point of the exercise :yeah!: )
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

is there currently any way to peruse logs on Android?
Nope not that I know of, but I am on that. :) Sort of an MLV light.
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
piledriver
Super MS/Extra'er
Posts: 1678
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Shadow Logger MS 1.02 Released

Post by piledriver »

LT401Vette wrote:
is there currently any way to peruse logs on Android?
Nope not that I know of, but I am on that. :) Sort of an MLV light.
Cool.
I was thinking direct FRD import might be a good "registered" MLV feature, if you ever go there..
(maybe I overlooked it, it's late for me)

I noticed that I cannot (reliably) autoconnect to the MS, but BT is solid (like you have a separate thread doing the /dev/rfcomm0 job)
BUT--- if I simply hit "read" after BT comes up it takes off and works flawlessly, currently gets 6.1 hz.rate.
(tried every combination of initial and read delay, no autoconnect difference, now both set to zero)
Once all connected/logging, I can stop/disconnect/reconnect etc w/o issues, go figure. (all this in the short comm log sent)

Can I assume some shennanigans on HTCs (or cyranogenmods/Android 2.37) part and make a WAG that hitting "read" just does a blind read of the BT serial devices data stream?

FWIW, my "phone" has no phone service (it was free/broken USB plug), so basically it's a really tiny Android free wifi tablet to me. :lol:
Should be a great datalogger with the 3500mah extended battery I just put in... (OK, I have $20 into it now with the battery/cover and new USB socket)

(possible) Feature request: Start a new logfile at some reasonable size for email/upload purposes...
I log for hours at a time commuting, and reasonably sized timestamped files would be much nicer to sift through, I think...
(you may already do this, no idea) user settable filesize might be useful.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Shadow Logger MS 1.02 Released

Post by LT401Vette »

Yes I have seen that myself. It seems more likely with some firmwares and phones than others. But the problem is much as your said. It is a separate Thread tha processes the reads, but the initial interrogation is done through the event thread and should not be, I just haven't put this on another thread yet and there is no retry logic if it fails. The way it is now there is a lot of other stuff going on as it is fresh after start up, and it seems more likely to fail. That will be changed in the next release.

I like the rolling log idea.

What adapter are you using? What firmware? 6.1 Hz is rather slow compared to my testing.
Read rates do vary by Android device too, I have 2 Android device here. A Samsung Infuse with a 1.2 GHz snapdragon and an eLocity A7 with a dual core 1.2 Ghz nVidia Tegra II, both are running a form of 2.2 Android.

For some point of comparison, Using Shadow Logger 1.05 and The EFI Analytics BT Adapter, here are the read rates I am getting with various firmwares:

Infuse:
MS1 Extra 29y4: 11.0/s +/- 0.3
MSII 2.905: 9.0/s +/- 0.4
MS2 Extra 3.1: 17.2/s +/- 0.5
MS3 Alpha 16: 12.0/s +/- 0.5

eLocity Tegra II:
MS1 Extra 29y4: 12.3/s +/- 0.3
MSII 2.905: 9.9/s +/- 0.2
MS2 Extra 3.1: 18.1 +/- 0.8
MS3 Alpha 16: 12.8/s +/- 0.5
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
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Shadow Logger MS 1.02 Released

Post by Keithg »

LT401Vette wrote:<snip>

For some point of comparison, Using Shadow Logger 1.05 and The EFI Analytics BT Adapter, here are the read rates I am getting with various firmwares:

Infuse:
MS1 Extra 29y4: 11.0/s +/- 0.3
MSII 2.905: 9.0/s +/- 0.4
MS2 Extra 3.1: 17.2/s +/- 0.5
MS3 Alpha 16: 12.0/s +/- 0.5

eLocity Tegra II:
MS1 Extra 29y4: 12.3/s +/- 0.3
MSII 2.905: 9.9/s +/- 0.2
MS2 Extra 3.1: 18.1 +/- 0.8
MS3 Alpha 16: 12.8/s +/- 0.5
I am running a Tegra 2, 1GHz on a Motorola Atrix, Android 2.3.4. I am using a "firefly" (RN41) serial-> BT wired into the MS3 box.

I am running MS3 1.1 Alpha 17

I get just over 9 samples a second at 9.2/9.3 as reported by Shadow Logger 1.05.

KeithG
Post Reply