Error in one of my arduino mkr fox 1200

In one of my arduino mkr fox 1200 i have this error when charging a sketch.
When sketch is charging arduino disconnect ( displaying me the classic error when I try to upload a sketch with no arduino connected), and it not result in any Port, after a few second it reboots and reappear on the same port.
Open On-Chip Debugger 0.9.0-g932ec70 (2017-02-15-12:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Error: unable to find CMSIS-DAP device
Error: No Valid JTAG Interface Configured.
Error: No Valid JTAG Interface Configured.
Any suggestion?