Click here for MegaSquirt® MegaManual™ Information, Guides, and Links
MicroSquirt® Embedded Code
This page is out-of-date. It is preserved here only for archival purposes. Please see the updated page at: www.useasydocs.com/details/usv3code.htm
This archive document primarily applies to older V2 and V1 MicroSquirt® controllers.
For the latest V3 MicroSquirt® controller documentation, click this link: V3 MicroSquirt® Quickstart Guide
For the latest code for your MicroSquirt® controller, see: www.useasydocs.com/details/usv3code.htm
MicroSquirt® can use the same embedded code as MegaSquirt-II, and you can use any of the V2 code versions intended for the C64 version (with CAN) of the processor. However, MicroSquirt® has a few of its own specialized hardware functions (dual spark is the main function) and these are only implemented in code version 2.8 and higher.
Unlike MegaSquirt-II, MicroSquirt® comes with the embedded code already loaded onto its processor. You can still upgrade to newer versions of the code as they are released, of course, but you won't have to load the code initially to get MicroSquirt® working.
The current 'release' code for the MicroSquirt® controller is V3.780.
The 'ready to load' .s19 file for uploading to MegaSquirt-II(CAN) is here:Monitor_V3.780.abs.s19
(Right click and 'Save As')
For the V2.890 code, you will need to download and activate the latest megasquirt-II_3780.ini file (right click the link and 'save as' to your project folder, then rename it to 'megasquirt-II.ini').
You will also want to copy the settings.ini file to your project's \mtCfg\ folder (usually 'C:Program Files\MegaSquirt\Car1\mtCfg\'). It will solve the "Conditional check references undefined value n2o" and "Conditional check references undefined value 'EXPANDED_CLT_TEMP'" errors.
You can also get the latest code and INI using the V2.0 downloader, which will get the code from the internet, and load the code to MicroSquirt® as well as installing/activating the matching INI. There's more info here: www.megamanual.com/ms2/downl2.htm
To load the .S19 file to your MicroSquirt® over the serial port, you need to use Eric Fahlgren's latest MegaSquirt-II downloader program (click the link to download).
To use the downloader.exe:
See the readme file in the downloader package for more details.
- Power down MegaSquirt® EFI Controller,
- Ground the bootloader wire (Ampseal pin #15).
- Power up your MicroSquirt® controller.
- Start the downloader program (make sure TunerStudioMS is not running), and select the appropriate COM port. Note that 'File/Update' does not work on the downloader to fetch the latest code and INI anymore. You can get the latest code and matching INI from this link: www.megamanual.com/ms2/code.htm
- Select the appropriate .S19 file using 'File/Open', and the downloader will read, write and verify the code to the processor in about 10 seconds or so. If you have a problem connecting to the controller, see the tips here: www.megamanual.com/connect.htm
- The process ends with a message like "Verification succeeded, 999 records total (4 skipped)."
- Shut down the downloader program.
- Remove power from your MicroSquirt® controller.
- Remove the bootloader wire from its ground connection.
- Start the tuning software (TunerStudioMS) and set the COM port and speed if necessary.
- You will need to download and activate the latest INI file. Under the 'File/Project/Project Properties' of TunerStudio, click on the Other check box.
- Click the 'Browse' button.
- Locate the INI file you downloaded for the link above (www.megamanual.com/ms2/code.htm).
- Click on the appropriate INI file you download from the code page (www.megamanual.com/ms2/code.htm) to activate it.
You should recreate your settings file from scratch by entering the values by hand into MegaTune.
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.
©2005, 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.