Microsquirt/MS2 based transmission controller
Moderators: jsmcortina, muythaibxr
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based trans controller+ CAN
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
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 repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Master MS/Extra'er
- Posts: 601
- Joined: Fri Apr 13, 2007 10:50 am
- Location: Paderborn, Germany
- Contact:
Re: Microsquirt/MS2 based trans controller+ CAN
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
--------------------
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
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
MS2/Microsquirt based trans controller
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
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 repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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
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 repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Microsquirt/MS2 based transmission controller
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
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
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
Give the test mode in the trans code a try too. If I get chance I'll go and check my install too.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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
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 repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
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
James,
Personal thanks for your efforts. Hopefully I can contribute.
Joe
78 Chev 4x4 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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/mega ... p?download
James
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/mega ... p?download
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
any updaes?? I hope to be driving tomorrow.
Thanks,
Joe
Thanks,
Joe
Last edited by Joe on Sat Jun 13, 2009 1:03 pm, edited 1 time in total.
78 Chev 4x4 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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/fi ... 090602.zip
James
http://www.jsm-net.demon.co.uk/trans/fi ... 090602.zip
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Microsquirt/MS2 based transmission controller
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
make clean
make
ran just fine and is how I made the zip I uploaded.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Microsquirt/MS2 based transmission controller
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
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 MS3. Microsquit 4l80E (Toy Hauler/Beta test rig )
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II
70 AAR Cuda -Hanger queen- 340 MS3 Seq- XV Level II