Extremely new here to this kind of controller. I got the new board and ran the simple examples in Arduino IDE environment. Everything seemed to work great.
I tried to upload a code and it seemed to get hung up with some errors. I unplugged the board and then pugged it back in. Once I did that, the IDE did not recognize the board. I was able to find a uf2 bootloader file and uploaded that to the board through the reset function.
I have sense tried some other code and seemed to do the same thing. But now when I plug the board into the USB of my computer, the computer states that board in not working correctly. The IDE does not recognize it on any of the ports.
What did I do wrong and how do I correct it. Remember I am an extreme newby to this type of thing, and need steps like you would give a 5 y/o.
This is the error I am getting - I have tried plugging the board into a different computer and same error. I plugged the cable into my phone to verify it wasn’t the cable. I also went into the device manager and uninstalled the USB and disabled it, but no luck
I try your following steps but I have finished step 8 (Check the working of blink LED) and it worked well.
But right after it finished uploading and the output show that:
Activating new firmware
Device programmed.
The COM in device manager also disappeared and it turned back to No Port Options. Only redo Press Reset Button Twice will make it appear back and it keep like that
Hi Calax,
I have no experience of receiving such a message.
In the Device Manager, is there “TinyUSB Serial” in “Universal Serial Bus Devices” ?
I had the same problem with Calax, and following your guidance, the COM can be detected after double-clicking the reset button so I can make a new upload. But just as Calax said, the port will disappear after every upload, so I have to redo the resetting every time and the serial monitor cannot be used. How can I resolve this problem?
And there is no “TinyUSB Serial” in my “Universal Serial Bus Devices”.
Hi tqy,
Carefully follow the steps below. With luck, it will be restored.
Note:maybe “Seeed XIAO nRF52840 Sense” or “USB Serial Device” will appear with a different name in your Device Manager.
Is “Seeed XIAO nRF52840 Sense” listed under “Universal Serial Bus Devices” in the Device Manager?
Note: not “Ports (COM & LPT)”.
If not, this method does not work.
If so, right click “Seeed XIAO nRF52840 Sense” and “Update Driver”
select “Browse my computer for drivers”
select “Let me pick from a list of available drivers on my computer”
select “USB Serial Device” and click “Next”
No, the device (after first upload) was not listed under “Universal Serial Bus Devices” nor “Ports (COM & LPT)”.
After double-clicking the reset button, the device appeared under “Port (COM & LPT)” as “USB Serial Device (COM 6)”. It will disappear after the first upload.
Note: I tried “Seeed nrf52 mbed-enabled boards” library. This time the board can be detected as “COM 5” after the first upload.
Has the port number used for upload changed to a different number after upload? Or does the port not show up at all?
The procedure I wrote should be performed by checking under Universal Serial Bus Devices when the problem occurs, and if you see a device that looks like XIAO. In my experience so far, the port has always been restored this way.
After upload (selecting Seeed nrf52 boards), the port disappeared.
After upload (selecting Seeed nrf52 mbed-enabled boards), the ports number changed from com6 to com5.
New finding: the above-mentioned port’s disappearance occurred when I uploaded the Basic-Blink example by selecting “Seeed nrf52 boards”. When I uploaded an example from “Adafruit Bluefruit nrf52 Libraries” - “Peripheral”, still selecting “Seeed nrf52 boards”, the code worked well, with no problem with the port.
So I think the problem might be caused by something related to BLE?
I have about 30 XIAOs of various types and each XIAO has a USB port assigned to it by Windows. I am wondering if for some reason the port numbers could be duplicated. I think it does not happen so much after I deleted all the ports used for XIAO once using Registry Editor. This is just my imagination.
This phenomenon is beyond my understanding, so I don’t think too much about the cause.