Programming MS1 firmware on Linux - How to

All Megasquirt 1 support questions. See also the Documentation

Moderators: jsmcortina, muythaibxr

Post Reply
Trev16v
Master MS/Extra'er
Posts: 420
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Programming MS1 firmware on Linux - How to

Post by Trev16v »

These are my notes on programming MS1 firmware under Linux (specifically Linux Mint in my case). I'm posting these in case they're any help to anyone and for future reference.

First Install wine.

Wine seems to run with DOSBox, and execution of the download-firmware.bat runs too fast to allow you to select a COM port before it defaults to COM1. I couldn't be bothered trying to fix that. Instead I just ensured that a symlink had been set up to point the USB-serial device file at COM1. First determine the USB device's name. Plug in the USB-serial device and run:

Code: Select all

dmesg
Near the bottom of the output hopefully see something like ttyUSB0. Then create symbolic link between it and COM1:

Code: Select all

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
Now go into the extracted MS1 fimrware .zip and execute the .bat:

Code: Select all

wine start download-firmware.bat
It should run and detect your MS1 unit via the USB-serial interface after following the boot jumper instructions.
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Post Reply