Using external watchdog with NXP MK64 CPU
use a jumper between the external watchdog timer to MK64 reset pin, place the jumper on normal use and remove when flashing the device,

If you are using USB to flash the device add a circuit to sense the USB +ve supply to disable the external watchdog timer output