Hi all, I found this, is it a bug?
Is anyone known same issue?
~
[enviroment]
win10 pro, Arduino IDE1.8.19
[board]
Arduino mkr wifi 1010 ->problem occured
Seeed studio xiao ->no problem
[source]
Sample->Basics->Blink, and add 1 line below.
/*
Blink
This example code is in the public domain.
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
Serial.begin(115200); --> insert this line only.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
[problem]
1.Open Serial monitor.
2.Repat upload to device.(less 5 times)
3.one or two times are no problem(com port came back), but three or more times repeat procedure2, com port going to disappeare.
4.In this state, com port can't active until reboot pc. Push reset button(two times), it was still disappear com port.
[infomations]
1.I try another board about same cpu(samd21) on Seeed Studio Xiao, No problem happend.
Double tap the reset button on your board quickly. You should now see the LED on the board pulsing (fade in and out slowly), which means the bootloader is running. The double press/tap makes the bootloader to run indefinitely (until the board is reset by taping again the rest button once, powered off, or an upload is done).
Select the COM port for the board from the Tools > Port menu. The port number is usually different when the bootloader is running.
Start to compile and upload a sketch, say Blink LED sketch from the Arduino IDE examples.
Thank you dozie,
But I already check this solution. It is not make better. ->Procedure about two time resets.
(Reset two times in normal condition, it going to bootloader mode I already checked(com number was changing).)
And I found another condition about trouble. It was always happen in below.
update->success->bootloader mode..<--usb com disappear...
Above condition was checked after rebooting pc. I reboot pc, then mkr 1010 always in bootloader mode. This mean mkr 1010 perhaps error on after upload program.
And this trouble happen only mkr1010(not in Seeed Studio Xiao), so I think this error occure in uploader after upload process for mkr1010.
Is this make sence something for experts?
Thanks for the advice,
Use a good quality data USB cable to connect the board to the computer without anything connected or wired to the board. Do not use USB 3.0 port or USB hub.
Make sure you select the board and the port it is connected to before uploading a sketch.