I have recently been experiencing issues with two Arduino MKR 1010 boards.
I tried connecting them to the Arduino Cloud. The boards are recognized, I enter the name, but then I get the following error message:
vbnet
KopierenBearbeiten
Executing command: exit status 1
Please try to:
- Restart the Create Agent on the computer.
- Detach the device from any shield/carrier or external circuitry.
- Reconnect the device to the computer and make sure the power LED lights up.
- Make sure the desktop IDE is closed.
- Reset your device.
I have tried everything, but nothing worked.
The RP2040 can be configured without any issues—same cable, same port.
Then, just for fun, I tried uploading the standard Blink sketch, but it didn't work either. The board is recognized but cannot be programmed.
from the IDE 2.3.4
No device found on COM4
Failed uploading: uploading error: exit status 1
This issue has been occurring since 17.2.25.
Has anyone else experienced this problem or has any ideas for a solution?
Eliminating irrelevant factors from the system by testing with the Blink sketch is an excellent approach to troubleshooting!
I'm going to ask you to provide the full verbose output from an upload attempt.
I'll provide instructions for obtaining the output from Arduino IDE 2.3.4 below. I arbitrarily chose the IDE instructions since you mentioned you are using the IDE for your simple "Blink" test. If if will be more convenient for you to get the output from Arduino Cloud Editor that is also fine, and I'll be happy to provide instructions for doing that if you want.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Connect the MKR WiFi 1010 board to your computer with a USB cable.
Select File > New Sketch from the Arduino IDE menus.
Select the MKR WiFi 1010 board from the board selector on Arduino IDE's toolbar, if it isn't already selected.
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compile in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
The "Preferences" dialog will close.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> 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.
Sketch uses 12284 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 2988 bytes (9%) of dynamic memory, leaving 29780 bytes for local variables. Maximum is 32768 bytes.
Performing 1200-bps touch reset on serial port COM4
Waiting for upload port...
No upload port found, using COM4 as fallback
No device found on COM4
"C:\Users\Patri\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3/bossac.exe" -i -d --port=COM4 -U true -i -e -w -v "C:\Users\Patri\AppData\Local\arduino\sketches\67E4B4723BC45D746B503C6B84FC295F/Blink.ino.bin" -R
Failed uploading: uploading error: exit status 1
Something very strange is happening. I just tried uploading the sketch again, and suddenly it worked on both Arduinos.
However, as soon as I modified the sketch, it stopped working again.