This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Writing some parameters to flash using nrfjprog.

Hi all,

I am developing a BLE device prototype. There will be multiple such devices. How can I write the UUIDs to flash while flashing the hex file. Or how can I get the address of the location where to write UUID?

Suppose I am using static uint8_t UUID[16]; array to store UUID. How can I get the location of this array in flash or hex file to rewrite a new generated UUID to it?

e.g. nrfjprog -f nrf52 --snr <Segger-chip-Serial-Number> --memwr <mem_loc> --val <UUID>

Now how to get mem_loc so that it writes at the address where static uint8_t UUID[16] array is located?

Related