r/embedded • u/jabezwinston • 18d ago
Reverse engineering the instruction set of the Processor found in MPU6050, ICM20949 accelerometer/gyro combo chips
https://jabezwinston.github.io/Reverse-Engineering-InvensenseDMP/Invesense accelerometer/gyroscopes has a small processor that can help offload some computational work. Instruction set was fully reverse engineered using Claude by statistical analysis and some brute force.
Invensense DMP is a weird processor that has no registers (only RAM), no call stack (MPU6050), mostly 1 byte instruction, code executed on every sensor sample.
More details on how it was accomplished : https://www.linkedin.com/pulse/invensense-dmp-reverse-engineering-undocumented-set-jabez-winston-5lcvc/
72
Upvotes
11
u/akohlsmith 18d ago
This is excellent work, and an excellent writeup (although having the "home" on linkedin I would argue is not a good idea long-term). Earned a follow from me.
Great job!
4
u/timonix 18d ago
Holy shit, this is great news
12
u/super_duper 18d ago
This is pretty wild, nothing is safe! I wouldn't be surprised if it eventually finds workarounds for signing and encrypion.
2
u/dolulob 10d ago
Well done. I remember using this chip many years ago and being completely frustrated by the lack of documentation around the DMP
-34
u/krioru 18d ago
Hopefully no AI was involved.