Click on our menu buttons immediately below to find MegaSquirt® information quickly:


MegaShift™ V4.146 Code

This code is now obsolete. Please see the latest release code here: www.msgpio.com/manuals/mshift/releasecode.html.


The MegaShift™ V4.146 S19 file is here:

Monitor_4146.abs.s19
(Right click and 'Save As')

Note: When in bootloader mode, the GPIO allows a full 12V to flow in the TCC and Output3 (aka. TCC, SolC) circuits. If your set-up depends on PWM to limit the current in these solenoids, you MUST pull the 5 Amp fuse to these solenoids (shown in this wiring diagram) before entering bootloader mode to load new code. The 4L60E does not need to have the fuse pulled in bootloader mode.


The accompanying INI file you will need for your tuning software is below. Do NOT rely on the INI that comes with your tuning software, even if it has the correct version number it may be out of date and not have the latest updates and corrections.

GPIO_MShift_4146.ini
(Right click and 'Save As')

This INI fully supports the 'context menu help' feature added in TunerStudioMS versions 1.30 and up.


Need Help with the Code Setup and Tuning Parameters? Look Here:

The tuning software guide to all the tuning parameters in the V4.146 code is here: V41tune.html If you have an internet connection, TunerStudio will go directly to the appropriate section of the help page whenever you press the 'F1' key in a parameter menu (your browser will open and load the help page at the nearest relevant location).

There is also a .PDF document of the help page here: V41tune.pdf, and you can reference this when you don't have an internet connection. However, be aware that it might not have the latest information about new features and bug fixes (and TunerStudio will not open it automatically like the web page, but the PDF file is searchable via 'Ctrl-F' key-stroke combination in your PDF reader).


This code and INI have several Project Property Settings. You set/change them in TunerStudio under 'Project → Project Properties → Settings'. This is the first thing you should do after creating a new project. The settings are:

Note: The way the code and INI handle metric conversions has changed from older (4.122 and earlier) codes. You MUST set your units before loading an old MSQ. When upgrading from older code, be sure to save the old user parameters in a MSQ, load the new code and set up the new INI, change your units (Project -> Project Properties -> Settings: CELSIUS and SI_LENGTHS) to what you used when creating the older MSQ before finally loading the old MSQ file. The defaults are for both settings to be deactivated (i.e. Imperial units). Otherwise the values will be converted again (i.e. twice, so they will be incorrect) when you change the units settings. Once the units are set, you don't have to worry about this anymore.

Dependencies:

MShift™ v4.1xx code requires 2.905 MS-II™/MicroSquirt®/Sequencer™ code (or higher, including msextra code) for CANbus compatibility (3.5xx code or higher will also work).

Compared to the V2.200 code, this MShift™ code adds:

Loading Code on Your MShift™ Controller

To use the downloader.exe:

  1. Power down the MShift™/GPIO Controller,

  2. Put the boot jumper on both pins of the header marked JP5 (for "bootloader") near the serial plug on the GPIO board,

  3. Power up the MShift™/GPIO Controller by connecting the power supply ground on one of the Ampseal pins 18, 19, 20 (through the appropriate lead). Then apply 12 volts (nominal, 9V to 15V is okay) to Ampseal pin 1.
    Note: When in bootloader mode, the GPIO allows a full 12V to flow in the TCC and Output3 (aka. SolC, 3/2sol) circuits. If your set-up depends on PWM to limit the current in these solenoids, you MUST pull the 5 Amp fuse to these solenoids (shown in this wiring diagram) before entering bootloader mode to load new code. The 4L60E does not need to have the fuse pulled in bootloader mode.

  4. Start the downloader program (get it here), and select the appropriate COM port number for your serial connection (if you don't know your serial COM port, run the portCheck program),

  5. Select the appropriate .S19 file, and the downloader will read, write and verify the code to the processor in about 10 seconds or so.

  6. The process ends with a message like "Verification succeeded, XXX records total (4 skipped)." (where XXX is a large number that varies from one code version to the next),

  7. Shut down the downloader program,

  8. Remove power from the MShift™/GPIO Controller,

  9. Remove the boot jumper (or put it on just one pin of the boot header for storage),

  10. Start the tuning software (TunerStudioMS) and set the COM port and speed if necessary. Open the project Properties dialog, and point to the INI file you downloaded above.

    When upgrading from older code, be sure to save the old user parameters in a MSQ, load the new code and set up the new INI, change your units (Project -> Project Properties -> Settings: CELSIUS and SI_LENGTHS) to what you used when creating the older MSQ before finally loading the old MSQ file. The defaults are for both settings to be deactivated (i.e. Imperial units). Once the units are set, you don't have to worry about this anymore.

    To set up a CANbus pass-through connection with TunerStudioMS, see this video: CANbus set-up video (22 MBytes)


Once you have loaded the code, you need to create a project in TunerStudioMS using the INI file above:


Old Code/Ini can be found here:

  • INI files

  • Code files (*.S19)



    MegaSquirt® and MicroSquirt® controllers are experimental devices intended for educational purposes.
    MegaSquirt® and MicroSquirt® controllers are not for sale or use on pollution controlled vehicles. Check the laws that apply in your locality to determine if using a MegaSquirt® or MicroSquirt® controller is legal for your application.
    © 2011, 2014 Bruce Bowling and Al Grippo. All rights reserved. MegaSquirt® and MicroSquirt® are registered trademarks. This document is solely for the support of MegaSquirt® boards from Bowling and Grippo.