On Wed, 30 Jan 2019 at 07:21, Stefan Hajnoczi wrote:
> +static void flash_write(void *opaque, hwaddr offset, uint64_t value,
> +unsigned int size)
> +{
> +NRF51NVMState *s = NRF51_NVM(opaque);
> +
> +if (s->config & NRF51_NVMC_CONFIG_WEN) {
> +uint32_t oldval;
> +
> +
From: Steffen Görtz
The nRF51 contains three regions of non-volatile memory (NVM):
- CODE (R/W): contains code
- FICR (R): Factory information like code size, chip id etc.
- UICR (R/W): Changeable configuration data. Lock bits, Code
protection configuration, Bootloader address, Nordic SoftRadio