Page 1 of 1
stuck at loading code step 40
Posted: Wed Oct 16, 2013 4:52 pm
by dudok
Hi and thanks in advance for any and all help.
I am stuck trying to load the code at step 40. Assembling MSII V3.0 and all has tested as it should as I have gone along (loopback etc.). I am using an old laptop with a serial connection. Comm1 is set right in device manager. Run the loader and it gets to 35% loaded and then "could not read status code" error (sometimes it is different, "command not recognized" or "stack pointer out of range") Jumper is on and have 12volts at the stim. Have gone back through the testing and other troubleshooting tips and everything checks out. Solder joints look good. Used my sons new laptop with usb to serial connector and I am getting the same results.
With Tunerstudio the "test port" says failed, but the "detect" says it found a controller at Comm 1 but it has no firmware loaded. How come Tunerstudio can find it but the loader cannot load the firmware after it opens Comm 1?
Any thoughts?
Re: stuck at loading code step 40
Posted: Thu Oct 17, 2013 7:04 am
by Matt Cramer
Can you post a screen shot of exactly what happened?
Re: stuck at loading code step 40
Posted: Thu Oct 17, 2013 3:39 pm
by dudok
Here is what I get:
MegaSquirt Download 2.00
Reading C:/Program Files/MegaSquirt/Firmware/MS-II/C32/Monitor_v3.830a.abs.s19:
Detected MS-II (HCS12) code.
Entry point: 0x0000
Code range : 0x4000-0x3dbfc0
File read successfully.
Opened comm port 1 at 115200.
Erasing main FLASH:
Erased.
Writing:
Setting page register 0x38:
Page set.
Erasing page 0x38:
Erased.
ERROR: Timed out reading response, 0xE0
Elapsed time: 6.69 seconds
Re: stuck at loading code step 40
Posted: Fri Oct 18, 2013 4:53 am
by Matt Cramer
Will it load the 2.9x series code?
Re: stuck at loading code step 40
Posted: Fri Oct 18, 2013 6:35 am
by dudok
Will try that and let you know.
Re: stuck at loading code step 40
Posted: Fri Oct 18, 2013 10:43 am
by dudok
That worked first try! What gives? What do I do now? Try and overwrite it with the right code?
Re: stuck at loading code step 40
Posted: Mon Oct 21, 2013 5:39 am
by Matt Cramer
Yes, I'd try that, although if you're not running a missing tooth trigger wheel, you might want to stick with the 2.9x code.
Re: stuck at loading code step 40
Posted: Mon Oct 21, 2013 6:33 pm
by dudok
I am running a missing tooth wheel.
When I try to reload the code I get this now:
MegaSquirt Download 2.00
Reading C:/Program Files/MegaSquirt/Firmware/MS-II/C32/Monitor_v3.830a.abs.s19:
Detected MS-II (HCS12) code.
Entry point: 0x0000
Code range : 0x4000-0x3dbfc0
File read successfully.
Opened comm port 1 at 115200.
Erasing main FLASH:
Erased.
Writing:
Setting page register 0x38:
Page set.
Erasing page 0x38:
Erased.
ERROR: Stack pointer out of range, e=0xE3
Elapsed time: 6.79 seconds
Re: stuck at loading code step 40
Posted: Tue Oct 22, 2013 5:09 am
by Matt Cramer
How about the MS2/Extra code? Does it load? (Note that it has a separate support forum at MSExtra.com and its own download utility.)
Re: stuck at loading code step 40
Posted: Tue Oct 22, 2013 4:06 pm
by dudok
Just tried loading the MS2/Extra code and it loaded fine first try.
Re: stuck at loading code step 40
Posted: Tue Oct 22, 2013 6:30 pm
by bleoh
Just FYI, I have had problems with the 2.0 loader on my old laptop with serial port. I went back to the 1.04 loader and it seemed to work fine. My error was always with the verification part of loading the code.
Brian
Re: stuck at loading code step 40
Posted: Wed Oct 23, 2013 12:16 pm
by dudok
How do I go about finding 1.04 loader. The link for the loader just starts a download of 2.0?
Re: stuck at loading code step 40
Posted: Fri Oct 25, 2013 9:11 am
by dudok
Well, I cannot find loader 1.04. I guess I need to assume that the daughterboard is corrupt? Others do not seem to be having this issue. Should I contact the seller about replacing it or seeing what is up with it???
Re: stuck at loading code step 40
Posted: Fri Oct 25, 2013 9:25 am
by trakkies
I doubt many still use an old laptop with a serial connection. Depending on just how old, you may find it's not much used for logging when you get MS up and running. That made me ditch mine. Although I'd not tried loading code with it - I use a reasonably recent desktop with serial port for that.
Re: stuck at loading code step 40
Posted: Mon Oct 28, 2013 5:15 pm
by bleoh
I have the 1.04 file. PM me your email and I will send it to you.
Brian.
Re: stuck at loading code step 40
Posted: Thu Oct 31, 2013 9:34 am
by Bernard Fife
dudok,
The MS-II controller doesn't have the correct bootloader code for loading 3.8xx code. Changing the PC downloader software version number isn't going to help.
MicroSquirt controllers have the correct bootloader installed for installing any code, including 3.8xx (as well as the earlier 2.9xx, etc.). MicroSquirt controllers have an extra input (cam position) and an extra ignition output allowing MicroSquirt controllers to do wasted spark on a 4 cylinder engine, or sequential/COP on a 2 cylinder, so they can benefit from the 3.8xx series of codes.
MS-II processors don't have the latest bootloader installed because there is no real gain in using 3.8xx code over 2.9xx code when installed on an MS-II.
So stick to the 2.9xx code - it can run a missing tooth wheel (all B&G code since 2.360 can do this).
In theory the latest bootloader can be installed on an MS-II, but you need an rather expensive BDM cable, plus the compiled bootloader S19 itself (it isn't publicly available, because it would let unscrupulous people rip of the MicroSquirt hardware).
Lance.
Re: stuck at loading code step 40
Posted: Sat Nov 02, 2013 7:11 am
by dudok
Lance, thanks so much and you are right the other loader did not work. Again thanks.