You can not check MCUSR directly for reason of reset, it is cleared by BASCOM on startup. Read R0 instead (at the very beginning of your program). See Help topic "CONFIG WATCHDOG" for details.
↧