Microsquirt/MS2 based transmission controller

This forum is for the discussion of other projects on Megasquirt/Microsquirt hardware that don't fit into any of the other forums

Moderators: jsmcortina, muythaibxr

Re: Microsquirt/MS2 based trans controller+ CAN

Postby jsmcortina » Sun Mar 08, 2009 8:27 am

I only made a couple of small changes.
1. inputs now use the input pins as digital inputs instead of ADC but I'd posted a release where that wasn't quite implemented
2. epc is set to 100% when the engine is off
3. increased epc frequency as it sounds horrible with the frequency stated in the service manual

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based trans controller+ CAN

Postby FSG_PB_Patrick » Mon Mar 09, 2009 4:04 am

Nice, I've got a Nissan/Jatco RE4F03A Gearbox with about 5 solenoids to control brake band, clutches and torque converter. I'm sure I had a rebuilders guide with the state diagramm somewhere. Will report back once I found it.
Patrick
--------------------
Formula Student Cars MS1/MS2:
Suzuki SV650S, Suzuki GSR600K3,
http://msruns.com/viewtopic.php?f=93&t=22782
--------------------
Projects:
Nissan Primera P11 with SR20DE (SR20VE 20V) MS2
FSG_PB_Patrick
Master MS/Extra'er
 
Posts: 601
Joined: Fri Apr 13, 2007 10:50 am
Location: Paderborn, Germany

MS2/Microsquirt based trans controller

Postby jsmcortina » Mon Mar 09, 2009 5:23 pm

This is software that runs on Megasquirt hardware to control an automatic transmission.

Existing development is for GM 4L60E and GM4L80E in particular. Other transmissions will hopefully be added.

Find out more here: http://www.jsm-net.demon.co.uk/trans

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Fri Mar 27, 2009 9:56 am

I posted a new code release. Hopefully I finally resolved the issue with passthrough CAN writes/burns not working correctly.
You will need the as-yet-unreleased next MS2/Extra pre2.1.0 code as I found some CAN bugs in there too.

I have been testing:
PC->MS2/Extra tuning MS2/Extra
PC->MS2/Extra->trans tuning trans
PC->trans->MS2/Extra tuning MS2/Extra
PC->trans tuning trans

and I _believe_ it is now working correctly. I have tested with TunerStudio, Megatune and my own raw test application.

Code is at: http://www.jsm-net.demon.co.uk/trans/files/alpha/
Code is at: http://www.jsm-net.demon.co.uk/trans/fi ... 90327a.zip

I should have this out on the car again this weekend.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Wed May 27, 2009 6:46 pm

James,

Help-

Running MSII v3 Latest Alpha 3.something (Working great, Love the closed loop Idle)

Microsquirt v2 running .009 trans code.

Setup CAN to fetch RPM, TPS and engine temp. Working good.


In trans range 4, 65 mph 10% tps I do not have TCC apply.
Gauge shows TCC ramping up nicely to 70% but no ground on INJ1.

I loaded MSextra on my microsquirt. Entered output mode. Was able to turn on INJ1 and INJ2.
Convinced(at least right now) my hardware is working.

I am bench testing at the moment, I just picked up my 4l80E today.


Notes on my bench setup-

I am using am old stim board. VSS is fed to the optical circuit. MPH reading ok.

I don't have a range switch at the moment. I tested channel ABC of TPT. Working good.
Edit:Don't recall 3

It's wired so on power up I am in TPT4 65mph. After the delay megatune shows TCC ramp up but my INJ1 does not supply ground. I am hoping to install the 4L80E(Also selected in my INI) sometime in the next week.

Any advice you are willing to give would be much appreciated.

Thanks,

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby racingmini_mtl » Wed May 27, 2009 7:50 pm

Joe,

If you're not using the additional injector drivers available on the alpha 3.0 code, try loading the RC 2.1.0 and redo your tests. There shouldn't be any difference but there might have been some unintended impact on the CAN code with the alpha code modifications.

If you do the test please report what you see if there is a change or not. If you see a change then something may need to be done in the alpha code.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
racingmini_mtl
Super MS/Extra'er
 
Posts: 6366
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Wed May 27, 2009 9:25 pm

Jean,

Thanks for the reply. I will give that a shot after work on thursday.

Just to be clear, the INJ1 I am refering to is Microsquirt v2/ trans code .009 INJ1(TCC)

CAN Seems to work fine as far as the MSII output to microsquirt/trans.

I will downgrade my MSII and see if any difference in the Microsquirt/trans code responce.

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Thu May 28, 2009 2:17 am

Give the test mode in the trans code a try too. If I get chance I'll go and check my install too.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Thu May 28, 2009 6:16 am

I tried test mode with .009 on TCC and EPC. Seems I have no responce on INJ1 and INJ2. INJ1 does not light with 100%,
INJ2 does not release ground or change intensity for 0%. Didn't put a scope on either, using eye ball meter.


Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Thu May 28, 2009 6:11 pm

regression testing-

MSII v3 Alpha 3.03

Microsquirt v2 trans code.

First release trans code-

Can issues- Fetched data does not display correctly

Second release .008 Can fetch stable

TCC stuck grounded. Tried test mode on EPC and TCC.

EPC blinks for a second when commanded 0% then remains lit.

TCC Stays lit with 0% or 100%



Trans code .009

Can data- rock solid. Data reads the same as MSII alpha code.

Test mode-

TCC - Off. No difference with 0% or 100% . No ground.
Note: toggling TCC will blink EPC

EPC - Commanding 0% or 100% toggles EPC lamp. Was unable to turn off.

Data looks great in megatune. Tcc applies when it should. Off with brake ETC.
Unable to get operation with Stim

On to try different code in MSII. Can looks stable but I will try.

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Thu May 28, 2009 6:33 pm

OK,

Tried release code 2.01 on the MSII-
Trans code .009

Same issue- Switched back to Alpha 3.03


Forgot to add on MT startup I receive two warnings-

Trans-ini:0006 Unrecognized directive "define", Ignored
Trans-ini:0008 Conditional check references undefined value "CAN_COMMANDS"

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Fri May 29, 2009 2:13 am

For reference 2.0.1 does not correctly support CAN-passthrough. 2.1.0 does.

However, I confirmed that the lockup solenoid does not make any noise by using the test mode on my install. I'll get to it later. The EPC solenoid is still really loud at the stated frequency. I'll get it back onto the bench and confirm.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Tue Jun 02, 2009 4:03 pm

It appears I had (for some reason) commented out the code to setup the lockup solenoid ?! I want to do some more testing on this before I post an updated version, so hopefully this weekend there will be another version available.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Tue Jun 02, 2009 9:25 pm

Good news. Thanks for pursuing this. I just finished mounting my 4l80E. I need to make some trans lines, order some drive lines and install my harness. I hope to be road testing in less than 2 weeks. I've never used the GCC HC12, I've been looking into porting to CodeWarrior. I have a version from school.


James,

Personal thanks for your efforts. Hopefully I can contribute.

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Wed Jun 03, 2009 1:05 am

Kind of funny, the code is evolved from code that was built on Codewarrior. We forked from that a good three years back, so there may be many non-portable items in there.

I find gcc easy. Just type make. No graphical front end to get in the way.
There's a "condensed gcc/cygwin" package for download here: http://prdownloads.sourceforge.net/megasquirt/ms2compiler.zip?download

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Fri Jun 12, 2009 10:45 pm

any updaes?? I hope to be driving tomorrow.
Thanks,

Joe
Last edited by Joe on Sat Jun 13, 2009 1:03 pm, edited 1 time in total.
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Sat Jun 13, 2009 7:37 am

I've been busy with work and MS3 this week so have not had chance to test this code out, but here it is:

http://www.jsm-net.demon.co.uk/trans/files/trans20090602.zip

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Sat Jun 13, 2009 12:56 pm

Thanks,

Finishing install today. Hopefully I will road test tomorrow.

I found a pointer in trans_init.c for TCC that was commented out.(Don't know if this is what you are refering to??) I have been trying to read the code but have had some difficulty following things. Also, I deleated all the object files and ran a full make but I receive an error 127 at the end for the trans.s19 file. (Need to figure out what it means)

I'll let you know how bench testing and in car go sunday evening.

Thanks again,
Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

Re: Microsquirt/MS2 based transmission controller

Postby jsmcortina » Sat Jun 13, 2009 1:45 pm

I take it you are trying in Codewarrior because:

make clean
make

ran just fine and is how I made the zip I uploaded.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27442
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Microsquirt/MS2 based transmission controller

Postby Joe » Sat Jun 13, 2009 3:51 pm

I was using GCC when i received the error but I will play with that later.


Bench testing trans code .010


Scratching my head a little on this. Put a scope on TCC and EPC .

Code seems to work but signal is inverted??

Example- As I understand things(Could be the problem) to increase Line pressure a reduction in ground is needed.
No ground- full line pressure.
With a TPS increase line pressure increases but on the scope I see an increase in ground(Reduction in line pressure) TCC seems to operate the same way. Looks like to me both INJ1 and INJ2 outputs are inverted.


Make sense or am I confused??

Joe
78 Chev 4x4 MSII extra(Some days MS3) Microsquit 4l80E (Toy Hauler/Beta test rig )
69 Camaro MSII Extra(Totaled 11-2011-R.I.P)
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II - Work in Progress - Summer 2013???
Joe
Experienced MS/Extra'er
 
Posts: 190
Joined: Sun May 23, 2004 8:44 pm
Location: Everett, WA USA

PreviousNext

Return to Other Development

Who is online

Users browsing this forum: No registered users and 1 guest