XIAO RP2040 - “An error occurred while uploading sketch” Win 10

Dear XIAO RP2040 users,
I have 2 pcs XIAO RP2040. I would like to upload a very simple sketh.
Every XIAO works the same, when I try to upload the sketh. The message is:
“An error occurred while uploading sketch”
I tried the sugessed “Press and hold the “R” button on the XIAO RP2040, then press the “B” button again, the XIAO will enter the BootLoader, please upload the code again, it may fail again. Then the upload will be successful. This situation may occur on a computer using XIAO RP2040 for the first time, after using it once it will work normally.”, but the result is same. What can I do???
void setup() {
Serial.begin(115200);
** while (!Serial);**
}


void loop() {
** Serial.println(“Hello,World”);**
** delay(1000);**
}