Are you sure the breakpoint at main is not because of a watchdog timeout? Gary Skinner, ESI [Non-text portions of this message have been removed]
Message
Re: Understanding, trapping and debugging stack overflow on an AVR
2011-01-12 by Gary Skinner
Yahoo Groups archive
Message
2011-01-12 by Gary Skinner