Circuitpython can't find port Seeed XIAO nRF52840 Sense

Question:

I have a Seeed XIAO nRF52840 Sense and it had been working fine with circuit python, but one time when I turned it on, circuit python gave this error message:

Couldn't find the device automatically. 
Check the connection (making sure the device is not in bootloader mode) or choose
"Configure interpreter" in the interpreter menu (bottom-right corner of the window)
to select specific port or another interpreter.

I downloaded the uf2 file from the seed website and the circuit python website (I tried with both), but when I copied it to the microcontroller, the drive disappeared. When I reset the board, circuit python gave the same error message and when I entered bootloader mode, the uf2 had not copied. I have tried looking for other websites/forums which have covered this but couldn’t find anything. I am also confused as to why it happened so suddenly when it had been working fine.

I would be very grateful for any help.

Asked By: Harris Birch

||

Answers:

I have found the answer. The reason it was not working was because it had code which was running on startup. To fix this I needed to boot the board in safe mode, by doing a slow double tap on the reset button. When I did this the circuit python drive showed in my files and I could access the board on Thonny, circuitpython.

Answered By: Harris Birch

I have this same issue. I have to press reset twice to get the port back. Seems like the device disconnects from USB after upload. I do not have a solution unfortunately.

Answered By: user2472778
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.