PC doesn't recnognize Arduino M0 (Native USB port)

Hi guys,

How are you? I really hope you're all safe and healthy in particular during this emergency all entire world is facing up.

I'm writing this regarding a really weird problem with my Arduino M0 (Native USB port).
Until this morning, I've been working about timing my SAMD21 using overflow interrupt and I've reached a good result (in fact, I was very happy that my understanding about timing has been improved).
I was playing around with some trial, changing the clock frequency, Presclar, and stuff like that and at some point after I've uploaded my sketch through IDE something really strange happened.

My PC doesn't recognize Arduino either Serial port COM. So it is impossible to interface Arduino with IDE, but in general, my PC doesn't recognize it.
I tried to change the USB cable, nothing happened. I tried to change PC and appear the same message that you'll find attached (Sorry, it's in Italian but basically what it mentions is: The last USB device connected to the PC doesn't work and it wasn't recognized. Tips: Try to re-plug the device. If it is still doesn't recognize, it is possible that doesn't work properly).

The strange thing is that there's power supply over the board. I've checked with a multimeter and looks that all pin (of course, the ones that have to be) are powered. And moreover, the last sketch that I uploaded toggle a pin each tot second and using multimeter and even DAQ to collect data from the enquired Pin, looks that works perfectly. Then, basically what I mean is that last sketch uploaded works perfectly without problems.

Please, has someone any suggestions on how to sort out this problem? It's very important to me.

Your help is really appreciated, thanks in advance.

(mod edit)
error msg.JPG

error msg.JPG

We have an Italian section if you prefer ?

Also see the second link below to see if any applies to you.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Hi,

Thanks for the tips.
I think there are all information but missing operative system.
I'm using Windows 10.
And still, there's power, and last sketch works.

Thanks

The green led is ok, and if I press reset button the L button toggles as always. The last sketch I've uploaded works perfectly. Then, apparently the board is ok, there's some problem with the connection to PC..

I've got another clue for the community. Apparently when I press Reset button on Arduino, what happens is the in Panel control of win10 (devices management) for a bit it recognizes the COM and even that is plugged an Arduino M0, after 2-3 seconds change in message error.

I dont have an M0 to hand but have you tried the quickly double tap on the reset button to see if it puts it into bootloader mode (on a different COM port)
If it does then upload a simple BLINK example.

Actually I tried I think.
When I press reset button happens that PC recognises COM 3 as Arduino M0 Bootloader Mode Native Usb Port.
After 4 seconds it changes quickly and displays error message as I mentioned: Unknown USB Device (Device descriptor request failed). This is what happens.

I encountered the same problem, no one seems to be able to solve it?