简体   繁体   English

Circuitpython 找不到端口 Seeed XIAO nRF52840 Sense

[英]Circuitpython can't find port Seeed XIAO nRF52840 Sense

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:我有一个 Seeed XIAO nRF52840 Sense,它在电路 python 上运行良好,但有一次当我打开它时,电路 python 给出了这个错误信息:

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.我从种子网站和电路 python 网站下载了 uf2 文件(我都尝试过),但是当我将它复制到微控制器时,驱动器消失了。 When I reset the board, circuit python gave the same error message and when I entered bootloader mode, the uf2 had not copied.当我重置电路板时,电路 python 给出了相同的错误消息,当我进入引导加载程序模式时,uf2 没有复制。 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.如果有任何帮助,我将不胜感激。

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.当我这样做时,电路 python 驱动器显示在我的文件中,我可以访问 Thonny 上的电路板,电路蟒。

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.似乎设备在上传后与 USB 断开连接。 I do not have a solution unfortunately.不幸的是,我没有解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM