|
Megasquirt 3 - Beta code |
Some basic steps for setting up the Beta code on your MS3.
These documents are very brief at this stage, input on areas that need clarification welcomed.
1. Install the latest TunerStudioMS if you do not already have it (setup page)
Windows steps 2,3,4,5
2. Create a folder/directory for MS3. e.g. C:\MS3
(Use "My Computer" or "Windows Explorer", open Local Disk C: and Create New Folder, name it MS3).
3. Optionally - download the command-line firmware loader ms3loader_win32.exe Right click and Save-As into the C:\MS3 folder.
4. Fetch the latest s19 and ini files in a zip from the Beta Code file area and save into C:\MS3 Use your zip utility to extract using folder names. The latest zips include the windows loader.
5. The download utility is text based. Browse to the C:\MS3 directory and double-click on ms3loader_win32.exe (Or open up a Command Prompt/Cygwin cd to the correct directory and key in ms3loader_win32)
Typically, you only need to check you serial comm port. You can usually just press Enter on the other selections.
Example:
| Megasquirt-3 Firmware Loader 3.04 2009-09-15
Serial device: Enter a comm port number (default 1): File to upload (default: ms3.s19): Debug Level: 0: quiet 1: Some progress 2: Full progress 3: + serial comms 4: + the s19 as parsed 5: + comments Selection (default: 1): First time loading firmware (or using boot jumper) (y/n, default: n)? Attempt to preserve msq, sensor calibrations, and I/O pin states (y/n, default: y)? ======================================================== Settings selected: Serial port: com1 S19 file: ms3.s19 Debug level: 1 Jumperless reflash enmabled Attempting to preserve msq, calibrations, I/O pin states ======================================================== Press enter to continue... Fetching format Sending jumperless flash command Attempting Wakeup... Status code 0x08 Got Prompt, continuing... Fetching port states Fetching sensor calibrations. Checking flash status. Status ok. Erasing main FLASH Waiting... Waiting... Waiting... Waiting... Waiting... Erased. Sending record 0 Skipping block 0000 Sending record 100000 Sending record 104000 Sending record 7d8000 Sending record 7da000 Sending record 7dc000 Sending record 7de000 Sending record 7e0000 Sending record 7e2000 Sending record 7e4000 Sending record 7e8000 Sending record 7ec000 Sending record 7ee000 Sending record 7f0000 Sending record 7f2000 Sending record 7f4000 Sending record 7f8000 Sending record 7fa000 Sending record 7fc000 Sending record 7fe000 Sending record c000 Sending port states Sending sensor calibration Wrote 142229 bytes. Press Enter to continue... |
Skip to step 10.
Linux steps 6,7,8,9
It is assumed you'll be using the command line here.
6. Create a directory for MS3. e.g. ~/ms3
mkdir ms3
7. Download the command-line firmware loader ms3loader Right click and Save Link As into the ms3 directory.
8. Fetch the latest s19 and ini files in a zip from the Beta Code file area and save into the ms3 directory. Extract the zip.
9. cd to the correct directory and key in the following.
./ms3loader
The program runs the same as the windows version, so see above for an example of typical output.
Typically, you only need to check you serial comm port. You can usually just press Enter on the other selection.
If this takes long than ~45 seconds then you likely need to adjust the port settings of your USB-serial adapter to reduce the latency setting. For the FTDI built in device, try the following.
echo 1 > /sys/bus/usb-serial/devices/ttyUSB1/latency
All continue here
10. In TunerStudio create a new project for MS3. You will need to use the latest ini file that you downloaded in (3).
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.
11. It is important that your Stim rpm is set to zero until you have configured your trigger settings.
12. As this is beta testing, it is possible that you may find oddities, please report any issues on the forum ASAP.
If you have a question, comment, or
suggestion for this FAQ please post it on the forum.
(C)2009 James Murray