Excuse me:
What is the register or Flash address that stores the device default MAC? I want to modify the default MAC by nrfjprog.thank you!
Excuse me:
What is the register or Flash address that stores the device default MAC? I want to modify the default MAC by nrfjprog.thank you!
Hi,
The default Bluetooth MAC address is derived from FICR, this is read-only. See this post: https://devzone.nordicsemi.com/f/nordic-q-a/2112/how-to-get-6-byte-mac-address-at-nrf51822/9000#9000
To change the address you need to use the SoftDevice function sd_ble_gap_addr_set. If you want to set the address with nrfjprog, then your application would need to use this API, and the application would need to then fetch the address you want to set from e.g. the UICR Customer registers, https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html#register.CUSTOMER-0-31 , that you then have written to using nrfjprog memwr command.