Congratulations on your 1000th post in this forum
Trying to run Tesla M3/Y Rear Drive Unit via CAN
-
Alibro
- Posts: 1052
- Joined: Sun Feb 23, 2020 9:24 am
- Location: Northern Ireland
- Has thanked: 417 times
- Been thanked: 277 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Why on earth are you posting here then? Have you seen the name of this site?
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Ok. No problem. As I said before well done getting to where you need to be and I hope it works out and does what you need. The main focus of this thread is currently the replacement PCB project that I'm currently "leading" and the replacement software for the OEM board TI micro project of Dave's. While I personally don't like closed systems I've no problem with folks using them as at the end of the day it gets another conversion working and the owner driving down the road. It's probably worth you opening a new thread if you wish to discuss / document your solution on here.
I'm going to need a hacksaw
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Yes in plans to release turnkey controller with mobile app.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Very cool, where can we get more information on this?
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
In progress. Now it's possible to flash any version of Tesla firmware via CAN, change the motor config, etc.
- Bratitude
- Posts: 1080
- Joined: Thu Jan 02, 2020 7:35 pm
- Location: Canada
- Has thanked: 222 times
- Been thanked: 413 times
- Contact:
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
are you exploiting the vulnerability in the VCSEC throughout the certificate authentication process, causing an integer overflow in the VCSEC’s memory? It appears that memory is readable, writable, and executable! This seems to be the way to bypass the VCSEC and enable keyless driving.
But Looks like Tesla has patched this recently with firmware 2024.14
Some good details here:
https://nvd.nist.gov/vuln/detail/CVE-2025-2082
https://www.cvedetails.com/cve/CVE-2025-2082/
But Looks like Tesla has patched this recently with firmware 2024.14
Some good details here:
https://nvd.nist.gov/vuln/detail/CVE-2025-2082
https://www.cvedetails.com/cve/CVE-2025-2082/
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
No, I didn't do that.Bratitude wrote: ↑Mon Sep 08, 2025 5:54 pm are you exploiting the vulnerability in the VCSEC throughout the certificate authentication process, causing an integer overflow in the VCSEC’s memory? It appears that memory is readable, writable, and executable! This seems to be the way to bypass the VCSEC and enable keyless driving.
But Looks like Tesla has patched this recently with firmware 2024.14
Some good details here:
https://nvd.nist.gov/vuln/detail/CVE-2025-2082
https://www.cvedetails.com/cve/CVE-2025-2082/
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Working on a new CAN architecture of M3/Y and it's quiet interesting. They removed party can bus, hvil and firmware files became lighter. Also there is no physical connection with gas pedal and its state is transmitting via can. What about immobilizer? It's still there, but VCSEC module is now integrated with one of the body controllers. So what can I say? I liked work they've done. Drive unit can be controlled just with 4 wires (+12V, ground, CAN) and everything looks now more elegant and minimalistic.
Made a script that is searching matching firmware and after flashing it into the drive unit.
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Do they still run a hardware brake pedal signal to the inverter? Guess I'm old fashioned insofar as I'd still like to see that being done.
I'm going to need a hacksaw
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
No. Brake pedal switch status is via CAN.Jack Bauer wrote: ↑Sun Sep 14, 2025 2:24 pm Do they still run a hardware brake pedal signal to the inverter?
- Bratitude
- Posts: 1080
- Joined: Thu Jan 02, 2020 7:35 pm
- Location: Canada
- Has thanked: 222 times
- Been thanked: 413 times
- Contact:
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Is this a result of a newer firmware you updated on your existing drive unit? Or did you pick up another drive unit?
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
This is a result of a newer firmware I updated on my existing drive unit.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
So, it took three working days to get the drive unit running on the M3 Highland firmware version from 2025. As you can see, it works. There are still a few details to tweak.
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
You have a WAY more tidy workspace than me
I notice your drive unit has no temp sensor on the resolver side. O the 3 I have only one has a temp sensor. More reduction I guess.
I'm going to need a hacksaw
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
It's turned out that new architecture is a bit more complex than expected, but that only made it more interesting. I'm still trying to figure out how to enable R. However, everything is perfect in CAN, and the drive unit has zero errors.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Managed to find R. Also thanks to the new architecture turned out that it's possible to spin the motor in reverse at the same speed as in drive (approximately 260 km/h).
Of course all tesla's protections works automatically (overheat protection and much more).
I'm still need to do some work. Have to write a script for adjusting regen force, cruise, speed limit etc.
Of course all tesla's protections works automatically (overheat protection and much more).
I'm still need to do some work. Have to write a script for adjusting regen force, cruise, speed limit etc.