History of StepByStepGuide/Software


Changes by last author:

Added:
Step By Step Guide for Software

The intent of this page is to setup the board up with the latest firmware and setting your pc up with the software to start tuning

-----

You will need to download these items into a folder of your choice. I suggest picking one root folder and each download a seperate folder underneath that one so you can find it again.

*Latest stable firmware release is on[FirmwareChanges] page no direct link is provided as the release number changes

*Unzip it

*[Megaloader] provide functionality of flashing system and uploading configuration and tables

*unzip it

*copy megaloader.exe to your firmware directory created when you unzipped the file in the previous step

*Tuning Software

**[MegaTunix/Win] is a good choice, follow the instructions for downloading it.

** Currently the instructions are

*** Download the GLADE enviroment

*** Download and Go version.

* Required infrastructure software: Perl is used to create the table.mtt and config.mtt files to be uploaded into the VEMS. This may get incorporated into megaloader later but right now this is what you have to do.

**See the wiki [Perl ]for Windows page for details on how to get it installed

-------

Now the basics software is installed. Its time to move onto programming the VEMS board!

The version of firmware you downloaded has Marcell's config and tables with it in the ..\firmware\etc\ directory. As a good starting poing to look at the features and practice uploading his config is a good idea. REMEMBER this is for TESTING the uploading method. You will have to configure it for you particular setup.

*Uploading latest stable firmware

** Make sure all terminals, Megatune, Megatunix etc is off and closed that you may have used to try and talk to the VEMS with

* [start]- - > [run] - - > [cmd] (type cmd in that box you'll get a dos prompt)

change directories the firmware directory where you already copied megaloader.exe to

** type:megaloader.exe vems.hex -twE

** The response you see should be [insert scrn dump]

* Now were going to practice uploading tables and configurations

** Once again your in the /firmware directory

***type: megaloader -d etc/config.mtt

***You should see [screendump]. This means you successfully uploaded the configuration

***type: megaloader -d etc/tables.mtt [screendump]

***You should see [screendump]. This means you successfully uploaded the configuration

*Now you are free to look at it with MegaTunix

------

Now its time to build your configuration and Tables

*see [InitialConfig] about editing the config file

*see THIS PAGE about tables file

After you have edited your config.txt and tables.txt in the \firmware\etc directory to your liking. You can always post them to your personal page on the wiki and have somebody look at it.

* Once again your in the /firmware directory

**type: makemtt.bat

**This command makes the tables.mtt and config.mtt that have to be uploaded into the VEMS to make it work with your engine.

**You should see [screendump]. This shows that you successfully made your table.mtt and config.mtt

* Now you have to upload them to the VEMS board.

* Make sure all terminals, Megatune, Megatunix etc is off and closed or this wont work

* [start]- - > [run] - - > [cmd] (type cmd in that box you'll get a dos prompt)

change directories the firmware directory

* Now were going to upload your tables and configuration

** Once again your in the /firmware directory

***type: megaloader -d etc/config.mtt

***You should see [screendump]. This means you successfully uploaded the configuration

***type: megaloader -d etc/tables.mtt [screendump]

***You should see [screendump]. This means you successfully uploaded the configuration

-------

Now that you can make and upload config files what are the basics that you need to get started. (partial list only)

System Definitions

* Trigger type: VR, Hall, crank & cam etc.

* Fuel injection type: batch, sequential, High or Low Impedance injectors

* Ignition type: fuel only, Dummy, CoilOnPlug, etc

* Oxygen sensor Type, Narrow band, or WideBand (LSU4 recommended)

* Throttle Position Sensor (TPS) calibration

* Map sensor type

* Coolant sensor type

* Intake Air Temp Sensor

Startup stuff

* Fuel Pump control

* Priming Pulse

* Crank Pulse Definition

* Afterstart enrichment (choke)

* Warmup Definitions

* Fast idle

* IAC type and setup

Engine Running Definitions

* Rev limiter

* accelerator pump based on rate of change of TPS

* deceleration fuel cut

* Temp Coolant turn on temp

* Knock setup

* EGO configuration for WBO2 sensor <-- Fixme

* WBO2 configuration for WBO2 sensor

Tuning Parameters

* VE learning

* LCD setup

* Keyboard Setup

Advanced Options

* WOT switch at an RPM threshold

* WOT switch

* RPM switch at RPM threshold (ie. shift light)

* RPM switch output channel selector --I could use some help here