fvantienen / dji_rev

DJI Reverse engineering
GNU General Public License v3.0
254 stars 78 forks source link

C620 to M3508 7-Wire Encoder #5

Open pknessness opened 2 years ago

pknessness commented 2 years ago

I'm looking to decode the protocol for the 7 wire encoder cable between the C620 and M3508. How would I go about doing that?

https://rm-static.djicdn.com/tem/17348/RoboMaster%20C620%20Brushless%20DC%20Motor%20Speed%20Controller%20V1.01.pdf

MAVProxyUser commented 2 years ago

Take some samples. https://usd.saleae.com/products/saleae-logic-8

pknessness commented 2 years ago

Is there any way to do this by looking at the firmware?

I'm concerned I'm going to be unable to decode solely by using a logic analyzer

MAVProxyUser commented 2 years ago

https://github.com/NationalSecurityAgency/ghidra

https://hex-rays.com/ida-pro/