How to install new firmware from Linux/OS-X systems
Moderator: djandruczyk
Re: How to install new firmware from Linux/OS-X systems
a little help please?
I just put together my MS2 V3.0 PCB from DIYAutotune, finally got my serial to usb connector to work right, tried to find the ms2extra firmware files, and upload them. I've tried a few ways now. From the terminal, from the megatunix firmware installer, heck, I even tried running programs through 'wine'.
a few times, after removing the boot jumper, and power cycling, all three leds lit up on my board, but just stayed lit, with no response to moving stimulator pots.
now, after trying this way again, no leds come on at all. And when I try to run megatunix, it just says there is no firmware! Aaarg! What am I doing wrong?
I got my .s19 files from the 'megatune_ms2_extra_release_v2.1.0_installer.exe' from the megasquirt faq.
I just put together my MS2 V3.0 PCB from DIYAutotune, finally got my serial to usb connector to work right, tried to find the ms2extra firmware files, and upload them. I've tried a few ways now. From the terminal, from the megatunix firmware installer, heck, I even tried running programs through 'wine'.
a few times, after removing the boot jumper, and power cycling, all three leds lit up on my board, but just stayed lit, with no response to moving stimulator pots.
now, after trying this way again, no leds come on at all. And when I try to run megatunix, it just says there is no firmware! Aaarg! What am I doing wrong?
I got my .s19 files from the 'megatune_ms2_extra_release_v2.1.0_installer.exe' from the megasquirt faq.
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
TheVinci wrote:a little help please?
I just put together my MS2 V3.0 PCB from DIYAutotune, finally got my serial to usb connector to work right, tried to find the ms2extra firmware files, and upload them. I've tried a few ways now. From the terminal, from the megatunix firmware installer, heck, I even tried running programs through 'wine'.
a few times, after removing the boot jumper, and power cycling, all three leds lit up on my board, but just stayed lit, with no response to moving stimulator pots.
now, after trying this way again, no leds come on at all. And when I try to run megatunix, it just says there is no firmware! Aaarg! What am I doing wrong?
I got my .s19 files from the 'megatune_ms2_extra_release_v2.1.0_installer.exe' from the megasquirt faq.
First:. jumper the bootloader jumper ON THE CPU CARD, not the one on the mainboard( thats for MS1 cpu's only). power cycle the megasquirt, start mtxloader and select "bootstrap.s19" from the files you have, click load. It should succeed. If so, REMOVE the boot jumper and power cycle the ecu, now select the main firmware .s19 file, and click load. This should take longer and finish successfully, close mtxloader, and power cycle your ECU. the new firmware is loaded.
NOTE: if you loaded a very recent firmware ( anything newer than ms2-extra 2.1.0d), you MUST be using a developmental version of megatunix pulled from git (modular_0.4 branch).
.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
I tried to upgrade a MS2extra using these instructions but I have been unable to get them to work.
I can't get the '!!' command to respond with a 'boot>' prompt.
The 'Q' and 'S' commands work and produce output if the baud rate is
set to 115200.
I imagine it could be some problem with character translation in Hyperterminal
but I haven't found a fix yet.
Any ideas?
I can't get the '!!' command to respond with a 'boot>' prompt.
The 'Q' and 'S' commands work and produce output if the baud rate is
set to 115200.
I imagine it could be some problem with character translation in Hyperterminal
but I haven't found a fix yet.
Any ideas?
Jeremiah Mahler
Msqdev (author) - Megasquirt development (tuning) system
http://github.com/jmahler/msqdev
Msqdev (author) - Megasquirt development (tuning) system
http://github.com/jmahler/msqdev
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: How to install new firmware from Linux/OS-X systems
That's because those are for MS1.mahler wrote:I tried to upgrade a MS2extra using these instructions but I have been unable to get them to work.
I can't get the '!!' command to respond with a 'boot>' prompt.
A Linux loader is included with recent firmwares. It requires to be run from the commandline
For intitial loading of the bootstrap with the jumper I use
./ms2dl_linux32bit -c /dev/ttyUSB0 -f bootstrap.s19
then remove jumper and powercycle
then:
./ms2dl_linux -c /dev/ttyUSB0 -j -f ms2_extra.s19
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: How to install new firmware from Linux/OS-X systems
Thanks James, those work great.
Jeremiah Mahler
Msqdev (author) - Megasquirt development (tuning) system
http://github.com/jmahler/msqdev
Msqdev (author) - Megasquirt development (tuning) system
http://github.com/jmahler/msqdev
-
- Helpful MS/Extra'er
- Posts: 103
- Joined: Fri Oct 14, 2005 1:14 pm
- Location: Phoenix, AZ
- Contact:
Re: How to install new firmware from Linux/OS-X systems
Thanks Dave! These directions using Minicom on my MS1 system worked like a charm. These directions should be in the MSnS-Extra manual somewhere.
Jaguar E-Types, modified Merkur XR4Ti, Jensen-Healey
Linux = no virii or spyware, EVER
Linux = no virii or spyware, EVER
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
StevenD57 wrote:Thanks Dave! These directions using Minicom on my MS1 system worked like a charm. These directions should be in the MSnS-Extra manual somewhere.
MegaTunix comes with a pair of loader tools (CLI and graphical) for MS1 and MS-2 firmwares. It would be advisable to use the development code on linux right now as that is the latest and least trouble free.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
use gentoo, I mounted the module for a usb / serial, Firewire ms2extra_3.1.1_release downloaded the ...
typing ./ms2dl_linux32bit-c = / dev/ttyS0-f = ms2_extra.s19
get
Could not open serial port: = / dev/ttyS0 ... exiting
I have a MS2 V.3.
doing research I saw megatunix with Ubuntu, it is, does it work?
typing ./ms2dl_linux32bit-c = / dev/ttyS0-f = ms2_extra.s19
get
Could not open serial port: = / dev/ttyS0 ... exiting
I have a MS2 V.3.
doing research I saw megatunix with Ubuntu, it is, does it work?
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: How to install new firmware from Linux/OS-X systems
Use the current firmware as the zip includes an interactive Linux firmware loader.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
If you have megatunix built and installed (see the installing megatunix on ubuntu thread) you can run "msloader ms2 /dev/ttyS0 /path/to/your/s19/file" This assumes you are using a hardware serial port (built into your motherboard/computer, and it's serial port 1 (COMM1 under windows) Alterntively you can use mtxloader if you want a graphical application, no CLI options needed for this one, its all pick and choose in the UI. If you are using a USB to serial adapter, the port name is USUALLY /dev/ttyUSB0.bi-andrea wrote:use gentoo, I mounted the module for a usb / serial, Firewire ms2extra_3.1.1_release downloaded the ...
typing ./ms2dl_linux32bit-c = / dev/ttyS0-f = ms2_extra.s19
get
Could not open serial port: = / dev/ttyS0 ... exiting
I have a MS2 V.3.
doing research I saw megatunix with Ubuntu, it is, does it work?
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
reading the guides, there is a bridge to install the boot firewallle, what?
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
Not sure I understand your language, but if you're referring to the boot jumper on the board, that may be required depending on what firmware is on the device, typically, if I want to make sure the device is completely wiped, I would first power off the MS, jumper the boot jumper on the MS2 cpu card, power up the MS, load "bootstrap.s19", make sure it loads with no error, power off MS, remove jumper, power on and then load the main firmware file. The boot jumper is needed if the device has corrupted the firmware (or was only partially loaded due to a serial dropout or other issue)., once the MS2-Extra firmware is in place the jumper is not usually needed any longer.bi-andrea wrote:reading the guides, there is a bridge to install the boot firewallle, what?
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
MegaTunix Firmware Loader I created this post
As I see jumpers BOOTLOADER ENTRY 1-2 near the ECU, an ECU in jamper backs off and jamper CTS-RTS.
On what jamper I have to work or follow a sequence to enter the firmware
Code: Select all
Port successfully opened
Firmware file successfully opened
Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Attempting Wakeup...
error reading errorCode
error reading statusCode
error reading prompt
Error code 0x00
Prompt was expected to be ">" but returned as "Could not wake up processor, try jumpering
the boot jumper and power cycling the ECU...
On what jamper I have to work or follow a sequence to enter the firmware
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
bi-andrea wrote:MegaTunix Firmware Loader I created this postAs I see jumpers BOOTLOADER ENTRY 1-2 near the ECU, an ECU in jamper backs off and jamper CTS-RTS.Code: Select all
Port successfully opened Firmware file successfully opened Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Attempting Wakeup... error reading errorCode error reading statusCode error reading prompt Error code 0x00 Prompt was expected to be ">" but returned as "Could not wake up processor, try jumpering the boot jumper and power cycling the ECU...
On what jamper I have to work or follow a sequence to enter the firmware
When you jumper the pins on the MS2 card, you need to POWER CYCLE the ecu (turn off, then turn on), THEN attempt to load the firmware, if it doesn't work on the first try, try again.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
I did it with minicom to load the firmware 3.2.1_release configure it according to your first post.
How Jamper I used the "bootloader entry" and get Jamper the ECU.,
Now it is Megatunix that TunerStudio do not see the firmware, why?
How Jamper I used the "bootloader entry" and get Jamper the ECU.,
Now it is Megatunix that TunerStudio do not see the firmware, why?
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
You cannot load ms2 firmware with minicom, you need to use msloader or mtxloader.bi-andrea wrote:I did it with minicom to load the firmware 3.2.1_release configure it according to your first post.
How Jamper I used the "bootloader entry" and get Jamper the ECU.,
Now it is Megatunix that TunerStudio do not see the firmware, why?
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
Re: How to install new firmware from Linux/OS-X systems
how?
but if I saw that there were ...
in short, all over again
but if I saw that there were ...
in short, all over again
Re: How to install new firmware from Linux/OS-X systems
I also tried setting minicom to mtxloader, minicom fails to load, while Megatunix and TunerStudio do not see the firmware.
I have a suspicion, but I put the 3.2.1_release both tuning tools do not see a vaolre so high.
If I use the version of the firmware ms2extra_2.1.0e_release_20100822
for a sequence of a 4-cylinder, the same can?
I have a suspicion, but I put the 3.2.1_release both tuning tools do not see a vaolre so high.
If I use the version of the firmware ms2extra_2.1.0e_release_20100822
for a sequence of a 4-cylinder, the same can?
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: How to install new firmware from Linux/OS-X systems
bi-andrea wrote:I also tried setting minicom to mtxloader, minicom fails to load, while Megatunix and TunerStudio do not see the firmware.
I have a suspicion, but I put the 3.2.1_release both tuning tools do not see a vaolre so high.
If I use the version of the firmware ms2extra_2.1.0e_release_20100822
for a sequence of a 4-cylinder, the same can?
I don't understand what you're saying...
Really simple method:
jumper the boot jumper on ms2 daughter card
power up ms2
on host computer run "msloader ms2 /dev/ttyUSB0 /path/to/bootstrap.s19"
wait untill it completes successfully
remove boot jumper on ms2 daughter card
power cycle ms2
on host computer run "msloader ms2 /dev/ttyUSB0 /path/to/firmware.s19"
wait until it completes successfully
NOTE: if your serial port is not /dev/ttyUSB0 replace the string in the above commands with the right port, make sure your user account has permissions to read and write to that port, or use "sudo" in front of the above commands. Adjust the paths to the s19 files as appropriate for your system.
minicom is ONLY and I REPEAT ONLY for MS1 devices, and even that has been supplanted by msloader or it's gui cousin mtxloader, which can handle both MS1 and MS2 (not MS3 due to what seems to be a locked bootloader).
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: How to install new firmware from Linux/OS-X systems
What is locked about the MS3 bootloader?
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".