I did a mistake and uploaded code to an MKR 1010 that made it irresponsible.
I read a few threads on how to do a hard reset by double-tapping the reset button and putting the board into the bootloader mode. The suggestion is then using the “bootloader COM port” to upload a clean sketch. But this is what is not working in my case.
This is the port I see:
/dev/cu.usbmodem141401 (Arduino MKR WiFI 1010)
But if I try to upload a sketch, the error says:
No device found on cu.usbmodem141401
Any assistance will be appreciated! As it is recognised in a previous post, the hard reset option is not well documented.
In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.
Please do this:
Select File > Preferences from the Arduino IDE's menus.
Uncheck the checkbox next to Show verbose output during: [] compilation
Check the checkbox next to Show verbose output during: [] upload.
Click the OK button.
Attempt an upload, as you did before.
After the upload fails, you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button. This copies the full output to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V. This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
While following your instructions, the sketch uploaded now without a problem (as I was expecting in the first case). The board seems to be functioning normally now.
I'm glad to hear it's working now. The instructions I provided were only intended to gather information to use for troubleshooting. They were not expected to provide a fix. However, I think we can be happy to have it working, no matter how mysteriously.