
USB840F/M/X BLE 5, Thread, Zigbee Dongles
Ver 1.00 May 2019
2. Firmware Development and Programming
Important: USB840F and USB840M don’t include 32.768 KHz sleep crystal. The internal RC
oscillator must be enabled.
USB840X includes 32.768 KHz sleep crystal.
Preloaded Bootloader and Private Key
USB840F dongle is pre-programmed with an USB bootloader. The project path is
~nRF5_SDK_15.2.0_9412b96\examples\dfu\open_bootloader
The Sign Key is:
__ALIGN(4) const uint8_t pk[64] =
{
0x93, 0x49, 0x6f, 0x55, 0x97, 0x2e, 0x62, 0xcc, 0x05, 0x0c, 0x39, 0x8a, 0x46, 0x83, 0xbb, 0x06, 0xc4, 0x49,
0xc9, 0x5f, 0x82, 0x58, 0x42, 0x4f, 0xcd, 0x79, 0x44, 0x9d, 0x35, 0xc9, 0xc2, 0x3d,
0x68, 0xb9, 0x45, 0xe6, 0xdc, 0x5d, 0x38, 0xba, 0x6d, 0x9c, 0xca, 0x5e, 0x1f, 0x87, 0x0c, 0x9a, 0x6b, 0xb4,
0x08, 0xd1, 0x89, 0x7a, 0x32, 0x52, 0x8b, 0xf2, 0xb4, 0xa6, 0x8c, 0x28, 0xe9, 0x22
};
This private key is published. We strongly recommend creating your own bootloader and private key.
Procedures to Program USB Bootloader
Go to Windows command mode and enter following commands
.
//need nrf52 DK or JLink
//erase all
nrfjprog -f NRF52 --eraseall
//programming softdevice
nrfjprog --program s140v61.hex --family NRF52
//programming bootloader
nrfjprog --program 840usbBOOT.hex --family NRF52 --sectoranduicrerase –reset
!
5