NefMoto

Technical => Flashing and Chipping => Topic started by: hidalga on August 06, 2022, 08:33:31 AM



Title: Hitachi SH705X read/write with J2534 looking for advice
Post by: hidalga on August 06, 2022, 08:33:31 AM
Greetings, I'm trying to understand how reading/writing works using a J2534 via OBDII, I'm trying to do this on a Nissan March/Micra 2018 but have no knowledge about the topic, does anyone here have some experience developing software for the J2534?


Title: Re: Hitachi SH705X read/write with J2534 looking for advice
Post by: H2Deetoo on August 06, 2022, 02:19:58 PM
Hi,


It is fairly straightforward to work with J2534 interfaces:

Each installed J2534 device has its own DLL but they all expose the same set of (J2534) functions.
So go through the registry to get a list of installed devices and where to find their DLLs.
Then load the DLL of the device you want and access its exposed functions (like PassThruConnect, PassThruStartMsgFilter, PassThruReadMsgs etc.)

Then call the functions according to the J2534 documentation.
If you google you will find a lot of documentation and examples.
And you can find examples as well (like https://github.com/joeyoravec/j2534-logger)

Feel free to contact me if you have some questions.


Rgs H2Deetoo