TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

Tesla should open-source the MCU code

Discussion in 'Technical' started by ChrML, Aug 14, 2019.

  1. ChrML

    ChrML Member

    Joined:
    Feb 6, 2017
    Messages:
    531
    Location:
    Norway
    Seriously!

    1. The company needs to cut costs. Obviously there's money to be saved by scaling down their own team.
    2. A lot of skilled people will contribute much needed bugfixes and features as merge requests for free.
    3. Maybe finally someone will fix the USB bugs.
    4. There is nothing secret in the MCU code that will significantly help other manufacturers. Any company can build something similar.
    5. Tesla would be in charge of direction and accept the merge requests of sufficient quality.
     
  2. ewoodrick

    ewoodrick Active Member

    Joined:
    Apr 13, 2018
    Messages:
    3,338
    Location:
    Buford, GA
    So let another company or group build something similar and open code it. Nothing is stopping them.

    Or maybe Tesla doesn't want to give away it's answer to self-driving to competition.
     
  3. ChrML

    ChrML Member

    Joined:
    Feb 6, 2017
    Messages:
    531
    Location:
    Norway
    Autopilot is understandable they want to keep closed source.

    I'm talking about the infotainment code for the MCU. There's not much secret juice there.
     
  4. GlmnAlyAirCar

    GlmnAlyAirCar Active Member

    Joined:
    Mar 19, 2015
    Messages:
    1,037
    Location:
    Southeast PA
    Strange coincidence I was just thinking the same thing. Open sourcing would be a win-win for the community and for Tesla. There is very little proprietary tech on the MCU (after all it is the "Media Control Unit"), so this should not be a barrier.

    Actually, there is quite a bit. All software components are tied to a single package. If MCU software is updated by a third party (which would require rooting), there are version/hash mismatches. Those with the knowledge can get around it, but apparently it's getting harder and harder. Using third party MCU code would essentially leave the rest of the car's software frozen and non-updatable. Not a solution.
     
  5. RDoc

    RDoc S85D

    Joined:
    Aug 24, 2012
    Messages:
    2,602
    Location:
    Boston North Shore
    Elon originally said they'd open up the system to 3rd party apps, but it never happened.

    Personally I don't think the MCU software should be opened up for security/safety reasons. My solution would be to make most of the UI be a set of browser windows and allow sandboxed apps to run in them with a limited set of APIs into things like the Media Center.

    If performance was that much of an issue (which I doubt), make sure it supported ASM.JS.
     
  6. GlmnAlyAirCar

    GlmnAlyAirCar Active Member

    Joined:
    Mar 19, 2015
    Messages:
    1,037
    Location:
    Southeast PA
    What does the MCU have to do with safety?
     
  7. RayW

    RayW Eating Popcorn

    Joined:
    Nov 9, 2016
    Messages:
    384
    Location:
    Cypress
    I know from personal experience you can drive the car with a dead MCU... after you figure out how to open the doors to get in. The only thing you loose is the displays and audio effects. Not sure if the blinkers or wipers worked.

    BTW, remember when v8 had that "Apps" screen with the lonely Calendar icon, teasing us with hopes of a Tesla App store?
     

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC