MS3 1.0 source code released
Moderators: jsmcortina, muythaibxr
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
MS3 1.0 source code released
To announce the long-awaited release of source code for MS3 1.0.
Be sure to read and respect the included README and LICENSE files.
http://www.msextra.com/doc/ms3/files/source
James
Be sure to read and respect the included README and LICENSE files.
http://www.msextra.com/doc/ms3/files/source
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: MS3 source code released
Excellent, thank you James and Ken!
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
Re: MS3 source code released
that's pretty cool. now I just have to learn to program.
Re: MS3 source code released
wow...
thank you. i'll have to take a look at the things myself now.
thank you. i'll have to take a look at the things myself now.
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
1994 Supra - ms3pnp pro - j&s
-
- Super MS/Extra'er
- Posts: 2188
- Joined: Sun Aug 31, 2008 4:02 pm
- Location: South Florida, USA
- Contact:
Re: MS3 source code released
Will the source code for the MS3 Firmware Downloader be released as well?
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 source code released
At some point yes. It needs cleaning up somewhat and a few issues resolving when used in "developer mode".SymTech Laboratories wrote:Will the source code for the MS3 Firmware Downloader be released as well?
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: MS3 source code released
Awesome news !
Does a changed and re-compiled code will be sign as version 1.03 ?
What about api for tunerStudio ?
Let's say i want to change the CL idle condition when using VSS.
Instead of VSS=0 i want it to be a value defined on tunerStudio and not hard coded.
And last question, what is the best flow to move from alpha 16 to release 1.03.
Thanks !
David
Does a changed and re-compiled code will be sign as version 1.03 ?
What about api for tunerStudio ?
Let's say i want to change the CL idle condition when using VSS.
Instead of VSS=0 i want it to be a value defined on tunerStudio and not hard coded.
And last question, what is the best flow to move from alpha 16 to release 1.03.
Thanks !
David
Car: BMW 318Ti 1995 1.8 M42 Engine.
Megasquirt 3.0 + MS3x board Code 1.3
4cyl Cop Ignition,crank+cam wheels based on vr sensors.
Ignition: full sequential
Fuel: full sequential
Bosch 3 wire pwm idle valve
Megasquirt 3.0 + MS3x board Code 1.3
4cyl Cop Ignition,crank+cam wheels based on vr sensors.
Ignition: full sequential
Fuel: full sequential
Bosch 3 wire pwm idle valve
-
- Site Admin
- Posts: 8228
- Joined: Thu Oct 14, 2004 12:48 pm
Re: MS3 source code released
Alpha 17 will have some changes in it that make the VSS change unnecessary most likely.David. A wrote: Instead of VSS=0 i want it to be a value defined on tunerStudio and not hard coded.
And last question, what is the best flow to move from alpha 16 to release 1.03.
Thanks !
David
I can easily add the setting too.
Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
Re: MS3 source code released
Sound interesting.
But i'm more interested coding my own changes.
The option to change the code is not enough if we can't change tunerStudio to match the change.
What about source code for the latest alpha versions ?
And what do i need to "downgrade" from alpha16 to release 1.03 code.
Thanks
David
But i'm more interested coding my own changes.
The option to change the code is not enough if we can't change tunerStudio to match the change.
What about source code for the latest alpha versions ?
And what do i need to "downgrade" from alpha16 to release 1.03 code.
Thanks
David
Car: BMW 318Ti 1995 1.8 M42 Engine.
Megasquirt 3.0 + MS3x board Code 1.3
4cyl Cop Ignition,crank+cam wheels based on vr sensors.
Ignition: full sequential
Fuel: full sequential
Bosch 3 wire pwm idle valve
Megasquirt 3.0 + MS3x board Code 1.3
4cyl Cop Ignition,crank+cam wheels based on vr sensors.
Ignition: full sequential
Fuel: full sequential
Bosch 3 wire pwm idle valve
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 source code released
Edit the ini file. Very little is "built-in" to TunerStudio, almost everything can be changed through the ini file - just like it has always been since Megatune.David. A wrote:Sound interesting.
But i'm more interested coding my own changes.
The option to change the code is not enough if we can't change tunerStudio to match the change.
That will be released some time after the 1.1 code is "release"What about source code for the latest alpha versions ?
Load the firmware and load your MSQ, taking note of the warnings. Reconfirm your settings.And what do i need to "downgrade" from alpha16 to release 1.03 code.
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".
-
- Helpful MS/Extra'er
- Posts: 74
- Joined: Wed Feb 04, 2009 7:47 am
Re: MS3 source code released
James,
Will the bootloader file be released? I use Codewarrior and after playing with the MS2 and knowing how easy it is to completely wipe the chip, (James you helped me out with this a while back now!) I would like to be able to upload my code changes without needing my BDM, as when playing in the car its just not practical. Ideally I would like to be able to reflash the chip back to purchase state at any time, just don't want to have to be sending it forwards and backwards to be rebootloaded, as when I use the BDM on a running chip CW sometimes erases the chip, as it did with my old MS2 board...
Of course, this begs the question, if I were to just load my newly compiled MS3 S19 onto the uP, would it work? And can I set codewarrior to not erase the chip before a burn?
Thanks,
Mark
Will the bootloader file be released? I use Codewarrior and after playing with the MS2 and knowing how easy it is to completely wipe the chip, (James you helped me out with this a while back now!) I would like to be able to upload my code changes without needing my BDM, as when playing in the car its just not practical. Ideally I would like to be able to reflash the chip back to purchase state at any time, just don't want to have to be sending it forwards and backwards to be rebootloaded, as when I use the BDM on a running chip CW sometimes erases the chip, as it did with my old MS2 board...
Of course, this begs the question, if I were to just load my newly compiled MS3 S19 onto the uP, would it work? And can I set codewarrior to not erase the chip before a burn?
Thanks,
Mark
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 source code released
No, it will not be released.ScoobyCoder wrote:James,
Will the bootloader file be released?
You will not be able to use HIWAVE to load the s19 as the chip is in 'secure' mode.Of course, this begs the question, if I were to just load my newly compiled MS3 S19 onto the uP, would it work? And can I set codewarrior to not erase the chip before a burn?
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".
-
- Helpful MS/Extra'er
- Posts: 74
- Joined: Wed Feb 04, 2009 7:47 am
Re: MS3 source code released
James,
Ok, thanks for the reply.
So its strictly compile and use the bootloader, thats fine, I'll go careful!
Thanks,
Mark
Ok, thanks for the reply.
So its strictly compile and use the bootloader, thats fine, I'll go careful!
Thanks,
Mark
Re: MS3 source code released
I haven't downloaded anything but programming language was used for the MS3.
-
- Helpful MS/Extra'er
- Posts: 74
- Joined: Wed Feb 04, 2009 7:47 am
Re: MS3 source code released
Hi,
Its written in C
Its written in C
Re: MS3 source code released
O.k. great i will have to do a course in C then to fully appreciate this ECU.
-
- Helpful MS/Extra'er
- Posts: 74
- Joined: Wed Feb 04, 2009 7:47 am
Re: MS3 source code released
Ok,
So I have codewarrior installed, and I want to open the source as a project, is here a project file, or do I need to start from scratch? The end reult is I can then compile and use the bootloader to download the S12, but as far as I can see there is no main project file, just the C code and headers etc?
Cheers
Mark
So I have codewarrior installed, and I want to open the source as a project, is here a project file, or do I need to start from scratch? The end reult is I can then compile and use the bootloader to download the S12, but as far as I can see there is no main project file, just the C code and headers etc?
Cheers
Mark
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 source code released
Codewarrior is untested. We use gcc. This is covered in the README-BUILDING.txt file.
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".
-
- Helpful MS/Extra'er
- Posts: 74
- Joined: Wed Feb 04, 2009 7:47 am
Re: MS3 source code released
Ah ok,
In my silly hastiness I may of just broken something, tried using CW and the BDM, says no memroy at 100100 or something? NOt sure what I have done, should of stuck to the usual uploader but like my old tools lol!!
I'll see if I can revive it
And also I'll have a god read of the BULDING readme
Regards,
Mark
In my silly hastiness I may of just broken something, tried using CW and the BDM, says no memroy at 100100 or something? NOt sure what I have done, should of stuck to the usual uploader but like my old tools lol!!
I'll see if I can revive it
And also I'll have a god read of the BULDING readme
Regards,
Mark
-
- Site Admin
- Posts: 39585
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 source code released
Don't try to use BDM. It will ask you to Unsecure, if you do that, you had better wrap it up and post it off for a reflash.
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".