MS2/Extra beta 18,19 slow download firmware

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

MS2/Extra beta 18,19 slow download firmware

Post by jsmcortina »

EDIT: Split this topic from the Miata 99-00 one as this is a general question.
AbeFM wrote:Any idea on how to get faster downloads? 45 minutes to transfer it seems slow.
Transfer what from where to where?

James
Last edited by jsmcortina on Tue Jan 22, 2008 3:39 pm, edited 1 time in total.
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".
md95
Master MS/Extra'er
Posts: 721
Joined: Tue Mar 15, 2005 6:44 pm
Location: Grand Rapids, MI
Contact:

Post by md95 »

jsmcortina wrote:
AbeFM wrote:Any idea on how to get faster downloads? 45 minutes to transfer it seems slow.
Transfer what from where to where?

James
If he is talking about the actual downloading of firmware to the chip, i noticed this as well..it took 30-45 minutes to download beta18 to my MS2 chip..i wondered what was up with that..i thought it was my laptop or something..I never did check into yet though..I thought it may be because i'm using a Mac running windows xp through bootcamp..but i dont think so..maybe a setting got messed up..I havent tried downloading new firmware since. If thats how long the new betas are supposed to take, then fine, but if not, then i need to figure out what the deal is.
-Matt-
1998 Mitsubishi Eclipse RS 420A Turbo- MS2 Extra- 2.1.0 Release
1992 Plymouth Laser RS 4g63 AWD Turbo MS2 Extra- 3.0.3s
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

45 MINUTES ? What ?!?!??

37 seconds here.

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".
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

More carefully timing it put it in the 35-40 minute range. Not pleseant doing it 4 times in one night trying to test what makes this take a dive.

It's running pretty well, but very rich in the midrange, still working at it. Even my press-in-input circuits are working.


BTW, James, do you want anything else for looking at these files? I'll try to generate it for you.
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
md95
Master MS/Extra'er
Posts: 721
Joined: Tue Mar 15, 2005 6:44 pm
Location: Grand Rapids, MI
Contact:

Post by md95 »

jsmcortina wrote:45 MINUTES ? What ?!?!??

37 seconds here.

James
Haha, yep, it took that long..it burned fine and everything, just took forever..never had a problem before. This was a brand new MS2 chip, loaded the bootloader, then beta 18. Something wasnt right, just dont know what would cause it.. It all works fine though..strange..only thing i can think of is if my COM port settings got messed up and set back to MS1 standards..I use a USB port replicator, and i have 2 USB ports on my laptop side by side..maybe i used the wrong one..
-Matt-
1998 Mitsubishi Eclipse RS 420A Turbo- MS2 Extra- 2.1.0 Release
1992 Plymouth Laser RS 4g63 AWD Turbo MS2 Extra- 3.0.3s
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Shame nobody mentioned this with beta18.

I changed download-ms2-firmware.bat to add the debug/verbosity option.

What debug option do you choose ?

I tested here with option 1 and it is as fast as normal. With option 3 it takes a few minutes.

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".
md95
Master MS/Extra'er
Posts: 721
Joined: Tue Mar 15, 2005 6:44 pm
Location: Grand Rapids, MI
Contact:

Post by md95 »

jsmcortina wrote:Shame nobody mentioned this with beta18.

I changed download-ms2-firmware.bat to add the debug/verbosity option.

What debug option do you choose ?

I tested here with option 1 and it is as fast as normal. With option 3 it takes a few minutes.

James
4 posts down in the beta18 thread..i mentioned it, but nobody said anything about it? I just thought it was me, and my setup/computer or something..Now that abe had the same isssue, makes me wonder what it was. At least i know this isnt right :)
-Matt-
1998 Mitsubishi Eclipse RS 420A Turbo- MS2 Extra- 2.1.0 Release
1992 Plymouth Laser RS 4g63 AWD Turbo MS2 Extra- 3.0.3s
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Ah yes, I see your post now.

What commandline is the batch file using to make the download happen? It will print this as it starts downloading.

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".
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

I'd seen it a couple times in various threads, so I just figured it was an ignored issue. Too bad, since my computer ate itself again.
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

ms2dl.exe -d 0 -v 0 -r ms2dl.exe -j -c1 ms2extra.s19

My ini was writblocks off, delay 5, changed it to on, delay 1, it's been five minutes and it's not done and I'm leaving. :-)
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Writeblocks is a directive to Megatune. It has nothing to do with the firmware download process.

What happens if you choose one of the debug options in the download batch file?

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".
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

They all seem to work.

The first time I did it, I was excited like I found a problem since it said voltage too low for a reliable burn in MT, and then it said it couldn't connect in the downloader. Then I plugged in the serial cable. :-)

Everything seemed fine (not that I know what to look for), just a long series of data sent, data returned, at about the same candance (just over 1-2hz). It said it was successful, and it seemed to be.

I've done it with the serial buffers on, off, high, and low... No difference.
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Try copying the download-MS2-firmware.bat from beta17 and overwriting the one in beta19 and let use know the outcome.

I tested the revised batch file numerous times when I re-wrote it and a number of times last night to confirm.

I've never had a download take long. Seeing as I download code 10+ times in a typical development evening, long downloads would cause a major slowdown in work.

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".
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

For me, it's ALWAYS been slow. I've installed b15,16,17 and 18. And maybe 14?

So I wouldn't expect it to go faster then. But it could be my USB dongle thing?
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Please try regular MS2 using the graphical downloader.

If that is super-slow as well then something is seriously wrong with your serial comms and could be the cause of many other problems as well.

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".
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

Pardon my ignorance, but what graphical downloader? And, can I get this to work for the MS-2x stuff?
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
offtrack
Helpful MS/Extra'er
Posts: 65
Joined: Wed Jan 09, 2008 6:41 pm
Location: Puget sound, and Peru. yah 2 homes.
Contact:

walk then run.

Post by offtrack »

"i'm using a Mac running windows xp through bootcamp." wow !


if you have comm problems,
try using a PC ATX Desktop. with a real RS232 port.
running 98SE, w2k,or xp directly , bootcamp is translator and is slow.
Windows emulation is very slow. ( and problematic by nature)

then after that works , try something stranger like a laptop.

many lap tops have non compliant RS232 ports.
levels wrong, and clock accuracy compromised ( cost savings)
many Laptops are rated at 20k baud max ! ( look it up)

on any platform:
make sure there are no serial mouse code running on the Com ports in device manager.
then make sure the IRDA , port is turned off in the BIOS.
and that the COM1 port is enabled in the BIOS page, not disabled.

having a dual boot setup with a clean load of XP will help too.
call the second XP boot, XP MS2. ( easy to do)


to get my Laptop DELL CPX running I had to buy a 15mbps PCMCIA/Cardbus fast RS232 port. (fleebay)
with this port I never get errors or delays.

you can also download a free comm port loop back program .
you short pins 2 to 3 and set the baud real high and test the port
if it doesnt work, then it is bad, fix the port or the offending programs loaded in memory of the PC. (look FOR interrupt conflicts in INT.3 AND 4)

if you can't find this program , just contact me. Happy to help.
the Old semtel site had these for 20 years now. before the NET.


run a com port test is the best advice, you will ever get.
trust me. been doing this since 76' on CAI naked mini's.
History: the orginal IBM PC XT came with the loop back plug and prog.
1981


best wishes.
MS2V3+msextra,beta21+
DiyAutotune! < the best!
custom pnp harness done, default timings.
idles, cool, tripadation sets in, MLV soon.
2 years till retirement, then doing MS on wifes family cars. for economy $7 gallon fuel.
offtrack
Helpful MS/Extra'er
Posts: 65
Joined: Wed Jan 09, 2008 6:41 pm
Location: Puget sound, and Peru. yah 2 homes.
Contact:

http://interface.centraltreasure.com/free_comport_software.h

Post by offtrack »

http://interface.centraltreasure.com/fr ... tware.html

try this with the special plug.

note the mention of hiserial.sys file.
this will allow perfect coms on certain rs232 chips sets.

as you can see , it always does not work at 115.2k baud.

depend on the hardware.

start here and you will get results.
MS2V3+msextra,beta21+
DiyAutotune! < the best!
custom pnp harness done, default timings.
idles, cool, tripadation sets in, MLV soon.
2 years till retirement, then doing MS on wifes family cars. for economy $7 gallon fuel.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I'm actually occasionally run a mac with bootcamp running windows XP, and have never had a problem with serial comms.

Ken
md95
Master MS/Extra'er
Posts: 721
Joined: Tue Mar 15, 2005 6:44 pm
Location: Grand Rapids, MI
Contact:

Post by md95 »

muythaibxr wrote:I'm actually occasionally run a mac with bootcamp running windows XP, and have never had a problem with serial comms.

Ken
Yeah this macbook is new, but i did use it before this last beta18 to upload code to the MS2, and it worked fine. I think it was beta 17, or the test code for the 420a when James reworked it for single edge only. I've never had a problem using the mac through windows xp to burn data, or anything like that. It's worked perfectly. I use a Targus USB Port Replicator, and that has served me well too. Never an issue. I really think what happened was that i used the wrong USB port, but i dont know for sure. I'll have to try to upload code again and see what happens. Maybe i'll just upload beta18 again to the chip for a test.
-Matt-
1998 Mitsubishi Eclipse RS 420A Turbo- MS2 Extra- 2.1.0 Release
1992 Plymouth Laser RS 4g63 AWD Turbo MS2 Extra- 3.0.3s
Post Reply