Bratitude wrote: ↑Sat Jun 28, 2025 9:56 pm
If your planing on releasing your own standalone controller then fair enough, but the open in openinverter dose stand for something….
Congratulations on your 1000th post in this forum
Re: Tesla Model 3 Rear Drive Unit Hacking
Posted: Sat Jun 28, 2025 10:51 pm
by Alibro
AMP3R wrote: ↑Sat Jun 28, 2025 9:34 pm
I prefer that this information not become open source.
Why on earth are you posting here then? Have you seen the name of this site?
Re: Tesla Model 3 Rear Drive Unit Hacking
Posted: Sun Jun 29, 2025 6:27 am
by Jack Bauer
AMP3R wrote: ↑Sat Jun 28, 2025 9:34 pm
I prefer that this information not become open source.
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.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Fri Aug 01, 2025 8:31 am
by AMP3R
Bratitude wrote: ↑Sat Jun 28, 2025 9:56 pm
If your planing on releasing your own standalone controller then fair enough, but the open in openinverter dose stand for something….
Yes in plans to release turnkey controller with mobile app.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Fri Aug 29, 2025 12:46 pm
by Slimjimmy
AMP3R wrote: ↑Fri Aug 01, 2025 8:31 am
Yes in plans to release turnkey controller with mobile app.
Very cool, where can we get more information on this?
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Fri Aug 29, 2025 2:47 pm
by AMP3R
Slimjimmy wrote: ↑Fri Aug 29, 2025 12:46 pm
Very cool, where can we get more information on this?
In progress. Now it's possible to flash any version of Tesla firmware via CAN, change the motor config, etc.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Mon Sep 08, 2025 5:54 pm
by Bratitude
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
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Tue Sep 09, 2025 6:55 am
by AMP3R
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
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Sun Sep 14, 2025 9:10 am
by AMP3R
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.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Sun Sep 14, 2025 2:24 pm
by Jack Bauer
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.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Sun Sep 14, 2025 10:26 pm
by AMP3R
Jack Bauer wrote: ↑Sun Sep 14, 2025 2:24 pm
Do they still run a hardware brake pedal signal to the inverter?
No. Brake pedal switch status is via CAN.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Mon Sep 15, 2025 12:59 am
by Bratitude
Is this a result of a newer firmware you updated on your existing drive unit? Or did you pick up another drive unit?
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Mon Sep 15, 2025 5:56 am
by AMP3R
Bratitude wrote: ↑Mon Sep 15, 2025 12:59 am
Is this a result of a newer firmware you updated on your existing drive unit? Or did you pick up another drive unit?
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
Posted: Wed Sep 17, 2025 11:00 am
by AMP3R
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.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Wed Sep 17, 2025 6:42 pm
by Jack Bauer
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.
Re: Trying to run Tesla M3/Y Rear Drive Unit via CAN
Posted: Tue Nov 04, 2025 8:56 am
by AMP3R
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
Posted: Mon Nov 10, 2025 3:33 pm
by AMP3R
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.