上传出错,请教如何解决

2021-04-071.9万
AI 快速预览详细 收起
本文讨论了使用Mind+在Windows系统中上传Micro:bit程序时遇到的“Error: ENOENT: no such file or directory”错误。文章提供了详细的排查步骤,包括检查U盘设备写入权限、重新安装Mind+以及确保串口驱动正常。通过这些步骤,用户可以有效地解决上传出错的问题,避免自行排查的时间成本。


板子是Model1.5。新买的,实时模式没有问题。但是上传模式从来没有上传成功过

使用 Chrom 网页版的Mind+, 上传出错信息是:

Error: ENOENT: no such file or directory, open 'C:\Users\qlzho\AppData\Local\Temp\Mind+_Link_cache\cache_1617777733354\dfrobot.ino.hex'



下载安装Windows版的Mind+ V1.7.0 RC2.0,一键安装串口驱动都正常。上传程序仍然出错。错误和截屏如下。请教如何解决。

F5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\Lib\nordic_sdk\components\libraries\crc16 -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\Lib\nordic_sdk\components\libraries\scheduler -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\Lib\nordic_sdk\components\libraries\util -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\Lib\s110_nrf51822_8_0_0 -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\Lib\s130_nrf51822_1_0_0 -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\TARGET_NRF51_MICROBIT -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\DFmicrobit -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\ble -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\ble-nrf51822 -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF51-sdk -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\DFmicrobit\inc -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal\inc\core -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal\inc\types -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal\inc\drivers -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal\inc\bluetooth -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\microbit-dal\inc\platform -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\api -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\hal -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\hal -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\cmsis -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\ble-nrf51822\source\btle -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\ble-nrf51822\source\btle\custom -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\ble-nrf51822\source\common -DUSE_LFRC -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5 -I C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\variants\BBCmicrobit -I  -I c:\program files (x86)\mind+\arduino\hardware\dfrobot\nrf5\cores\nrf5 -I c:\program files (x86)\mind+\arduino\hardware\dfrobot\nrf5\variants\bbcmicrobit -I c:\program files (x86)\mind+\arduino\libraries\microbit_matrix C:\Users\qlzho\AppData\Local\DFScratch\cache\dfrobot.ino.cpp -o C:\Users\qlzho\AppData\Local\DFScratch\cache\dfrobot.ino.o
C:\Program Files (x86)\Mind+\Arduino\hardware\tools\nRF5\gcc-arm-none-eabi\bin\arm-none-eabi-g++ -L C:\Users\qlzho\AppData\Local\DFScratch\build -Os -Wl,--gc-sections -save-temps -L C:\Program Files (x86)\Mind+\Arduino\hardware\dfrobot\nRF5\cores\nRF5\mbed-classic\targets\cmsis\TARGET_NORDIC\TARGET_MCU_NRF51822\TOOLCHAIN_GCC_ARM -TNRF51822.ld -Wl,-Map,C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.elf C:\Users\qlzho\AppData\Local\DFScratch\cache\dfrobot.ino.o c:\program files (x86)\mind+\arduino\static\libraries\microbit_matrix\microbit\microbit_matrix.cpp.o -Wl,--start-group -lm C:\Program Files (x86)\Mind+\Arduino\static\core\microbit\core.a -Wl,--end-group
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
c:/program files (x86)/mind+/arduino/hardware/tools/nrf5/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
"C:\Program Files (x86)\Mind+\Arduino\hardware\tools\nRF5\gcc-arm-none-eabi\bin\arm-none-eabi-objcopy" -O ihex "C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.elf" "C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.hex"
"C:\Program Files (x86)\Mind+\Arduino\hardware\tools\nRF5\gcc-arm-none-eabi\bin\arm-none-eabi-objcopy" -O binary "C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.elf" "C:\Users\qlzho\AppData\Local\DFScratch\build\dfrobot.ino.bin"
项目使用了97084字节,占用了(37%)程序存储空间,余留165060字节,最大为262144字节。
全局变量使用了2084字节,(13%)的动态内存,余留14300字节局部变量,最大为16384字节。
U盘设备写入出错


捕获1.JPG (120.15 KB, 下载次数: 2621)

上传出错

Micro:bit 上传出错解决方法 | DF创客社区_image_3.webp

捕获2.JPG (139.15 KB, 下载次数: 2649)

设备管理器

Micro:bit 上传出错解决方法 | DF创客社区_image_6.webp

Mirco.bit.png (227.36 KB, 下载次数: 2512)

Micro:bit 板子

Micro:bit 上传出错解决方法 | DF创客社区_image_9.webp

创作许可协议

本项目采用 None(不开放任何权利,保留所有权利) 进行许可。

评论(1)
Forgotten
Forgotten
可以把microbit背面拍照发一下
Forgotten
Forgotten回复Black_Mamba
看起来可能是系统问题,可以加入Mind+官方QQ群(671877416)找技术支持远程看一下是什么情况
Black_Mamba
Black_Mamba
作者
回复Forgotten
多谢版主。我把原帖编辑了一下上传了mirco:bit 背面的照片。
- 没有更多了 -