Tell me "Read the FAQ, N00b" - Compiling MS code? - Page 3 - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 12-14-2007, 02:14 PM   #41
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

You still coming up to my place for beer and soldering tomorrow, or are you past that point already?
Joe Perez is offline   Reply With Quote
Old 12-14-2007, 03:31 PM   #42
Elite Member
Thread Starter
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

I was thinking I was past it, but then I got a lunch date in Escondido. I figure if I'm all the way up there, I might as well drop by. :-)

Currently I've got the CPU installed and up and talking, I was able to flash beta 11-22 code onto it, and now I have to read the stuff Arga sent me to make sure I have the right stuff installed, figure out what a msq file is, what to do with it, etc. I also have to build the outputs and some of the inputs, and then make up a harness.

So, yeah, lots to do. A weekend's worth, if I didn't have other stuff to do.

Maybe I'll give away my link piggy as a white elephant gift at this xmass party sunday. :-P
AbeFM is offline   Reply With Quote
Old 12-15-2007, 08:04 AM   #43
Elite Member
Thread Starter
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Ok everyone, here's my issues with the build:

First: Use the pul up resistors on the JimStim or your tac won't work. Though I wonder how well this will work if the sensor doesn't put out much current....

Actual issue: Does anyone know how to program the jimstim, or make it put out a 99+ miata-like pulse train?

Also, my O2 reading is weird. There's a few spots on the pot where it works, and everywhere else I get weird, jumpy, sticky values in the MegaTune program. The voltage goes up NICE and linearly with pot travel. I checked the signal, at the connector, the board, and even at the CPU pin (scarey on 0.5mm pitch parts without real tools).....

Any idea why this is so BAD?
AbeFM is offline   Reply With Quote
Old 12-17-2007, 11:55 AM   #44
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

Abe- I totally forgot about this the other night when you were over at my place, but have you done a scope capture of the actual cam and crank sensors?

Reason I ask is that I know it'd be nice for you to have a good simulated output for bench testing, and I have two ideas there.

One, we could simply ask Jim what it would take to add a new wheel output to the simulator. Like an idiot, I forgot to write down the p/n of the CPU last night so I could check to see if it's re-programmable, but it's worth an ask.

Two, if that's a no-go, I could build you a dedicated NB wheel simulator using a parallax microcontroller I've got lying around. But again, I'd need a detailed scope trace for that. (your car doesn't have variable cam timing, right?)
Joe Perez is offline   Reply With Quote
Old 12-17-2007, 01:21 PM   #45
Elite Member
Thread Starter
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

I am pretty sure the sim is programmable, cause he tells you where to buy a USB cable for reprogramming it (though why there's some doubt that I could hack the end off a cable and attach it to the board is beyond me)...

Yeah - I wanted to get traces but never got to it. I'm sure I could get some from online... I'd be interested to see what your current meter thinks of it.

Otherwise, yeah - I suppose someone could dig up a logic analyzer, but I think I already have a NB simulator in my garage, under my hood. I can just crank the motor and see if it gives me RPM as a start.
AbeFM is offline   Reply With Quote
Old 12-17-2007, 01:45 PM   #46
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

I'm still a bit confused by that whole USB-serial thing. He mentions that it can be done, but gives no specs whatsoever on the software involved. I emailed him to get an inside opinion.

BTW- I don't think it's necessary to use the fancy current probe to measure your sensors. When I do mine, I typically just disconnect the plug and slip a piece of that 30ga wire I gave you into the female portion of the connector, then plug it back in and connect to it with a standard probe. This way I can measure 4 signals at once, to get relative timings.

The only place I've used the current probe so far was for measuring the coil primaries, to get a close look at the current profile. I wanted to reality-check the dwell times that everyone has been using, and they do indeed check out.

edit: BTW, I checked out the datasheet on the "special cable" and it's nothing more than a USB to RS232 converter, which presents itself to Windows as a virtual COM port. So you could probably just use straight RS232 and not bother with the expensive cable.
Joe Perez is offline   Reply With Quote
Old 12-17-2007, 01:50 PM   #47
Elite Member
Thread Starter
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Oh, I don't think I need to measure current, but I am currious - if folks are having issues reading the signal, I'd like to know what it is the ECU sees.

Guess it's time to dig into the wiring diagrams, I want to figure out what I need to take from the OEM ECU, and what I have to leave there. Ideally, the OEM only gets five or six wires to it, just enough for the AC, Alt, cruise control....

-Abe.
AbeFM is offline   Reply With Quote
Old 12-17-2007, 01:58 PM   #48
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

DOH!

I forgot you were doing a piggyback!

That means that the cam and crank sensors are still going to be attached to your stock ECU, meaning that you don't need the pullups on the MS. You could just wire the two signals directly to the base of the two transistors you threw in on the proto area and call it a day.
Joe Perez is offline   Reply With Quote
Old 12-17-2007, 02:49 PM   #49
Elite Member
Thread Starter
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

I'm *starting* with a piggyback, and planning on extracting the OEM ecu as fast as possible. So unless the sensor can't sink the current from two pullups, I'm not worried.

Anyway, right now, there's no way the stock ECU can run my tripple sized injectors, so those lines are coming off. That leaves the ignition, which won't pull any timing so I can try to get the fuel for idle and off idle mapped, but after that, the MS will run spark too... Then I think the cam/cas/etc can all get cut off the OEM ECU

Related: Does anyone have the little 3rd '99 connector for the OEM ecu? I bought two of everything from online components, but that connector I only put in one. The part is literally 80 cents, but shipping is like $10. Sigh.
AbeFM is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Project Gemini - Turbo Civic on the Cheap Full_Tilt_Boogie Build Threads 57 07-19-2017 05:11 PM
OTS Bilstein to motorsports ASN conversion stoves Suspension, Brakes, Drivetrain 5 04-21-2016 04:00 PM
My solution for Oiltemp and Oilpressure input into Megasuirt (MS3) Zaphod MEGAsquirt 41 01-24-2016 01:25 PM
Low oil pressure after 1.8 swap and new turbo setup JesseTheNoob DIY Turbo Discussion 15 09-30-2015 03:44 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 03:26 AM.