2.在电脑USB上插入nRF52840 Dongle
状态指示灯(LD2)开始以红色闪烁,表明加密狗已通电并处于引导加载程序模式。几秒钟后,计算机将加密狗识别为USB复合设备。还安装了nRF52840 USB DFU功能所需的驱动程序。
Optional: Download the nRF5 SDK.
nRF5 SDK contains application examples for the Dongle. For documentation, see nRF5 SDK v15.3.0.
Optional: Download SEGGER Embedded Studio (SES).
SES is needed for building application examples for the Dongle. It can be used free of charge with nRF devices.
Optional: Install nrfutil.
nrfutil can be used for programming the Dongle from the command line.
Open an nRF Connect for Desktop app and select the serial number of the nRF52840 Dongle as the target.
Applications that support the nRF52840 Dongle will display the serial numbers of any connected Dongles in the device drop-down list.
If the app supports the Dongle but the correct firmware is missing, you will be asked to confirm that you want to have the Dongle programmed. Click OK.
If the Dongle contains the correct firmware, the app will start immediately.
编程
进入bootloader模式的两种方法:
1.触发nRF52840 USB DFU断点。支持此功能的固件嵌入在所有用于nRF52840加密狗的nRF Connect for Desktop应用程序中。如果将DFU触发库(USB)添加到自定义设备固件中,则无需使用任何按钮即可从nRF Connect for Desktop触发DFU。有关文档,请参阅DFU触发器库(USB),它是nRF5 SDK v15.3.0的一部分。
2.对于应用程序缺少USB DFU端点的加密狗:按下RESET按钮。