I have a circuit similar to how Arduino boards have the FT232 chip resets the atmega328 microcontroller. The 328's reset pin is connected to 5V via a 10K resistor, and the 328's reset pin is connect to a 0.1 uF that goes to the ft232's dtr pin. The theory is that this allows the ft232 to pull the reset pin low for a short pulse to reset the 328 to allow easy reprogramming.
This seems to work for Arduino boards, and it works most of the time for my boards. After assembling 8 boards I'm seeing about 25% of them show the following problem (meaning 75% of my boards work fine and don't show this problem). The problem is that while the system is booting the dtr pin on the ft232 is goes low which forces the 328 to see a reset signal. The odd thing is the fuses on the 328 are set to have a 65 ms startup delay and a 2.7V brownout so in theory the chip shouldn't be running so why would a reset matter? The observed fact seems to be that it does matter and it is confusing the 328 so that it never starts.
Another observation is if I turn off the power and then turn it back on in less than 3 seconds it will always boot successfully on the boards showing the problem. Maybe this has something to do with the caps being charged in this case?
Below is a schematic and a scope's graph of voltage for the 5V pin and the reset pin. You can see the 328's reset pin drops to 0V for a short period. If I pick a board that boots correctly or turn a bad board on/off quickly to make it work the graph looks the same except there is no drop on the reset pin. I also looked at the 232's DTR pin and it's graph looks the same (meaning it is not dropping low for a long period and having the cap create a pulse out of it).
Does anyone have ideas what might cause this or how to fix it?
Schematic:
http://www.glacialwanderer.com/_blog/blog2011/10_Oct/ca_schematic.pngScope of 5V and Reset pin:
http://www.glacialwanderer.com/_blog/blog2011/10_Oct/IMG_2558.jpgNote that this is a continuation of the following thread. I wanted to start again with a concision summary of what's happening to see if we can get any new ideas. I'd really like to thank Richard for his help in the other thread.
https://www.eevblog.com/forum/index.php?topic=5024.0