How to upload code

A forum for discussing the creation, modification, and loading of embedded code for B&G MS-I/MS-II.
Forum rules
Read the manual to see if your question is answered there before posting. Many users will not reply if the answer is already available in the manual.

If your question is about troubleshooting, configuration, or tuning, you MUST include your processor type (MS-I or MS-II) and code version in your post. If your question is about PCB assembly or modifications, you must also include the main board version number (1.01, 2.2 or 3.0).

If you have questions about MS1/Extra or MS2/Extra code configuration or tuning, please post them at www.msextra.com Such questions posted here will be moved to: a temporary MSextra sub-forum, where they will be removed after 7 days

The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
my0wn3ds
Helpful Squirter
Posts: 37
Joined: Fri Dec 03, 2010 4:10 am

How to upload code

Post by my0wn3ds »

Can't understand how to upload code without Stim.
What does it mean "Power Up" or "Power Down" MegaSquirt® EFI Controller without Stim and without car?
Can I upload code at home (without car)?
Is it possible?

MS Code Update utility wrote:
For pre-Extra MS-II:
1) Short the "B/LD" jumper on the MS-II board.
2) Power cycle MS-II.
3) File->Open.


MS-II, ver3.0
94'Mustang 302 swap/4BBL, 87'Cougar XR-7 289 swap/turbo project
trakkies
Super Squirter
Posts: 1162
Joined: Tue Dec 30, 2008 3:06 am
Location: SW London, UK

Re: How to upload code

Post by trakkies »

The stim is a convenient way of powering the MS out of the car. If you wish to power the MS without a stim, you'll need to make up a power lead using a DB37 connector - or solder tails onto the back of the MS one.
Dave P, London UK.
Rover V-8
MSII V3
EDIS
Tech Edge Wideband
my0wn3ds
Helpful Squirter
Posts: 37
Joined: Fri Dec 03, 2010 4:10 am

Re: How to upload code

Post by my0wn3ds »

trakkies wrote:The stim is a convenient way of powering the MS out of the car. If you wish to power the MS without a stim, you'll need to make up a power lead using a DB37 connector - or solder tails onto the back of the MS one.
Do I need to power +12V to pin #37 on DB37 connector?
And ground to the case?
94'Mustang 302 swap/4BBL, 87'Cougar XR-7 289 swap/turbo project
trakkies
Super Squirter
Posts: 1162
Joined: Tue Dec 30, 2008 3:06 am
Location: SW London, UK

Re: How to upload code

Post by trakkies »

my0wn3ds wrote:
trakkies wrote:The stim is a convenient way of powering the MS out of the car. If you wish to power the MS without a stim, you'll need to make up a power lead using a DB37 connector - or solder tails onto the back of the MS one.
Do I need to power +12V to pin #37 on DB37 connector?
And ground to the case?
I don't want to be rude, but are you sure you're up to this?
Dave P, London UK.
Rover V-8
MSII V3
EDIS
Tech Edge Wideband
grippo
Site Admin
Posts: 286
Joined: Mon Feb 16, 2004 6:55 pm

Re: How to upload code

Post by grippo »

To power up MS2 in the house, you need to find the +12V battery pin and battery ground pin on the MS2 DB37 connector(see schematics in megamanual) and attach a wire to each of these pins and plug the other ends of the wire into a 9 to 12V battery or a 12V walwart (better) or other DC power supply. Using the stim you just plug its DB37 into the MS2 DB-37, then on the stim there is a small block terminal with +12V and Grnd. That is what makes it easy. You just shove a wire in each terminal and tighten the screws, then the other ends go to a battery or P/S. Plus it has the advantage that you can simulate your engine and be sure your setup works. Better to find your PW is 32 ms at 600 rpm on the bench than flooding your engine.

Once you have that hooked up you run a serial cable from laptop to ECU, just like in your car. You "power up/ down" by unplugging the walwart/ power supply/ battery then reconnecting. You have to do this because when the ECU comes up it looks for the bootload pin state and if it doesn't find it set for booting it goes permanently into engine run mode. To get it into or out of bootload you need to power up/ down.
my0wn3ds
Helpful Squirter
Posts: 37
Joined: Fri Dec 03, 2010 4:10 am

Re: How to upload code

Post by my0wn3ds »

grippo

Thank you very much.
I have car's accumulator at home now and can use it.

trakkies
I just want to prepare MS in advance, because I have no internet at my parking place.
94'Mustang 302 swap/4BBL, 87'Cougar XR-7 289 swap/turbo project
my0wn3ds
Helpful Squirter
Posts: 37
Joined: Fri Dec 03, 2010 4:10 am

Re: How to upload code

Post by my0wn3ds »

Another question about ground wiring.

Here is standard external wiring from megamanual
http://www.megamanual.com/ms2/V3assemble.htm
http://www.megamanual.com/ms2/v3ext_wiring.gif
Ground pins are 8, 9, 10, 11, 18, 19

And this is the paper external wiring shot from DIY kit
http://www.carlibrary.ru/temp/ms2/3.0ex ... paper).jpg
Ground pins are 7, 8, 9, 17, 18, 19

What's the difference?
94'Mustang 302 swap/4BBL, 87'Cougar XR-7 289 swap/turbo project
my0wn3ds
Helpful Squirter
Posts: 37
Joined: Fri Dec 03, 2010 4:10 am

Re: How to upload code

Post by my0wn3ds »

Matt Cramer, thanks for answer
The ECU has several extra ground pins - pins 1, 2, and 7 through 19 are
all grounded to the same point. As long as 5 or more are grounded, it
doesn't matter which pins you use.
94'Mustang 302 swap/4BBL, 87'Cougar XR-7 289 swap/turbo project
Post Reply