??? 12/01/12 21:25 Modified: 12/01/12 21:39 Read: times |
#188937 - Apparently several C8051F2xx parts have the same pinout Responding to: ???'s previous message |
... and from that I understand that pin 6 is the X1 input to the oscillator.
Since it's an input, I doubt it would source much current, so I doubt your finger could brown the board out. Daniel Contarino said:
When touching pin 6 (XTAL1, input, high impedance) the clock stops. But, sometimes, with everything connected to ground (even my body), the program stops and it does not start even after recycling power! It is necessary to reprogram the part. It seems that the flash got corrupted by some high voltage spike and/or 50Hz hum. Is that crystal case connected to GND? Is the board still connected to the programming port? What's the supply doing? One more thing ... I note from the datasheet, that "There are six sources for putting the MCU into the reset state: power-on/power-fail (VDD monitor), external RST pin, software commanded, Comparator 0, Missing Clock Detector, and Watchdog Timer ... Figure 12.1 ..." I suspect that your oscillator stops when you touch Pin 6. Whatever happens, may well be during or at least initiated by this RESET. RE |