1. Welcome to Tacoma World!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tacoma discussion topics
    • Communicate privately with other Tacoma owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

CA Smog = Checking ECU for Tunes

Discussion in '3rd Gen. Tacomas (2016-2023)' started by GoldenTaco27, Jul 15, 2021.

  1. Jul 18, 2021 at 6:08 PM
    #61
    ToYoda4x4

    ToYoda4x4 Well-Known Member

    Joined:
    Mar 3, 2021
    Member:
    #358082
    Messages:
    136
    Gender:
    Male
    Vehicle:
    2019 Sport
    In that context I believe a BAR-OIS inspection is synonymous with a smog test for OBDII (and possibly OBDI) vehicles. Since you're a tuner, do you have any insight as to how the CVN is impacted by aftermarket tunes, Toyota TSB's, etc.? From the tire meets road article I linked, it appears that CARB/BAR have been building a database since 2015 that they will use to detect aftermarket tunes but since 3rd gens have been mostly smog exempt they will rely on the CVN.
     
  2. Jul 18, 2021 at 6:16 PM
    #62
    dome

    dome Well-Known Member

    Joined:
    Jan 18, 2018
    Member:
    #241664
    Messages:
    547
    Gender:
    Male
    First Name:
    Joel
    California
    Vehicle:
    2015 TRD OR DCSB 4x4
    I found this post relevant from a Honda Civic forum, specifically post #31 from Hondata (a manufacturer of ECU tuning hardware/software for Honda cars): https://www.civicx.com/forum/threads/hondata-carb-legal-tunes-and-race-flashpro.65895/post-1030262

    Quoted text for the lazy:

    So my understanding of what Hondata is saying is that even though Hondata specifically has CARB approved tunes, the current interpretation of how this smog test will check for a violation will still likely fail on such a tune.
     
  3. Jul 18, 2021 at 6:23 PM
    #63
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    The CVN (checksum)... to my knowledge is just a calculated formula that spit out this unique code.

    Now to sort of answer your question... I know that when I scan my truck to check the CVN with modified software it's definitely different from my "stock" tune CVN. The CVN is just generated based off the values it reads on your ECU's data.
     
  4. Jul 18, 2021 at 6:48 PM
    #64
    ToYoda4x4

    ToYoda4x4 Well-Known Member

    Joined:
    Mar 3, 2021
    Member:
    #358082
    Messages:
    136
    Gender:
    Male
    Vehicle:
    2019 Sport
    Thanks for the link. I've been meaning to search some of the tuner forums since they have way more numbers than us. Hondata is a big player in the Honda scene and has been around for a long time so I wouldn't discount anything he says. I think for the folks running CARB approved tunes, they may fail the initial inspection but they can then choose to go to the State Ref and show the CARB EO # for their aftermarket tune and pass the smog inspection that way. They might even drive away with a CA BAR sticker in their engine bay to show they're emissions compliant just like the guys with engine swaps.
     
  5. Jul 18, 2021 at 6:52 PM
    #65
    Sunsetsearider

    Sunsetsearider Well-Known Member

    Joined:
    Sep 9, 2015
    Member:
    #163850
    Messages:
    340
    San Francisco
    Vehicle:
    2017 DCLB OR/1998 5 Lug
    So, when you go back to stock, the CVN changes back with it?
     
  6. Jul 18, 2021 at 7:03 PM
    #66
    woodsy

    woodsy Well-Known Member

    Joined:
    Dec 12, 2020
    Member:
    #349445
    Messages:
    948
    Gender:
    Male
    Ohio
    Vehicle:
    2021 Tacoma TRD Sport Premium
    The software, data tables, etc. are stored in non-volatile memory (usually FLASH now). The checksum is computed by adding up all the values in FLASH. The result is usually stored in the last location. A processor (ECU) can do an integrity check of the FLASH by reading all the values, calculating the checksum, and comparing it to the last location.

    There are different ways to calculate checksums. A simple checksum is not that great for detecting memory issues and also can be faked pretty easily. More rigorous methods such as CRCs are better for integrity checking and also harder to fake.

    I'm not familiar with the particulars of the ECU, but I am very familiar with embedded systems. My guess is the ECU does the checksum calculation at power up and throws an error bit if it doesn't match. This is a typical integrity test for embedded systems. You can probably read this error bit state and the actual checksum value with the OBDII reader. I suspect this is what the emission testing people will do.
     
  7. Jul 18, 2021 at 7:05 PM
    #67
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    Yes... I flashed to stock read the CVN, back to my tune, then back to stock and the CVN returned to the same value.
     
  8. Jul 18, 2021 at 7:11 PM
    #68
    woodsy

    woodsy Well-Known Member

    Joined:
    Dec 12, 2020
    Member:
    #349445
    Messages:
    948
    Gender:
    Male
    Ohio
    Vehicle:
    2021 Tacoma TRD Sport Premium
    Yes, the CVN would change with it.

    What I'm not sure of is if they have a write counter of some type that keeps track of how many times it was programmed.
     
  9. Jul 18, 2021 at 7:27 PM
    #69
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    I hope the flash counter wouldn't matter...

    Q: "Why was your truck flashed so many times?"
    A: "Don't know... ask the dealer, my truck was having major issues since I bought it"
     
  10. Jul 18, 2021 at 8:48 PM
    #70
    RushT

    RushT Amateur Everythingist

    Joined:
    Dec 10, 2017
    Member:
    #238171
    Messages:
    5,647
    Gender:
    Male
    North Texas
    Vehicle:
    '18 DCSB TRDOR Inferno
    Is it not simple enough to just flash back to stock for the smog check? When they balk at the flash counts: "Yeah, I take it offroad a few times a year and flash a better tune for that". Or do you have to have a special permit/tag/tax for that too?
     
    12TRDTacoma likes this.
  11. Jul 18, 2021 at 9:12 PM
    #71
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    Not everyone flashed their own truck… tons of people paid someone else to do it
     
    RushT[QUOTED] likes this.
  12. Jul 18, 2021 at 9:36 PM
    #72
    renlo

    renlo Well-Known Member

    Joined:
    May 7, 2015
    Member:
    #154758
    Messages:
    482
    Gender:
    Male
    Vehicle:
    2019 TRD OR 4x4 DBSB A/T
    Lets hope the tuner can provide a locked copy of the tune and the user can just flash with the free flash manager. Thats essentially what I did even though I initially bought the flash kit.
     
  13. Jul 18, 2021 at 9:38 PM
    #73
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    Its like $350 now to do the software and cable.
     
    renlo[QUOTED] likes this.
  14. Jul 18, 2021 at 9:53 PM
    #74
    renlo

    renlo Well-Known Member

    Joined:
    May 7, 2015
    Member:
    #154758
    Messages:
    482
    Gender:
    Male
    Vehicle:
    2019 TRD OR 4x4 DBSB A/T
    Thats true. People would need to buy the cable as well.

    So is it safe to say that in the event one needs to get smogged and they have the ability to flash, they can simply flash to stock, drive it for 100ish miles to have the system ready, smog, then flash back?
     
  15. Jul 18, 2021 at 11:26 PM
    #75
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    You don’t have to smog your truck for 8 years bro.
     
    Tacoma559 and Malvolio like this.
  16. Jul 18, 2021 at 11:26 PM
    #76
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    Starts tomorrow! :)
     
  17. Jul 19, 2021 at 5:15 AM
    #77
    RushT

    RushT Amateur Everythingist

    Joined:
    Dec 10, 2017
    Member:
    #238171
    Messages:
    5,647
    Gender:
    Male
    North Texas
    Vehicle:
    '18 DCSB TRDOR Inferno
    That’s a good point. I guess I keep forgetting how many are paying to have it done rather than doing it themselves.
     
  18. Jul 20, 2021 at 3:21 PM
    #78
    Tacosrus

    Tacosrus Carpe Diem

    Joined:
    Apr 19, 2018
    Member:
    #251056
    Messages:
    1,662
    Gender:
    Male
    First Name:
    Mike
    Northern California
    Vehicle:
    2018 Blazing Blue Pearl SR5 DCSB
    So can you buy another ECU. Change the Vin and just swap em out.
     
    Malvolio likes this.
  19. Jul 20, 2021 at 3:39 PM
    #79
    trdquoc

    trdquoc Well-Known Member

    Joined:
    Jan 18, 2020
    Member:
    #316499
    Messages:
    425
    Gender:
    Male
    First Name:
    "Q"
    Vehicle:
    2020 Cement DCLB TRD-Offroad
    You could if you have the coin
     
  20. Jul 20, 2021 at 3:43 PM
    #80
    Wixo

    Wixo Platinum+ Member

    Joined:
    Dec 12, 2016
    Member:
    #204665
    Messages:
    4,142
    Gender:
    Male
    First Name:
    Hank
    Vehicle:
    ‘21 SR5 Tundra CM 5.7L Barcelona Red
    Tint, LED interior
    Its not about cost, its about control.
     

Products Discussed in

To Top