Further to this thread
I have now received my "sample" MAX232CPE IC's (i ordered 3 in case i break one )
I’ve now fitted them, and guess what?
I Still can't get connectivity.
I’ve tried Hyperterminal and Tera Term and neither give a response on the loopback test.
I've also gone ahead and soldered the timing circuit on and installed the processor and megatune cant detect the processor so it definitely isn’t
connected
so where do I got from here?
I'm getting rather fed up of it ,
I've pulled up the circuit diagram of megasquirt and I’ve gone through with the multimeter to make sure that the IC is properly connected to the
capacitors, and they are, when the circuit is on, i can measure the voltage across the caps, i assume this means that they are working ok, i've
made sure that there is continuity between the MAX232 and the processor pins 12 &13, and that there is continuity between pin 15 of max232 and the
central pin of the voltage regulator and there is 4.95V over pins 15 & 16
I'm stuck, i really cant see what is wrong with it, the cable is a straight through cable, i've tried connecting with two different
PC's
any help greatly appreciated
Matt
Can't help, I'm afraid, just wanted to comment that everytime I read sommething about Megasquirt it seems to be something bad.
Presumably people don't post when everything works just fine?
John
quote:
Originally posted by mr henderson
Presumably people don't post when everything works just fine?
quote:
Originally posted by mr henderson
Presumably people don't post when everything works just fine?
ahh pin 13 (U6) ---> Pin 3 (DB9) no PD, No continuity when tested for resistance
same story with 14 > 2
solder joints look fine, what should i do?
would it be ok to solder a jumper wire ?
Thanks
Matt
Try and follow the tracks along the board to see if there are any obvious breaks. Bit odd for them both to have gone though. Soldering jumper wires across to test is fine, it'll help to confirm the problem at least.
13 > 3 was not broken my mistake, but 2>14 was indeed broken, i've put a jumper across but still no joy
quote:
Originally posted by novacaine
ahh pin 13 (U6) ---> Pin 3 (DB9) no PD, No continuity when tested for resistance
same story with 14 > 2
solder joints look fine, what should i do?
would it be ok to solder a jumper wire ?
arrgh, neither 13 > 3 or 14 > 4 were broken, im starting to get frustrated with the multimeter
So here is a summary of points
1) Straight through cable
2)Full connectivity to the DB9 Connector
3)Full connectivity to the C26-29 capacitors
3)Full connectivity to the processor (pins 12 &13)
4) There is 5v across pins 15 & 16 (U6)
The only thing i haven’t done yet is to attach the ally heat sink, would this make a difference (maybe the voltage regulator is grounded this way?
i do appreciate your help guys
i will crack this
Matt
If there's 5v on the board then the regulator is fine.
Couple of things:
Are the capacitors round the right way? IIRC they are large enough to be polarised for the MAX232
Which COM port are you using on the PC? Are you sure it's the one you've connected the serial cable to?
Is the COM port a built in one or a USB<->Serial converter?
quote:
Originally posted by iank
Couple of things:
Are the capacitors round the right way? IIRC they are large enough to be polarised for the MAX232
quote:
Originally posted by iank
Which COM port are you using on the PC? Are you sure it's the one you've connected the serial cable to?
quote:
Originally posted by iank
Is the COM port a built in one or a USB<->Serial converter?
Have you measured the voltages on pins 2 and 6 of the MAX232? They should be +10v and -10v respectively.
-2.6 on pin 6 and 5.8 on pin 2, i've changed the IC's and got the same result
(that is with the Serial Cable connected)
If i remove the cable and leave the stim in it reads +10 and -10
is that normal?
(as you can guess by now i'm not exactly the most knowledgeable on electronics)
thanks for your help
OK, don't shoot me but... Is the MAX232 chip in the right way round in the socket?
Does the loopback test work when you're just testing the cable? If so, are you seeing two of everything you type in, or just one?
If you just see one of each character when you type, what happens if you unplug the cable and carry on, do you still see characters as you type?
jumping pins 2 & 3 on the cable work with the loopback test (only echoed once per key stroke)
if i take the jumper out and try it then no characters are echoed
Max232 is in the right way round (to be fair that was a sensible suggestion, that’s the kind of thing i would end up doing )
quote:
Originally posted by novacaine
-2.6 on pin 6 and 5.8 on pin 2, i've changed the IC's and got the same result
(that is with the Serial Cable connected)
If i remove the cable and leave the stim in it reads +10 and -10
is that normal?
quote:
Originally posted by MikeRJ
quote:
Originally posted by novacaine
-2.6 on pin 6 and 5.8 on pin 2, i've changed the IC's and got the same result
(that is with the Serial Cable connected)
If i remove the cable and leave the stim in it reads +10 and -10
is that normal?
Not really...it suggests something is loading down the -10v charge pump, which in turn is loading down the +10v pump. They do tend a sag a little bit when you have a PC connected but not that much IME.
Could you measure the voltage on pins 14 and 7 of the MAX232 with the cable connected and unconnected?
Just to check, the DB9 serial connector on the MS PCB is definitely a female one, i.e. sockets rather than pins?
[Edited on 2/9/08 by MikeRJ]
i never even thought about that, the digikey part number was obsolete so i just ordered a connector not thinking
time to get the desolder pump out
Just a though though, will i have destroyed the IC's, i have also connected the processor up, will any damage have occured to that?
not too bothered about the IC's as they are cheap, the processor on the other hand isnt
I would leave the male socket on the board and just rewire the serial cable to connect the same as a female version, Ie reverse the connections, use
the board and circuit diagram to confirm.
The processor should be ok, you are more likely to do damage unsoldering the socket.
Paul.
quote:
Originally posted by novacaine
i never even thought about that, the digikey part number was obsolete so i just ordered a connector not thinking
time to get the desolder pump out
Just a though though, will i have destroyed the IC's, i have also connected the processor up, will any damage have occured to that?
not too bothered about the IC's as they are cheap, the processor on the other hand isnt
I'd change it personaly, as otherwise it means you need a special serial cable which you are guaranteed to lose. The MS uses the hardware
handshaking lines as well so it's not just TX,RX and ground to change.
I doubt you have damaged the processor, RS232 signals have a fairly low current limit. At least you've found the problem.
Thanks everyone for your help, without you lot I would never had fixed this one
thanks
Matt