大家好,
在这个OpenThread的帮助下,我目前正在尝试将nRF52840闪存到Adafruit Feather nRF52840 Express上。
我使用的硬件和软件:
当我试图闪存我的设备时,我会收到以下错误消息:
ERROR: No debuggers were discovered.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.如果我在启用- log标志的情况下运行它,就会在日志文件中得到以下内容:
[ info]: --------------------------------------------------------------------------------
[ info]: nrfjprog -f nrf52 --chiperase --program ot-cli-ftd.hex --reset --log
[ info]: nrfjprog version 10.17.3 external
[ info]: --------------------------------------------------------------------------------
[ info]: Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib.
[ info]: Library loaded, loading member functions.
[ info]: Member functions succesfully loaded.
[debug]: [ Client] - open
[debug]: [ Client] - start
[ info]: [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4a6ee3a6-2ab7-4ca7-841c-942cb217da23.
[trace]: [ Client] - Command open executed for 11 milliseconds with result 0
[debug]: [ Client] - config
[trace]: [ Client] - Command config executed for 2 milliseconds with result 0
[debug]: [ Client] - enum_emu_snr
[trace]: [ Client] - Command enum_emu_con_info executed for 0 milliseconds with result 0
[debug]: [SeggerBackend] - Logger sink registered in Segger backend logger
[debug]: [ JLink] - Logger sink registered in JLink logger
[debug]: [ nRF52] - open
[debug]: [ nRF52] - just_check_family
[debug]: [SeggerBackend] - open_dll
[debug]: [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[ info]: [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.66.1.dylib.
[ info]: [SeggerBackend] - Library loaded, loading member functions.
[ info]: [SeggerBackend] - Member functions succesfully loaded.
[debug]: [SeggerBackend] - Set batch mode
[debug]: [SeggerBackend] - dll_version
[ info]: [SeggerBackend] - Segger dll version 7.66.a loaded.
[trace]: [ Worker] - Command open executed for 4 milliseconds with result 0
[debug]: [ nRF52] - config
[trace]: [ Worker] - Command config executed for 2 milliseconds with result 0
[debug]: [ nRF52] - enum_emu_con_info
[debug]: [SeggerBackend] - is_connected_to_emu
[debug]: [SeggerBackend] - enum_emu_con_info
[debug]: [SeggerBackend] - is_connected_to_emu
[trace]: [ Worker] - Command enum_emu_con_info executed for 0 milliseconds with result 0
[debug]: [ nRF52] - close
[debug]: [SeggerBackend] - is_connected_to_emu
[debug]: [SeggerBackend] - close
[debug]: [SeggerBackend] - disconnect_from_emu
[debug]: [SeggerBackend] - is_connected_to_emu
[debug]: [SeggerBackend] - Segger Backend closed.
[debug]: [ nRF52] - nRF family DLL closed
[trace]: [ Client] - Command close executed for 10 milliseconds with result 0
[debug]: [ Client] - terminate
[trace]: [ Client] - Command terminate executed for 0 milliseconds with result 0
[trace]: [ Worker] - Command close executed for 10 milliseconds with result 0
[trace]: [ Worker] - Command terminate executed for 0 milliseconds with result 0
[trace]: [ Worker] - Executed 5 commands for 16 milliseconds
[debug]: [ Client] - Child process terminated with result 0
[debug]: [ Client] - Worker process exited with code: 0
[debug]: [ Client] - Worker process exited with code: 0
[trace]: [ Client] - Executed 5 commands for 23 milliseconds
[debug]: [ Client] - terminate因此,基本上,闪烁不工作,但我不知道为什么,我不能真正看到任何问题,在日志文件。有谁知道或能以任何方式帮助我吗?我有可能需要SEGGER J调试器吗?
谢谢你的帮助。
向你问好,艾米丽
发布于 2022-08-31 11:35:40
您是正确的,您将需要一个J-链接调试器或其他一些外部程序员.您链接到的指南使用的是nRF52840 DK,它上有一个SEGGER (如果您查看该站点,它是白色方格)。
这是一件很有用的事情,特别是如果你打算在将来更换所有固件(或者实际上是调试:D)。
发布于 2022-09-23 11:44:20
Adafruit FeathernRF52840的nRF52840附带了Adafruit nRF52 UF2引导程序,您可以使用它来闪存OpenThread而不需要额外的硬件。
OpenThread需要使用OT_BOOTLOADER=USB选项编译,如下所示:
./script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB(请参阅src/src 52840/readme.md来自ot-nrf528x.git)。
现在,您将看到对U2F的转换:
start address: 0x1000在UF2编程之后,董事会应该按预期工作。
https://stackoverflow.com/questions/73539779
复制相似问题