stuck at loading code step 40
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.
stuck at loading code step 40
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?
-
Matt Cramer
- Super Squirter
- Posts: 2951
- Joined: Sat Jul 03, 2004 11:35 am
Re: stuck at loading code step 40
Re: stuck at loading code step 40
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
-
Matt Cramer
- Super Squirter
- Posts: 2951
- Joined: Sat Jul 03, 2004 11:35 am
Re: stuck at loading code step 40
Re: stuck at loading code step 40
Re: stuck at loading code step 40
-
Matt Cramer
- Super Squirter
- Posts: 2951
- Joined: Sat Jul 03, 2004 11:35 am
Re: stuck at loading code step 40
Re: stuck at loading code step 40
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
-
Matt Cramer
- Super Squirter
- Posts: 2951
- Joined: Sat Jul 03, 2004 11:35 am
Re: stuck at loading code step 40
Re: stuck at loading code step 40
Re: stuck at loading code step 40
Brian
Re: stuck at loading code step 40
Re: stuck at loading code step 40
Re: stuck at loading code step 40
Rover V-8
MSII V3
EDIS
Tech Edge Wideband
Re: stuck at loading code step 40
Brian.
-
Bernard Fife
- Master Squirter
- Posts: 475
- Joined: Thu Oct 29, 2009 12:54 pm
Re: stuck at loading code step 40
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.
