Probe your MCLR pin when you disconnect the RS232 cable.
What's happen? Should go to GND for XYZ time. Place a pull-down resistor on pin 8 of your MAX232.
Probe your MCLR pin when you disconnect the RS232 cable.
What's happen? Should go to GND for XYZ time. Place a pull-down resistor on pin 8 of your MAX232.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve
Thx
I don't have instrumentation to do a probe on mclr.
Must I just put a pull down resistor on the max (What size 2k)?
let's say <10K should be enough. Also... be sure MCLR is tie to VCC with pull-up too.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
a simple probe... use another PIC.
Code:Start: While PICInput=1 : wend HIGH LED pause 2000 LOW LED goto Start
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve
Someone told me that the MAX232 has an internal 5K pull down.
It would not be necessary to put a pull down resistor as you have described.
Is this correct?
If i refer to the Maxim datasheet...
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=573&stc=1&d=1130593189 ">
there's indeed a pull-down resistor... mmm for the TI one, i guess it's the same.
mmm... Hyperterminal could be the cause...
- did you disable the handshaking?
- What about if you use MicroCode Studio Serial Communicator instead?
- Is your MCLR pin is tied to VCC via resistor?
- What about if you use the original solution (resistor instead of capacitor)?
I bet on the Handshake idea now.
Last edited by mister_e; - 29th October 2005 at 15:50.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks