MegaShift™ V2.131 Code
This page is obsolete. Please see: V41code.html for the latest beta code - April 25, 2012
This code is currently a βeta version; and is for testing purposes only. Use great caution if testing in a vehicle (and only test in a vehicle after verifying the operation on the bench all of the functions you are using). Check this page often if you are testing this code - it will be updated without notice.
V2.131 code is a 'transitional code' from the 2.xxx series to the 4.xxx series, and has elements of both. However, SPI functions have been disabled for v2.131 (to be re-enabled when the code is numbered 4.xxx again).
The MegaShift™ V2.131 S19 file is here:
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.
This INI fully supports the 'context menu help' feature added in TunerStudioMS versions 1.30 and up.
The tuning software guide to all the tuning parameters in the V2.131 code is here: V4tune.html
|
Dependencies:
MShift™ v2.131 code requires 2.905 MS-II™/MicroSquirt®/Sequencer™ code (or higher) for CAN compatibility (3.5xx code or higher will also work).
You will also require TunerStudio 999.8e (or higher) for this MShift™ code. You can get it here:
|
Compared to the V2.111 code, this MShift™ code adds:
Loading Code on Your MShift™ Controller
To use the downloader.exe:
- Power down the MShift™/GPIO Controller,
- Put the boot jumper on both pins of the header marked JP5 (for "bootloader") near the serial plug on the GPIO board,
- 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.
- 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),
- Select the appropriate .S19 file, and the downloader will read, write and verify the code to the processor in about 10 seconds or so.
- 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),
- Shut down the downloader program,
- Remove power from the MShift™/GPIO Controller,
- Remove the boot jumper (or put it on just one pin of the boot header for storage),
- 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. To set up a CAN pass-through connection with TunerStudioMS, see this video: CAN 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, 2012 Bruce Bowling and Al Grippo and Lance Gardiner. All rights reserved. MegaSquirt® and MicroSquirt® are registered trademarks. This document is solely for the support of MegaSquirt® boards from Bowling and Grippo.