??? 03/01/07 21:03 Modified: 03/01/07 21:44 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#134050 - So long post... Responding to: ???'s previous message |
Richard,
I tried to read the whole text you posted but at some line I lost the idea in the whole due my English, sorry. The OP, here: Kai said: Just finished a testing to analyze how the AT89S52
[skip] The testing showed, that the internal Pierce oscillator (quartz crystal oscillator) starts at V=2.0V with rising supply voltage. And, to my surpise, keeps running down to Vcc=1.3V with falling supply voltage! (bold made by me) The all post is about that oscillator keeps run for some time when the power falls down - which causes undefined bahaviour of MCU. So: RC reset may help when power-on (not always: it depends on off-then-on pause duration); RC reset cannot help with power-off. As Erik said: it does nothing in this case! Well, modifyed sñheme with diode across resistor may help - but this is separate question, sure. Finalize: the topic is not about how flash memory accepts power-off but about that MCU may destroy its content due this time. On old mask/OTP MCU it may cause just malfunction; on "modern" MCU it may cause permanent system failure. Because, select yourself: - flash utilization; - absense of power/reset supervisor. Regards, Oleg [Edited] no, even diode cannot help due positive reset - sorry. |