Myk's MS3 RX7 Turbo thread

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

eage8
MS/Extra Newbie
Posts: 3
Joined: Sat Dec 13, 2008 5:55 pm
Location: Maryland

Re: Myk's MS3 RX7 Turbo thread

Post by eage8 »

LT401Vette wrote:Interesting, something went wrong now.
I tried to load my old msq back and the MS hangs when it get to page 10 and serial stops. When I cycle it all the previous pages have corrupt data.

I am on the 7/15 code though, so I maybe overwriting a bad address in the newer firmware.

I'm on the current CVS code as of yesterday... maybe that is were the reproduction problem lies.
'89 RX-7 Turbo - 270rwhp - MS3
'89 Corolla SR5 - 4AGE 20V - DIYPNP
'01 Impreza 2.5RS - Rallycross project - no MS yet
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Myk's MS3 RX7 Turbo thread

Post by LT401Vette »

Ok... I am getting something. It looks like the X & Y axis data isn't getting burned?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
eage8
MS/Extra Newbie
Posts: 3
Joined: Sat Dec 13, 2008 5:55 pm
Location: Maryland

Re: Myk's MS3 RX7 Turbo thread

Post by eage8 »

LT401Vette wrote:Ok... I am getting something. It looks like the X & Y axis data isn't getting burned?
yeah, that's quite possible.
'89 RX-7 Turbo - 270rwhp - MS3
'89 Corolla SR5 - 4AGE 20V - DIYPNP
'01 Impreza 2.5RS - Rallycross project - no MS yet
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

It was definitely burning. We power cycled a few times and I double checked that it "stuck."

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Myk's MS3 RX7 Turbo thread

Post by LT401Vette »

For some reason Page 10 just doesn't stick. TS says page 9 because it counts from 0.
The burn command is being sent correctly, but the data just doesn't stick.

The x & y axis bins are on that page, so when you cycle they are lost.

Now I'm wondering how this was so hard for me to see. :)
I guess what happened to me is that on the bench when the x & y bins didn't stick, I didn't notice and saved my test msq's with the permanent bins.

That's what real world testing does :)

Ken any idea why or if it is possible page 10 doesn't take a burn?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

We just saw that happen too.

I have no idea at the moment, but it's possible that when that stuff moved to page 10 the burn routines broke.

I'll look at it this weekend.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Myk's MS3 RX7 Turbo thread

Post by LT401Vette »

The ini looks good and I did a comm log, it looks like the data sent is good.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

It looks like the data not getting burned is on "page 19" in the firmware... I'll look at it more later tonight.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

I think I found the issue...

In the firmware, only pages up to 13 are implemented (decimal). Pages "0x12" and "0x13" are unimplemented in the burn routine...

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

Alright, I found where James was grabbing the data from in flash, and added "else if's" for the 2 newer pages.

I'll test a bit later.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

Oh yeah and Phil thanks for double checking that TS was working right here. It is hard to pinpoint sometimes when things are changing this rapidly.

In any case I now mostly understand the parts of the SCI and flash burn code that were involved (James had always done that before and I had never found any bugs before, so never had a need to look!)

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
eage8
MS/Extra Newbie
Posts: 3
Joined: Sat Dec 13, 2008 5:55 pm
Location: Maryland

Re: Myk's MS3 RX7 Turbo thread

Post by eage8 »

I flashed the new firmware last night and it looks like it's fixed :)

I went to an auto-x today and power cycled my MS at least 8ish times and all the settings are still sticking.
'89 RX-7 Turbo - 270rwhp - MS3
'89 Corolla SR5 - 4AGE 20V - DIYPNP
'01 Impreza 2.5RS - Rallycross project - no MS yet
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Myk's MS3 RX7 Turbo thread

Post by muythaibxr »

Good news!
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
Post Reply