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

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

prof315
Super MS/Extra'er
Posts: 3748
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

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

Post by prof315 »

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/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

Wrong sequence. Follow the video !

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".
prof315
Super MS/Extra'er
Posts: 3748
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

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

Post by prof315 »

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

Thanks James!

Jeff
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
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+

Post by NArcher »

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+

Post by NArcher »

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!
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

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 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".
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

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 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".
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

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

Post by 93white3400z »

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!
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

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 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".
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+

Post by NArcher »

Can you add support to invert the tps signal? My car has drive by wire and the signal is 5v closed and 0v WOT.
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

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 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".
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+

Post by NArcher »

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
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

Swap the 5V and GND wires.

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".
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+

Post by hassmaschine »

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..
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+

Post by NArcher »

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+

Post by NArcher »

I guess I would have to make an inverter circuit.
jsmcortina
Site Admin
Posts: 39570
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

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

Post by jsmcortina »

See how it goes with alpha15.

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".
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+

Post by NArcher »

Thanks James, I'll wait for Alpha 15 and check it again.
Post Reply