??? 09/20/06 07:19 Read: times |
#124646 - I am talking about the rusty nail Responding to: ???'s previous message |
Kai,
I am talking about the rusty nail and a newbie's first construction, while you use the original cable and design with '51s profesionally. Kai Klaas said:
No, the reset line is logic high all the time! No, it's not with the "rusty nail" or with the "buffered cable, but 74VHC is replaced for HC/HCT/LS" and RC reset under powerup/powerdown. Btw., the AT89S52 datasheet said:
Power-off sequence (if needed):
Set XTAL1 to āLā (if a crystal is not used). Set RST to āLā. Turn VCC power off. OK, I believe this reads: "turn off RST after programming, but when VCC falls below xxxV, turn on RST as usually." Kai said:
And the oscillator starts quite standardly when powering-on the micro. Although I haven't seen a '51 that would fail to oscillate, I believe quite a percentage of the failures is simply for no oscillator clock: miswired crystal, faulty crystal, bad capacitors etc.etc. Unfortunately, the clock must be ticking too fast to be generated from PC, so I know no failsafe remedy for this, but we might suggest some sort of a test (suitable high-pass filter+detector, and a DMM, to be measured on ALE - comments?). Kai said:
There's no problem with the ISP programming of AT89S52 at all! Well, obviously, there is, otherwise we would have no newbies questions... :-) I want to get rid of these consistently. JW |