|
RomRaider
Documentation
Community
Developers
|
|
It is currently Fri Jan 09, 2009 12:30 am
|
| Author |
Message |
|
kascade
|
Post subject: Logger OpenPort 2.0 Integration Posted: Thu Sep 18, 2008 5:37 pm |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
It's probably worthwhile having a thread with updates regarding integration of the new OpenPort 2.0 cable into the RomRaider logger. I received my cable last week and since its arrival have been working away on getting some Java code together that can talk to it (via its DLL) and then to the ecu, all using the J2534 API. Last night finally saw some success when I was able to successfully send an SSM ecu init and receive the ecu's response. Next step will be to take the code I've put together, clean it up , make it reusable and start integrating it into the logger itself (currently just a small standalone test app). No ETA as of yet but a big step has been made and the rest should just be grunt work. Big thanks to Colby who has provided help, advice and tips over the last week and for graciously donating a cable to the cause!
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
ev8siv3
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Thu Sep 18, 2008 6:07 pm |
|
 |
| Experienced |
Joined: Fri Mar 24, 2006 3:14 pm Posts: 671
|
kascade wrote: It's probably worthwhile having a thread with updates regarding integration of the new OpenPort 2.0 cable into the RomRaider logger. I received my cable last week and since its arrival have been working away on getting some Java code together that can talk to it (via its DLL) and then to the ecu, all using the J2534 API. Last night finally saw some success when I was able to successfully send an SSM ecu init and receive the ecu's response. Next step will be to take the code I've put together, clean it up , make it reusable and start integrating it into the logger itself (currently just a small standalone test app). No ETA as of yet but a big step has been made and the rest should just be grunt work. Big thanks to Colby who has provided help, advice and tips over the last week and for graciously donating a cable to the cause! Great work Paul! Keep it up, many people are SOL with the new cable and no EcuFlash logger to date. Not to mention the lack of 1.3 or 1.2 cables available now.
|
|
| Top |
|
 |
|
merchgod
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Thu Sep 18, 2008 8:18 pm |
|
 |
| Administrator |
 |
Joined: Wed Mar 29, 2006 10:38 pm Posts: 4225
|
|
good to hear. Thanks Paul!
|
|
| Top |
|
 |
|
natewaddoups
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Thu Sep 18, 2008 8:26 pm |
|
 |
| Newbie |
Joined: Mon Oct 15, 2007 2:37 am Posts: 13
|
kascade wrote: I received my cable last week and since its arrival have been working away on getting some Java code together that can talk to it (via its DLL) and then to the ecu, all using the J2534 API. Last night finally saw some success when I was able to successfully send an SSM ecu init and receive the ecu's response. Would you be willing to share what you have so far? I just unwrapped my OpenPort 2.0 and I'm itching to get it working with my CarPC project ( http://www.codeplex.com/ssm). I'm working in C#, not Java, but what you have so far would be very helpful - mostly I just want to see the sequence of calls to set up the connection and do a send and receive. Whatever I come up with will be GPLed like the rest of my stuff. Thanks!
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Thu Sep 18, 2008 9:31 pm |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
natewaddoups wrote: kascade wrote: I received my cable last week and since its arrival have been working away on getting some Java code together that can talk to it (via its DLL) and then to the ecu, all using the J2534 API. Last night finally saw some success when I was able to successfully send an SSM ecu init and receive the ecu's response. Would you be willing to share what you have so far? I just unwrapped my OpenPort 2.0 and I'm itching to get it working with my CarPC project ( http://www.codeplex.com/ssm). I'm working in C#, not Java, but what you have so far would be very helpful - mostly I just want to see the sequence of calls to set up the connection and do a send and receive. Whatever I come up with will be GPLed like the rest of my stuff. Thanks! Once it's in the logger it will be free for all to see. It's not ready to release any code yet but I can help out with the sequence of calls. At work atm, so will have to wait until the weekend...
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
stiggie
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Fri Sep 19, 2008 10:32 am |
|
 |
| Newbie |
Joined: Tue Jul 15, 2008 10:17 pm Posts: 28 Location: Jamaica
|
_________________ '04 JDM WRX V-Limited VF22/39 hybrid STI Intercooler STI 'pinks' MRT Pod Intake 3" Exhaust Prodrive 3-Port Boost Control Solonoid Ecutek
|
|
| Top |
|
 |
|
Turbo_Mike
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Fri Sep 19, 2008 11:44 am |
|
 |
| Experienced |
 |
Joined: Thu Oct 19, 2006 11:34 am Posts: 835 Location: Queens, NY / Dudley, MA
|
|
Great to hear, thanks Paul!!!
_________________ 03 WRX - 2.3L stroker, all the goodies 04 STi 6-speed, R180, brembos Perrin GT35R, 44mm EWG
Rom Raider Development Tester Open Source Tuner
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Sun Sep 21, 2008 6:30 am |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
|
Over the last couple of days I have manged to steal a few precious moments to get the new cable working in the logger. It wasn't all that difficult to get working actually. The existing connection code is pretty well abstracted (although pretty ugly in places!) requiring only minor tweaking. The next step will be to autodetect the type of cable connected, sort out some minor remaining issues and make sure the user experience is as seamless as possible. Depending on time available for me to spend on it, a first cut test release may be available by the end of the week...
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
stiggie
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Sun Sep 21, 2008 3:13 pm |
|
 |
| Newbie |
Joined: Tue Jul 15, 2008 10:17 pm Posts: 28 Location: Jamaica
|
|
Excellent news. Looking forward to it.
_________________ '04 JDM WRX V-Limited VF22/39 hybrid STI Intercooler STI 'pinks' MRT Pod Intake 3" Exhaust Prodrive 3-Port Boost Control Solonoid Ecutek
|
|
| Top |
|
 |
|
wrxsti-l
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Mon Sep 22, 2008 12:35 am |
|
 |
| Experienced |
 |
Joined: Wed Feb 06, 2008 3:49 am Posts: 287 Location: Australia
|
kascade wrote: Depending on time available for me to spend on it, a first cut test release may be available by the end of the week... Man you are a legend, looks like it's about the right time to buy the new 2.0 cable  Prolly a little early to know, but will RomRaider logger also allow the ability to use the 2.0 cables inbuilt storage for logging without a laptop - or will that be an ecuflash only feature?
_________________ Current Mods: X-Force 3" "Twin-Dump" TBE Exhaust, GCG "bolt-on" GT3076R, APS 3" Hard Turbo Inlet, Short Ram Intake & Pod, RomRaider "Mickeyd2005" Tune. Current Power: 224kw@wheels (300whp)
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Mon Sep 22, 2008 1:37 am |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
wrxsti-l wrote: will RomRaider logger also allow the ability to use the 2.0 cables inbuilt storage for logging without a laptop - or will that be an ecuflash only feature? ecuflash only
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
Jon [in CT]
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Mon Sep 22, 2008 4:36 pm |
|
 |
| Experienced |
Joined: Wed Jul 26, 2006 3:19 pm Posts: 644 Location: Connecticut, USA
|
natewaddoups wrote: Would you be willing to share what you have so far? I just unwrapped my OpenPort 2.0 and I'm itching to get it working with my CarPC project ( http://www.codeplex.com/ssm). I'm working in C#, not Java, but what you have so far would be very helpful - mostly I just want to see the sequence of calls to set up the connection and do a send and receive. Whatever I come up with will be GPLed like the rest of my stuff. Thanks! You might want to take a look at the project at http://sourceforge.net/projects/j1699-3. It's written in C and uses the J2534 API to test ECU compliance with OBD-II standards. Also, a high level overview of the J2534 API can be found at http://www.openecu.org/index.php?title=J2534. Good luck! Sorry for the hijack - just wanted to encourage developers, even if they aren't working on RomRaider.
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Mon Sep 22, 2008 6:35 pm |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
No problem. I have gained a lot from the information available here: http://www.drewtech.com/support/j2534/index.htmlBasic order of calls for sending/receiving SSM is: -- Prepare connection -- PassThruOpen PassThruConnect PassThruIoctl (SET_CONFIG where P1_MAX=2, P3_MIN=0, P4_MIN=0) PassThruStartMsgFilter (Create a pass all filter where mask=00, pattern=00) -- Communicate --- PassThruWriteMsgs (write SSM) PassThruReadMsgs (loop until response read) -- Close connection -- PassThruStopMsgFilter PassThruDisconnect PassThruClose
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Tue Sep 23, 2008 8:47 am |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 12:09 am Posts: 535 Location: Brisbane, Australia
|
|
First cut of OP2.0 logger integration is almost complete.
Depending on what cable is attached it will automatically select the correct connection method. For the older 1.2-1.3 cables this will remain a straight serial connection over the selected COM port. For the OP2.0 cable this will be via the openport DLL and J2534 API.
Just need to sort out some usability niceties before release.
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
stiggie
|
Post subject: Re: Logger OpenPort 2.0 Integration Posted: Tue Sep 23, 2008 9:03 am |
|
 |
| Newbie |
Joined: Tue Jul 15, 2008 10:17 pm Posts: 28 Location: Jamaica
|
kascade wrote: First cut of OP2.0 logger integration is almost complete.
Depending on what cable is attached it will automatically select the correct connection method. For the older 1.2-1.3 cables this will remain a straight serial connection over the selected COM port. For the OP2.0 cable this will be via the openport DLL and J2534 API.
Just need to sort out some usability niceties before release. Thats fantastic news Paul. Excellent work!!! Looking forward to it.
_________________ '04 JDM WRX V-Limited VF22/39 hybrid STI Intercooler STI 'pinks' MRT Pod Intake 3" Exhaust Prodrive 3-Port Boost Control Solonoid Ecutek
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|