Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Mega8 reset problem

2004-09-09 by Mark Jordan

Hi,  

	I have found a very weird reset problem on the Mega8.  

	My program works 100% but sometimes the Timer2 on fast PWM mode 
refuses to output anything to the OC2 pin. The OC2 pin remais at zero.  
	The Timer1 and Timer0 continues to work. The RS232 too. The program 
does all its tasks without a problem. Just the PWM output remains dead.  
	Have tried several fuses configuration and changes in the program, 
but nothing seems to correct the Timer2 behavior.

	But, if I apply an external reset, all goes back to normal.  
	A 100nF capacitor from RESET pin to ground solves the problem, too.
	Does the internal PowerOn Reset is not working on Timer2?

	Any suggestions?

	Thanks.
	Mark Jordan

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.