Same situation here...
Tesla Model 3 Rear Drive Unit Hacking
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
If its any consulation the fact I'm losing my home means I need to wrap up all the M3 stuff by year end so it can go back to its owner.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Anyone see season 1 of Halt and Catch fire will know what this is:)
I'm going to need a hacksaw
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
How much do we need to pay/put together to let you keep that stuff?Jack Bauer wrote: ↑Mon Aug 30, 2021 5:30 pm If its any consulation the fact I'm losing my home means I need to wrap up all the M3 stuff by year end so it can go back to its owner.
IMHO we better put together that sum else we might loose an important development. Let me know if I can help.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
I can ask the owner but given past history of such attempts on this forum I doubt its worth the effort.
I'm going to need a hacksaw
-
- Posts: 277
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 62 times
- Been thanked: 88 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Managed to get myself a second dev board this week.
Still to source a wiring harness. Was going to try to replicate some of Damien's work interrogating the Musk Brain then try and fill in some gaps in my understanding of how Tesla use the TI chip. Any discoveries will come in PRs and wiki updates obvs.
Kicking myself for not grabbing a genuine TMS320F28377 from a distributor. Due to the semi shortage they're all gone for now. Eyeing up AliExpress listings warily...
Along the way I discovered the existence of Torx Plus® and that this is different from regular external Torx®. This is important for getting at the inverter without damage. :facepalm:Still to source a wiring harness. Was going to try to replicate some of Damien's work interrogating the Musk Brain then try and fill in some gaps in my understanding of how Tesla use the TI chip. Any discoveries will come in PRs and wiki updates obvs.
Kicking myself for not grabbing a genuine TMS320F28377 from a distributor. Due to the semi shortage they're all gone for now. Eyeing up AliExpress listings warily...
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Fairly sure I have a few spare:)
I'm going to need a hacksaw
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
What do we need and what does it cost. Only the inverter?Jack Bauer wrote: ↑Sat Sep 11, 2021 9:33 am I can ask the owner but given past history of such attempts on this forum I doubt its worth the effort.
What is the sense for the owner to get it back if it doesn't run on openinverter.org?
If we don't find enough people I might just buy it myself from him.
Then you can proceed.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Re: Tesla Model 3 Rear Drive Unit Hacking
I’m definitely in for helping fund this. This motor has so much potential.
What if you offer the controller board for sale now as a pre-buy option to help gather funds for the drive unit purchase?
What if you offer the controller board for sale now as a pre-buy option to help gather funds for the drive unit purchase?
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Ok that's perfect guys!
IMHO it's up to Damien to decide what he wants.
@Damien; I can organize the funding or we go the pre-sale route.
Please advise.
IMHO it's up to Damien to decide what he wants.
@Damien; I can organize the funding or we go the pre-sale route.
Please advise.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
- Bratitude
- Posts: 965
- Joined: Thu Jan 02, 2020 7:35 pm
- Location: Canada
- Has thanked: 154 times
- Been thanked: 334 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
being that you send your inverter to ingenext to be “reprogrammed” they may as well be replacing the telsa lockd Texas Instruments processor with a reprogrammed generic one.
Unless they have figured out a back door threw Tesla’s lock down
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
-
- Posts: 120
- Joined: Sun Nov 08, 2020 11:33 am
- Been thanked: 2 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Looking at the datasheet, once secured, the chip is protected by a 64 bit password.
Not clear what Ingenext are doing - could be they've figured out how Tesla updates firmware over CAN, found/hacked the password, or maybe they're swapping the chip.
Maybe someone could ask him?
Not clear what Ingenext are doing - could be they've figured out how Tesla updates firmware over CAN, found/hacked the password, or maybe they're swapping the chip.
Maybe someone could ask him?
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Rear Drive Unit Hacking
If I have understood the inner workings, they could emulate (replacement) motor pairing and pair the motor to their controller instead of reprogramming it fully. Hence need for original model3 pedal and brake switch..
- If replacement of the processor, why need for original accessories?
So the motor would have a original Tesla software running, but just think the new control box is the car original control unit, VCU if you prefer. (Like if a motor would be replaced in warranty etc.)
I could be also completely wrong. But it looks like it to me.
Maybe the protection is too hard to crack, in order to rewrite the TMS320 fully..
Not perhaps totally impossible task to write openinverter software without removing The TMS320, but very hard..
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
-
- Posts: 53
- Joined: Wed Apr 22, 2020 6:41 am
- Location: Rangiora, New Zealand
- Has thanked: 80 times
- Been thanked: 3 times
Re: Tesla Model 3 Rear Drive Unit Hacking
They may have found a way to recreate the security matching procedure and their module is effectively a matched setup like a key is to each vehicle.
At least they give the rear motor loom part number
1067968-01-E
At least they give the rear motor loom part number
1067968-01-E
-
- Posts: 13
- Joined: Sun May 05, 2019 4:23 pm
- Location: Fife
- Has thanked: 4 times
- Been thanked: 1 time
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Chris Hazel has an Ingenext kit and is engineering it to not need the og throttle and brake switch. Maybe ask him or Tom what they are doing.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Just to refresh memories the aim here is not to be first or best or have the sexiest solution rather something that can be shared openly and is immune to Muskian software whims. We are very lucky here that a very talented software engineer who shall remain nameless:) has undertaken the not so simple task of porting the openinverter firmware to the TI micro used on the drive unit. In this I shall be working in a support role, testing, hardware reverse engineering etc. I'd encourage anyone with an interest to see if there is any way you can support the effort.
Regarding the other control systems I have some knowledge of how they are doing it but it was given to me in confidence so I cannot share. That said any solution that allows us to use these parts in conversions instead of going for scrap is damn cool and I wish them well.
Regarding the other control systems I have some knowledge of how they are doing it but it was given to me in confidence so I cannot share. That said any solution that allows us to use these parts in conversions instead of going for scrap is damn cool and I wish them well.
I'm going to need a hacksaw
- jetpax
- Posts: 48
- Joined: Wed Jan 01, 2020 12:33 am
- Has thanked: 19 times
- Been thanked: 22 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Thanks Damien, really appreciate your integrity here.
Also happy to help the porting effort in any way I can
Also happy to help the porting effort in any way I can
“Take the best that exists and make it better”
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
- station240
- Posts: 12
- Joined: Wed Jul 29, 2020 11:04 pm
- Location: Australia
- Been thanked: 2 times
Re: Tesla Model 3 Rear Drive Unit Hacking
No need to ask him, another video I found explains most of how to get said password.mikeselectricstuff wrote: ↑Fri Sep 24, 2021 8:19 pm Looking at the datasheet, once secured, the chip is protected by a 64 bit password.
Not clear what Ingenext are doing - could be they've figured out how Tesla updates firmware over CAN, found/hacked the password, or maybe they're swapping the chip.
Maybe someone could ask him?
Tesla use the same firmware password on all their TI Microcontrollers, it's hidden inside their "toolbox" software.
As per usual with Tesla hardware, people with said password/software aren't sharing it, so fat lot of good it does us.
In theory it should be easy:
1) Get something with a Tesla locked C2000 MCU, ideally a TMS320F28377D.
2) Get said password, as don't need the hassle/liability of the entire firmware/software library that comes with Toolbox.
3) Get devboard to suit said C2000 MCU, so it can be re-programmed. Or at least an isolated JTAG.
4) Plug said C2000 chip into a PC to wipe the Firmware locks.
None of this is exactly easy, but has been made harder than it should be.
1) Yeah I don't have the money to buy Tesla hardware, so short of finding something in a bin and mailing it to me, not an option.
2) Secret Tesla Hacker business actually get your hands on this, to keep anyway.
3) isolated JTAG I have, proper devboard requires sucking up to PCBWay some more (or just more money).
4) Actually easy for once.
Long term idea would be to make some closed source dedicated JTAG programmer, wipes the password, installs new firmware and gets returned in the mail.
-
- Posts: 277
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 62 times
- Been thanked: 88 times
Model 3 Oil Pump Control
Before I get stuck in to any M3 hacking I took some oil pump LIN captures. Damien has merged them here.
I've only done a cursory analysis so far but it seems that there is only one command request from the Tesla inverter to the oil pump (ID: 0x0A). The oil pump is scanned for 6(!) different status responses IDs: 0x2A, 0x30, 0x31, 0x32, 0x3C and 0x3D. I'm assuming that somewhere in there there will be oil temperature so I warmed the pump with a hair drier to get some different values in the captures. I'm also assuming there's a pump speed value in there. My pump sounded like it was stalled and kept trying to restart (I had a very weak old battery as PSU) which hopefully will be visible in the captures.
I plan to revisit this and write a simple analyser for the Saleae Logic software to decode this further. Also got a LIN transceiver and matching connector to play with this in-situ without the inverter. I need some drive shaft stubs and oil before I start playing with that though. Stuff's there if anyone is interested.
I've only done a cursory analysis so far but it seems that there is only one command request from the Tesla inverter to the oil pump (ID: 0x0A). The oil pump is scanned for 6(!) different status responses IDs: 0x2A, 0x30, 0x31, 0x32, 0x3C and 0x3D. I'm assuming that somewhere in there there will be oil temperature so I warmed the pump with a hair drier to get some different values in the captures. I'm also assuming there's a pump speed value in there. My pump sounded like it was stalled and kept trying to restart (I had a very weak old battery as PSU) which hopefully will be visible in the captures.
I plan to revisit this and write a simple analyser for the Saleae Logic software to decode this further. Also got a LIN transceiver and matching connector to play with this in-situ without the inverter. I need some drive shaft stubs and oil before I start playing with that though. Stuff's there if anyone is interested.
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Oil flow and temperature values are read by scanmytesla app. Maybe look from that direction for help decoding values.
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact: