By default, the watchdog timer option is enabled in MAX® 10 devices.
Hence, after programming a MAX 10 device for the first time via JTAG using a SOF file, the watchdog timer begins counting until it times out, at which point the MAX 10 device will be reset.
To prevent the reconfiguration watchdog timer from timing out, perform a full chip erase prior to device programming when using the MAX 10 device for the first time. This must be done only prior to initial programming.
This limitation is fixed in MAX 10 production devices. For details, refer to Errata Sheet and Guidelines for MAX 10 ES Devices (PDF).