Results 1 to 3 of 3

Thread: 1 byte logging

  1. #1
    I lack color... verified

    Join Date
    Sep 2010
    Owner Since
    Aug 1998

    Posts
    3,589
    Thanks
    104
    Thanked 498 Times in 241 Posts

    1 byte logging

    This isn't so much a "mod" per say but it should help speed up the logging speeds a bit. I'm sure you guys have noticed that if you try to log the normal Load and Airflow values they get clipped at 159 load and 1599hz and don't go any higher. Doesn't seem like anyone has noticed the 1 byte limitation to RPM yet either but that's about 7600rpms.

    The reason for this has to do with how much data you can fit into 8 bits. The code is setup to disregard any bits above that 8 bit limit in many areas. This has to do with the processors built into our ECUs only being able to process 16bits worth of data. When a table look up is done, it's restricted to 8 bits worth of data. So many of the values that are compared to a table look up are just clipped. Things like boost control, fuel cut...

    So now we come to the MUT table. ALL the MUT commands are only 8 bit (1 byte) worth of data. Meaning anything that can be logged is restricted to a 1 byte value. My initial fix for this was to assign both the upper and lower byte next to each other in the MUT and have evoscan read both requests as one. This is where the 2 byte values come from.

    Works just fine. No real issues except it slightly dogs down the logger a bit. This is because the 2 byte stuff requires 2 MUT requests in order to do the calculation. So that one extra request to slow the logging speeds down. I'm sure at best you guys have noticed you'll only get 5-7 packets per second in evoscan while logging these. As Dyter has experienced, it's tricky to log the 2 byte stuff with the SD card reader function of the tactrix cable too.

    Getting around this basically involved re-inventing the wheel. Tepha came up with an idea to take the 2 byte value and divide it by a factor which would then save the entire packet into a single byte. The trade off is a bit of resolution reduction but I think I figured out how to make it work.

    For example in this case 319.256 grams/second is reduced to 319.2 grams per second with this lower resolution. So no more 4-5 digits after the decimal place. Doesn't seem to bother me to much...

    Aside from a little bit faster logging speeds, the main reason for this mod are to help me get around some of the high airflow limitations in the code. Hopefully get us well into the 1000+ hp range with the flash ECU without running out of range.
    Last edited by Greg E; 01-17-2013 at 10:41 PM.

    2014 Exomotive Exocet - #101 "shocker yellow" - 1.8L 5-speed 3.9 torsen FMII powered
    Read more: http://mevowners.proboards.com/threa.../greg-pa-build

    99 Solano Black VR4 - #16 of 287 - ground up restoration - sold
    98 Pearl White VR4 #54 of 231 - 12.84@105mph - 93 Octane 12.50@107mph - 100 Octane with Chromed ECU - sold
    99 Pearl White VR4 #108 of 287 - 3RD place stock car class ECG 11 - Sold
    98 Black VR4: 100% stock - totalled by an Illegal 2-12-08
    95 White Stealth TT - 11.852 @ 118.25 - sold
    95 SSG Stealth TT - 11.981 @ 115.81mph - sold

    "I don't actually work on cars, I just talk about them on the internet."

  2. #2
    European LHD 3000GT TT Not Verified
    Join Date
    Oct 2012
    Owner Since

    Location
    France
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So If I understand for exemple:

    Load 0 to 320, the factor scaling for 1 byte is 0,8 but decimal present
    Airflow 0 to 3200, the factor scaling for 1 byte is 0,08 but decimal present

    It's for the next Chrome release

  3. #3
    I lack color... verified

    Join Date
    Sep 2010
    Owner Since
    Aug 1998

    Posts
    3,589
    Thanks
    104
    Thanked 498 Times in 241 Posts
    You got it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The 3000GT/Stealth/GTO Web History Project
3000gt.com
3000GT / Stealth International WWWboard Archive
Jim's (RED3KGT) Reststop
3000GT/Stealth/GTO Information and Resources
Team 3S
3000GT / Stealth / GTO Information
daveblack.net
3000GT/Stealth/GTO Clubs and Groups
Michigan 3S
MInnesota 3S
Wisconsin 3S
Iowa, Nebraska, Kansas 3S
North California 3000GT/Stealth
United Society of 3S Owners
3000GT/Stealth/GTO Forums
3000GT/Stealth International
3000GT/Stealth/GTO Event Pages
3S National Gathering
East Coast Gathering
Upper Mid-West Gathering
Blue Ridge Gathering