Page 1 of 6

2.x JimStim Support Request

Posted: Thu Nov 11, 2010 12:55 pm
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.

Re: 2.x JimStim Support Request

Posted: Thu Nov 11, 2010 3:09 pm
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

Re: 2.x JimStim Support Request

Posted: Thu Nov 11, 2010 3:32 pm
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

Re: 2.x JimStim Support Request

Posted: Thu Nov 11, 2010 4:35 pm
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.

Re: 2.x JimStim Support Request

Posted: Thu Nov 11, 2010 6:20 pm
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

Re: 2.x JimStim Support Request

Posted: Fri Nov 12, 2010 4:15 am
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

Re: 2.x JimStim Support Request

Posted: Fri Nov 12, 2010 5:43 am
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.

Re: 2.x JimStim Support Request

Posted: Fri Nov 12, 2010 9:09 pm
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..
.

Re: 2.x JimStim Support Request

Posted: Fri Nov 12, 2010 11:11 pm
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.

Re: 2.x JimStim Support Request

Posted: Fri Nov 12, 2010 11:39 pm
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.