THIS REPOSITORY IS NOW ARCHIVED, PLEASE SEE MACCHINA-J2534 FOR AN IMPROVED DRIVER THAT WORKS ON BOTH THE MACCHINA A0 AND M2!
Code to generate the following targets:
- J2534 DLL for windows
- J2534 so for Linux and OSX
J2534 common library for OpenVehicleDiag and this driver
This contains code that gets uploaded to the M2 Module
Rust MUST be installed You can install it here
- Create the directory
C:\Program Files (x86)\macchina\passthru\
- Open the driver folder
- In macchina.reg file, replace the COM-PORT attribute value with whatever COM Port the M2 Unit shows up as
- run build.bat
- Create the directory
~/.passthru/
- Open the driver folder
- In macchina.json file, replace the COM-PORT attribute value with whatever COM Port the M2 Unit shows up as
- Run build.sh
Arduino IDE Must be installed
- Open M2_FIRMWARE folder within Arduino IDE
- Select the Macchina M2 SAM Board as a target, go here to learn how to install the build target
- Upload the sketch to the M2 module