Upload sketch without USB

do you know how to do a self reset to bootloader with watchdog?