I also recieved my OpenInverter board so atleast i'm prepared for the worst

My idea is to use the original tesla board and have the openinverter board when i'm done with the Tesla solution

I appreciate your concerns but the existing board shall not stand in your way to publish your findings in detailEV_Builder wrote: ↑Sat Oct 31, 2020 3:20 pm We should disrupt the market with the sharing experience the only thing what can happen is that people start sharing too and then perhaps in the end it doesn't make sense to buy an openinverterboard?
Hmm, I reckon the boards in the openinverter shop are Tesla compatible, no?EV_Builder wrote: ↑Sat Oct 31, 2020 3:20 pm One of the things i was thinking on was why not make a tesla compatible board? Swapping drive units should be easy. Especially for the repaired cars market i suspect that they would like open replacement boards.
Yes, but not when used in a Tesla, software wise i mean.Hmm, I reckon the boards in the openinverter shop are Tesla compatible, no?
The thing is its like Damian says. Allot of CAN messages just hours of fidling. Wrestling with CRC checks. They used a couple of variants in there.I appreciate your concerns but the existing board shall not stand in your way to publish your findings in detail
EV_Builder wrote: ↑Sat Oct 31, 2020 8:22 pmAsk and ye shall receive. But, I think it already exists. When we were first trying to figure out which messages were required for spinning the original LDU from a Model S we would play back logs from a car and selectively uncheck one message at a time until the LDU would no longer work. In this way we could quickly narrow down which messages were required. So, unless I'm not understanding what you wanted to do, it's already there. There's plenty of places where you can build up filter lists. You can even save and load them.While developing and searching for the answers i also added things to the GUI like CRC calculations to check a message.
I could play a log file. I could live build up a filter list (a missed feature in savvy can IMHO). And i could compose a message with 64 check boxes.
(to toggle settings) of course after i grabbed it live from the wire.
Yupsz i used a DUE with an double CAN shield.
Well the truth is that they have allot of extra stuff going on in that DU then only controlling a motor.Jack Bauer wrote: ↑Sun Nov 01, 2020 8:03 am In the large drive unit the fpga was used to decode the sigma delta current sensors and provide anti commutation on the pwm signals. I looked at doing this and in fact designed a version of both boards with an fpga onboard but really what was the point. You can do anti commutation with a few nand gates (Johannes would love that). I think they just used a cpld on the small unit if memory serves due to analog current sensors. More than likely they also included some logic to kill the igbt drive on a desat event.
Is it really just the GEAR change and throttle? They are both in the CAN message ID 0x118. I am lucky to have a Vector CANalyzer tool that allows me to send out this message using CAPL script. I tried this and unfortunately it did not work.And then, in the end, you are able to send a GEAR change command. And then you hit the throttle and the motor runs/spins.
I think i have like 30 can messages in there right now.
Thats very cool!I made a GUI program in C# connected to my PEAK USB CAN adapter. I used a Arduino DUE (i advice people to ditch the default IDE and at least go VS2017 with a plugin. Very nice! )Behind the GUI i use WireShark so the CAN packets in the end all end up there for filtering or checking the DUE program etc.
Can you please point me to these DBC files? I looked at https://skie.net/uploads/TeslaCAN/Tesla ... 0wk057.pdfLater in the process i started using Savvy CAN because i found some DBC files. Which obviously helped.
Looks like you have developing a parallel to CANalyzerWhile developing and searching for the answers i also added things to the GUI like CRC calculations to check a message.
I could play a log file. I could live build up a filter list (a missed feature in savvy can IMHO). And i could compose a message with 64 check boxes.
(to toggle settings) offcourse after i grabbed it live from the wire.
I looked at the WK057 work too. That's some extraordinary work. Although is currently not up to date.
The findings are also that the messages change per firmware revision. Perhaps not allot but they do change. The paper from WK057 is quite old and incomplete. It is still like 70% useful though on (firmware 33506 / begin 2019).
Thanks EV_Builder for the valuable suggestions.EV_Builder wrote: ↑Tue Mar 30, 2021 7:07 pm I advise to just buy the board when available, but the first step i would do and still do with each car i tackle is i make a dashboard / GUI in my case with C#.
So the canbus device sends the message to the gui and after that it sends it to wireshark (both places).
In my case i use the peak systems USB CAN device and that one allows sharing of the device between applications.
So if needed you can also start Peak view (which can easy inject stuff) and Savvy CAN all 3 at the same time.
Off course keep your VCU / Arduino DUE etc. ready for adding stuff that solves problems / works.
First thing i did was making the error pages. So it easy to spot if an error changes in the device.
I added also some log messages when error bit words changed so you can easily spot something toggling for example.
(you aren't looking like a hawk all the time to the correct fields...hahaha)
So first step is decode what it sends out while stationary, receiving nothing.
Second step is injecting stuff preferably known good values. Now some logic thinking and design feeling is needed. What would it need to see on the bus to grab/use for it self? Vehicle speed? Throttle? Gear? Torque request? etc..