Integration Manual

Table Of Contents
NORA-B1 series - System integration manual
UBX-20027617 - R04 Software Page 21 of 61
C1-Public
Having a copy of the Bluetooth device address stored in a file is useful when reprogramming each
core after a chip erase or recovery.
The entire UICR memory area can hold other valuable information. Use the following command to
save the entire UCIR memory area:
nrfjprog.e --readuicr uicr.hex
The Bluetooth device address can only be written to the UICR of each core after a recovery or full
chip erase. See Flashing application software for recovery and erasing details. If an electronic copy
of the address is not saved, the address may be recovered by scanning the 2D data matrix on the
NORA-B1 label. See also the NORA-B1 data sheet [1].
Writing the Bluetooth device address may be done through the following nrfjprog commands
following a chip erase or recovery.
c:\ubx>nrfjprog -f nrf --memwr 0x00ff81 --val 0xddccbbaa
c:\ubx>nrfjprog -f nrf --memwr 0x00ff81 --val 0xffffffee
c:\ubx>nrfjprog -f nrf --coprocessor CP_NETWO --memrd 0x01ff83 -val 0xddccbbaa
c:\ubx>nrfjprog -f nrf --coprocessor CP_NETWO --memrd 0x01ff83 -val 0xffffffee
J-Link may also be used. For the application core:
J-Link>loadbin bdaddr.bin, 0x00ff8100
For the network core:
J-Link>loadbin bdaddr.bin, 0x01ff8300
The Bluetooth device address is provided in both cores for convenience. If only one core
accesses the address, the other core does not need to be rewritten.
Example programs provided with NCS do not use the programmed public Bluetooth device
address. A static random address is used which is derived from the FICR registers. An
application must read the public address and set the address with
bt_ctlr_set_public_addr() in Zephyr or sdc_hci_cmd_vs_zephyr_write_bd_addr() in nrfxlib.