New serial protocol / MS3 pre1.1 alpha codes 12+

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby prof315 » Sun Oct 16, 2011 12:51 pm

I seem to be having some troubles with test mode in Alpha 14. I'm playing with some Nippondenso pencil coils from a 2.4L Honda Accord (3 wire smart coils) and so far I can't get them to fire. It may be that they need the external transistor mod like VAG coils but I can't even get test mode to fire my LS coils. Maybe I'm doing things wrong so here is how I have been using test mode.

Open the test mode dialog box
enter 12345 in the top box, hit TAB key

fuel pump off
test mode coils
coils on
single coil
coil H (the denso coil I am trying)
3ms dwell
Burn

As I say, even if I switch to coil A which is one of the LS coils that runs my engine I get nothing. And yes I cycle the key before trying coil A

Thanks,
Jeff
Linfert Performance: The Megasquirt guy in Central Florida
92 Corrado 2.0L ABA and Borg Warner EFR 6258 on MS3Pro.
Support the developers!
prof315
Super MS/Extra'er
 
Posts: 1875
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Sun Oct 16, 2011 12:53 pm

Wrong sequence. Follow the video !

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby prof315 » Mon Oct 17, 2011 3:50 am

Ah, got it! I'll try again tonight.

Thanks James!

Jeff
Linfert Performance: The Megasquirt guy in Central Florida
92 Corrado 2.0L ABA and Borg Warner EFR 6258 on MS3Pro.
Support the developers!
prof315
Super MS/Extra'er
 
Posts: 1875
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Tue Oct 18, 2011 7:20 pm

Will there be any support for Mazda 3/6 2.3L with 6 tooth cam wheels (Maybe 4+2 cam setting)?
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Wed Oct 19, 2011 11:20 am

Sorry, I just found out that the 04-05 Mazda3/6 cam profiles are the same as the Zetec (36-1 Crank, 4+1 Cam). Thanks for all your hard work James. Being a junior programmer, I know how frustrating writing code can be!
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Sun Oct 23, 2011 10:11 am

93white3400z wrote:I know you said you need to test all combinations for fuel consumption but if you want to see one that doesn't work, I've attached my MSQ for you to try. Gauge either stay at 0 or at a crazy high number.

You haven't set your injector size.

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Sun Oct 23, 2011 10:23 am

kizzoalfa wrote:Than as I understand the Single letter command A is not supported. Do you have any plan that it will work in the future?

I've added 'A' for backwards compatability for the next alpha. It is advised that newserial be supported by devices if possible as all transactions are error checked, the old serial method had numerous weaknesses.
The protocol document is at: http://www.msextra.com/doc/ms3/files

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby 93white3400z » Sun Oct 23, 2011 11:15 am

jsmcortina wrote:
93white3400z wrote:I know you said you need to test all combinations for fuel consumption but if you want to see one that doesn't work, I've attached my MSQ for you to try. Gauge either stay at 0 or at a crazy high number.

You haven't set your injector size.

James


That could be a problem indeed. Didn't know the existance of those settings.

Thank you!
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 657
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Sun Oct 23, 2011 11:48 am

93white3400z wrote:
jsmcortina wrote:You haven't set your injector size.

That could be a problem indeed. Didn't know the existance of those settings.
Thank you!

It was recently added to the "Engine and Sequential settings" page

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Sun Oct 23, 2011 11:47 pm

Can you add support to invert the tps signal? My car has drive by wire and the signal is 5v closed and 0v WOT.
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Mon Oct 24, 2011 2:52 am

NArcher wrote:Can you add support to invert the tps signal? My car has drive by wire and the signal is 5v closed and 0v WOT.

Are you sure there aren't two? From what I've read it is typical to have one forwards (0-5V) and one backwards (5-0V)

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Mon Oct 24, 2011 3:03 am

I tested all three wires. There is one wire (+5v), (GND), and (5-0V). I tried testing in multiple combinations, but I could not get 0-5V. Is there a way to modify the code for this? I will test again tomorrow to see if I can get the correct signal. Thanks
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Mon Oct 24, 2011 4:09 am

Swap the 5V and GND wires.

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby hassmaschine » Mon Oct 24, 2011 7:13 am

jsmcortina wrote:Swap the 5V and GND wires.

James


this *may* not work. depending on the design of the TPS itself - on BMWs, if you wire it backwards the sensor will not give a stable reading. Perhaps because of an internal diode or something else..
hassmaschine
Super MS/Extra'er
 
Posts: 1331
Joined: Mon May 21, 2007 8:36 am

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Mon Oct 24, 2011 7:39 pm

I would swap the leads but I'm running
A parallel setup
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Tue Oct 25, 2011 11:37 am

I guess I would have to make an inverter circuit.
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby jsmcortina » Tue Oct 25, 2011 11:44 am

See how it goes with alpha15.

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: 27927
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: New serial protocol / MS3 pre1.1 alpha codes 12+

Postby NArcher » Tue Oct 25, 2011 2:14 pm

Thanks James, I'll wait for Alpha 15 and check it again.
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Previous

Return to MS3 Development

Who is online

Users browsing this forum: No registered users and 1 guest