Can't load firmware

Ask questions about DIY board assembly issues, fault finding and testing. (Covers all Megasquirt versions and board.)

Moderators: jsmcortina, muythaibxr

Post Reply
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Can't load firmware

Post by kutukutu1 »

Hello

Background: MS2, neg coil for rpm, ect.
basic ms2 build.

Back when i built it, the MS worked perfectly fine, i was able to load firmware and use tuner studio and all.
I stored it for a while and i moved so i brought it back out to test everything again.
When i plugged the stim all the lights flashed correctly, but when i plugged it into the computer all the lights would dim and go solid.
I would disconnect the serial-usb cable and they would start flashing again, until i plugged it in so many times that now anytime i power it up the lights are dim and solid.
I have passed the loop back test and i pass the voltage circuit test and get the right voltages going to the CPU. The test in the troubleshooting guide to perform test a,b and c I pass a and c, not b.
When I tried to load firmware I get the 0xe0 error code. This was with the gig aware USB to serial using windows 7. Before it worked using vista. I installed virtual box and used windows xp and still have the same error. I do not have access to a computer that has a direct serial plug.
I have also cleaned the board with alcohol in case of excess flux and I have reheated all the components in case of cold joints.
This may be some useful info but I dot know what to make ou of it. After it stopped working when I plug it in with the daughter board in, r31 and r35 in the injector circuit get extremely hot. I am not sure what that would mean.
I did the check to see if i had a short and I think I do have a short. This are my values

Battery 10.44
S12 9.22
s12C 11.89
center q9 9.22
center q12 9.22
Left D3 9.18
Left U5 11.9
Left D9 11.9

All the ones that need to have 5V have 5.07

So where would my short be?
Any ideas on what else I could check?
Sorry for the long post and a bit disorganized information.

thanks for the help in advance
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

It looks like the flyback clamping outputs are somehow stuck on. Try temporarily removing R32 and R36, repeat the voltage check, and try reloading the firmware - let me know what results this gets you.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Ok, will do when I get home and update.
Thanks
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Ok so i did the what you said and still nothing.
It just opens com 3 and it said waiting and it times out.
Capture.PNG
I tried it with the daughter board boot on and off.
Any other ideas?

Thanks,
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Showing my loopback test working.
Capture.PNG
Also i forgot to mention, when i power it up in bootloader mode, the ms led's do not flash, all 3 just stay on.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

Did the voltages change with these resistors removed?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

No. I rechecked them with the removed resistors and the values stayed the same.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

Do R31 and R35 still get hot?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

No. They didn't get hot.
Any way of verifying daughter board operation?
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

Try powering up the MS2 with the boot jumper in place, run the Port Check program, and post a screen shot. That will give us a bit more to go on.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Capture.PNG
This is what i got.

thanks again for all the help
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

Looks like it is responding at least - were you using the boot jumper when loading code?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Yes i have tried it with and without the boot.
On the weekend i decided to reheat the components of the stimulator and after i did so, i checked the voltage on the right leg of U5 and before it was reading 5.07, but now it reads 4.76 Volts. I am not sure what happened there. i reheated the components of the stim just in case of excess flux, the troubleshooting guide said to check the 555 on the stim for proper voltage and i was getting 4.76 V, so at that point i rechecked U5 and found out that now it was not getting 5 volts. I am going to recheck the power circuit again to see if something happened.
All test done up to now, U5 has been putting out 5.07 V

Thanks
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

Ok so it seems the reason for the different voltage was because previously when i had tested the voltage the daughterboard was removed.

I rechecked all the voltages with and without the daughterboard installed, with the daughterboard installed i dont get 5 volts to the 555 chip of the stim and U5 does not put out more than 4.58 volts.
These are the values.
Without daughterboard / with daughterboard
battery-12.27
555 chip- 5.29 / 4.5
Left U5- 14.54 / 9.43
S12-11.10 / 9.73
S12C-14.54 / 9.4
Center Q9-11.09 / 9.73
Center Q12-11.08 / 9.73
Left D3-11.04 / 9.71
Left D9-14.55 / 9.41
S5-5.07 /4.51
Proto 5V- 5.06 /4.51
Right D9-5.07 / 4.59
Right U5-5.07 /4.58
Left D19-5.07 /4.51
CPU pins
1-5.07 /4.51
20-5.07 /4.52
31-5.07 /4.51

Hopefully this helps you to understand what is going on.
I am thinking thats the reason why i cant load firmware.
The voltage is low right?

Thanks again for the help
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: Can't load firmware

Post by Matt Cramer »

Yes - it sounds as if the daughter board is somehow damaged. They do have a one year warranty - if it's under warranty, contact whoever you bought it from directly.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

I bought it at DIY from you guys but it's been more than a year. Thanks a lot for the help. I am gonna assume it was esd damage since when I move to the cold with it the static build up was intense. I probably damaged the board and a component failed. Thanks again for the help
kutukutu1
MS/Extra Newbie
Posts: 30
Joined: Wed May 07, 2014 7:24 pm

Re: Can't load firmware

Post by kutukutu1 »

I know it's been a while, but an update is good for anyone that might have a similar problem. I bought a new daughteboard and had the same issues, but during this process I saw the lights blink when the daughter board was just touching the pins. So I replaced the 40 pin connector and voila. I must have damaged something during soldering. Now I am able to load firmware, still can't connect to ts but I think that's a different issue. Mini term in ts works fine too. So for anyone that might have similar issues make sure your connector is not damaged.
Post Reply