2.x JimStim Support Request

MegaTunix is a cross-platform tuning application written and maintained by David J. Andruczyk. Discuss all things MTX here!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

2.x JimStim Support Request

Post by Fred »

http://jbperf.com/JimStim/JimStim_v2_0_ ... 0_features

Any chance of hooking us up with control of that? It should be trivial to add due to the tidy amount of features and simple comms protocol (if mt/ts can handle it, you must be able to, right?).

TunerStudio ini with full support http://jbperf.com/JimStim/jimstim.ini
MegaTune ini with partial support http://jbperf.com/JimStim/jimstim.ini.MT

What are your thoughts on this, Dave? I really don't wanna fire up mt in wine and I will NOT run TS, period. Pretty please :-) More than happy to test anything you come up with.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
dandruczyk
LQFP112 - Up with the play
Posts: 100
Joined: Sun Apr 06, 2008 6:30 pm

Re: 2.x JimStim Support Request

Post by dandruczyk »

Is TS capable of talking to this AND an ecu at once (via two separate comm ports?) I can probably do it reasonably easily, as it's serial API looks just like a simple MS-1, but having MTX talk to both at once from the same instance WILL be a problem. The easiest way would be with Two computers (or VM's with their own independant serial ports and megatunix instances)

According to jame's page, my jimstim SHOULD work with this if I get a new CPU for it and that usb adapter widget.


.
-- David
dandruczyk
LQFP112 - Up with the play
Posts: 100
Joined: Sun Apr 06, 2008 6:30 pm

Re: 2.x JimStim Support Request

Post by dandruczyk »

Tried to order the replacement jimstim CPU (paypal having issues), but managed to order the Serial cable. Newark has it in stock for $11.25, (half the price of FTDI) for the same item.

http://www.newark.com/ftdi/ttl-232r-3v3 ... dp/34M8872

-- David
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 2.x JimStim Support Request

Post by Fred »

I (currently) don't care about running against ems firmware at the same time, no. It'd be awesome if you could do that :-) I have the stuff required to test it right now. Just let me know if you have it ready to test and i'll pull and build.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
jbelanger
LQFP144 - On Top Of The Game
Posts: 387
Joined: Sat Feb 23, 2008 8:58 pm
Contact:

Re: 2.x JimStim Support Request

Post by jbelanger »

You need 2 instances of TS if you want to talk to both the JimStim and an MS at the same time. And you of course need 2 serial ports to do so (either real or virtual).

Jean
dandruczyk
LQFP112 - Up with the play
Posts: 100
Joined: Sun Apr 06, 2008 6:30 pm

Re: 2.x JimStim Support Request

Post by dandruczyk »

jbelanger wrote:You need 2 instances of TS if you want to talk to both the JimStim and an MS at the same time. And you of course need 2 serial ports to do so (either real or virtual).

Jean

Cool. I'll work on it tomorrow, if I can stay focused (no guarantees), I may make some testable progress by late afternoon.

-- David
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 2.x JimStim Support Request

Post by Fred »

Image

Once I sorted out the dip switch and jumpers etc, all was well in the world. Thanks for your work on this, Dave! :-)

EDIT:

This photo shows you everything you need to know:
  • Two jumpers installed
  • Orientation of usb adapter
  • Positions of DIP switches
Image

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
dandruczyk
LQFP112 - Up with the play
Posts: 100
Joined: Sun Apr 06, 2008 6:30 pm

Re: 2.x JimStim Support Request

Post by dandruczyk »

Committed/pushed, basic support for JimStim. *I need docs from jean about the "mode" bitfield and what it actually describes.

Docs on the wheel pattern loader would be nice too as that code doesn't make sense, and the file formats for the patterns aren't well defined/described. I can make sense of the dynamic rpm control stuff, which i plan on sticking into MTX's jimstim support once fred tests the basics..
.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 2.x JimStim Support Request

Post by Fred »

Through the magic of SSH, Dave logged into my box earlier and observed rpm on FreeEMS using the python tuner while adjusting rpm on the jimstim using mtx. Pretty cool :-)

I'm keen to see it get complete support in mtx, which will free it from the clutches of evil TS and the broken-ness of MT.

It'd be good to see Dave get the info he needs on the different fields/etc so he can achieve that :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: 2.x JimStim Support Request

Post by Fred »

Jean, using MTX, I can set the mode to "CAS 4/1" and the RPM to 8000 and then 40000 and there is no difference. 16000 provides a difference, but different numbers seem to produce random results. Any chance of grabbing mtx from Dave's github with a clone and ./autogen.sh;make;sudo make install;mtx and test? I'm confused by what I see. You'd have a much better idea of whether or not it's doing what it's supposed to.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply