On Fri, Nov 02, 2018 at 01:07:22PM -0400, Steffen Görtz wrote: > 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 > configuration, Firmware configuration. > > Read and write access to the memories is managed by the > Non-volatile memory controller. > > Memory schema: > [ CPU ] -+- [ NVM, either FICR, UICR or CODE ] > | | > \- [ NVMC ] > > Signed-off-by: Steffen Görtz <cont...@steffen-goertz.de> > --- > hw/nvram/Makefile.objs | 1 + > hw/nvram/nrf51_nvm.c | 333 +++++++++++++++++++++++++++++++++++ > include/hw/nvram/nrf51_nvm.h | 70 ++++++++ > 3 files changed, 404 insertions(+) > create mode 100644 hw/nvram/nrf51_nvm.c > create mode 100644 include/hw/nvram/nrf51_nvm.h
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature