|
MS2/Extra - Loading firmware and Upgrade Notes |
Introduction
- Megasquirt 1 (base)
- Megasquirt 1 (MS1/Extra)
- Megasquirt 2 (B&G)
- Megasquirt 2 (earlier MS2/Extra)
- Downloading and installing
- Alpha/Beta/Release versions
** If you are new to Megasquirt and this is your first install, skip to downloading and installing. **
Introduction
This page is intended to help those already familiar with earlier Megasquirt products to upgrade their settings to MS2/Extra or be aware of what settings have changed. If you are new to Megasquirt and this is your first install, then everything is new so skip to downloading and installing.
For all installations, ensure that the jumper from S12C to JS9 (+12V) is installed. This is required for the stepper outputs to work. See the build manual step ~25 for details.
Megasquirt 1 (base)
Do not try to load your old Megasquirt-1 settings into Megasquirt-2.Megasquirt 1 (MS1/Extra)
Do not try to load your old MS1/Extra (also referred to as Megasquirt'n'spark or MSnEDIS) settings into Megasquirt-2.Megasquirt 2 (B&G)
Do not try to load your old Megasquirt-2 settings into Megasquirt-2.Megasquirt 2 (MS2/Extra) non-sequential
You can mostly load your MS2/Extra 2.1.0 tune into MS2/Extra 3.0.x
Download and installation
The 3.2.1 release code is recommended for all users, it is the current release.
It available for download as a self extracting file here
Then follow the next steps to load the firmware onto your Megasquirt. (These notes were written earlier, so the filenames are slightly different.)
The following is a stepwise approach to downloading and installing firmware.
1. Install TunerStudioMS if you do not already have it (setup page)
Version 1.006 or later is required.
2. Create a folder/directory for MS2. e.g. C:\MS2
(Use "My Computer" or "Windows Explorer", open Local Disk C: and Create New Folder, name it MS2 ).
3. Download the firmware zipfile
Right click and Save Target As into the C:\MS2 folder.

4. Use My Computer / Windows Explorer and browse to C:\MS2
5. Right click on the file you saved and choose Extract All
6. The defaults are ok, and just click next. (Note that Windows needlessly adds a second level of directory.)
7. You should now find the files have been extracted. Open up the folders until you see this:
(Note that the exact files might vary by release.)
8. Ensure you have saved your settings in your existing firmware (if any.)
9. Exit your tuning software and ensure nothing is using the serial port.
10. Double click on download-MS2-firmware.bat (If you get a security warning, click Run)
Answer all of the questions by pressing the required key on your keyboard.
Be careful on the MS2/Microsquirt choice:
|
.
Downloading new Firmware to Megasquirt board . PLEASE NOTE: This is for MS2 or Microsquirt ONLY !! . ..............! ! W A R N I N G ! ! ............. . This will wipe out ALL settings on the Megasquirt. . . so if you havent saved the settings in MegaTune . it may be best to Quit and do it now ! . . MS2 or Microsquirt choice. 1 - MS2 2 - Microsquirt Q - Quit Select Megasquirt type [ MS2 ]: Q to Quit [1,2,Q]? Communication ports: 1 - COM1 2 - COM2 3 - COM3 4 - COM4 5 - COM5 6 - COM6 7 - COM7 8 - COM8 9 - COM9 Q - Quit Select download port [ COM1 ]: Q to Quit [1,2,3,4,5,6,7,8,9,Q]? Debug options: 1 - No debug - recommended for most users 2 - Add send delay 3 - Add send delay and debug on screen Q - Quit . . (Note that these are only applied to the main application, not to bootstrap) . . If unsure, press 1 . Select debug option : [1,2,3,Q] If you are upgrading from standard Megasquirt2 code you will need to use the boot jumper soon. If you are upgrading from a recent MS2/Extra then this program will do it for you. . If you are unsure then press Y to quit - press Q . . . . Please read the README file!!! . Are you upgrading from standard Megasquirt2 code [Y,N,Q]? N 1. Ensure the boot jumper (marked B/LD on MS2 daughtercard) is NOT installed. . . Press any key to continue . . . 2. Turn Megasquirt ON . . Press any key to continue . . . 3. ! ! W A R N I N G ! ! . !!!Ensure ALL Direct Driven Coils Are UNPLUGGED from MS ECU!!! . . If in doubt unplug all ignition coils from system! . Damage to the MS ECU will result if you leave . coils driven from the MS plugged in . Press any key to continue . . . . . ms2dl.exe -d 0 -v 1 -r 115200 -j -c1 ms2_extra_us.s19 MegaSquirt Download 1.05 Reading ms2_extra_us.s19: ms2_extra_us.s19 Detected MS-I (HCS12) code. Entry point: 0xc000 Code range : 0x4000-0x3dbf60 File read sucessfully. Opened comm port 1 at 115200. Erasing main FLASH: Erased. Writing. Setting page register to 0x38: Page set. Erasing page 0x38: Erased. Setting page register to 0x39: Page set. Erasing page 0x39: Erased. Setting page register to 0x3a: Page set. Erasing page 0x3a: Erased. Setting page register to 0x3b: Page set. Erasing page 0x3b: Erased. Setting page register to 0x3c: Page set. Erasing page 0x3c: Erased. Setting page register to 0x3d: Page set. Erasing page 0x3d: Erased. Write complete, 6197 records, 99090 bytes. Verifying: Setting page register 0x00: Page set. Setting page register 0x38: Page set. Setting page register 0x39: Page set. Setting page register 0x3a: Page set. Setting page register 0x3b: Page set. Setting page register 0x3c: Page set. Setting page register 0x3d: Page set. Verification succeeded, 6197 records total (8 skipped). Press any key to continue . . . . . ! ! W A R N I N G ! ! . . Ensure you set the wheel decoder / wasted spark settings . using your tuning software . before re-connecting any directly driven coils to the ECU . See the MS2-Extra manuals if in any doubt . . You can now close this window |
11. Open TunerStudio. If you have an existing project, then you will likely get a message like this:
In the example shown, the project is configured for signature 2.1.0p, but the Megasquirt has signature 3.0.3r loaded. Here it is best to Work Offline and create a new Project. If you were upgrading from say 3.0.3r to 3.0.3s then it would be better to "Update Project ini"
12. If you create a new project. You will likely need to use the latest ini file that got extracted into C:\MS2\......
During creation or via File->Project->ProjectProperties, you can get to the Project Properties menu.
Tick other, click on the three dots and then browse to the ini file you saved.

13. Or if you decided to "Update Project ini" then browse to the ini file that got extracted into C:\MS2\......
14. You should now have TunerStudio running and connected to your Megasquirt / Microsquirt.
15. Calibrate your TPS, AFR, CLT, MAT, MAP, BARO tables.
16. Check your project properties / settings are correct.
17. If applicable reload your settings (MSQ) or create new settings. Note that when starting a tune, you MUST initially work online.
NEVER start from blank offline or many settings will be scrambled and you will have major troubles getting your engine to run.
Alpha, beta, release code? What's the difference?
During code development there are a number of key phase as the firmware evolves. The naming is intended to identify which stage the firmware is at.
Release - the firmware is considered suitable for general release, features are complete and believed to work as described. New users should be using release code.
Beta - the firmware is considered suitable for moderate release, features have been completed, but extended testing is required to ensure everything works as described.
Alpha - anything goes. New features, incomplete code, test code. The latest features will be made available as an alpha release, but it is up to the tester to determine if it works correctly. New users are advised to avoid alpha releases.
MS2/Extra firmwares
| Code | Status | Comment |
| 1.0.x | Obsolete | Old release code |
| 2.0.x | Obsolete | Old release code |
| 2.1.x | Obsolete | Old release code |
| 3.0.x | Obsolete | Old development code |
| 3.1.x | Obsolete | Old release code |
| 3.2.x | Current | The current release code is 3.2.1 |
| pre-3.3 xxxxx | Development | Development codes leading up to 3.3 release |
If you have a question, comment, or
suggestion for this FAQ please post it on the forum.
(C)2009,2010,2011,2012 James Murray