This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

question related to uicr

Hi, i am newbie to nrf51822 and want to know details of following stuffs:

1)what is use of uicr?

2)if i place some value in uicr and then change the image,then is there will be change in uicr count?

a)how soft device impact uicr?

b) image+app code+soft device , for this if i set value of uicr after this if i change soft device will the uicr value will be retained?

c) image+app code ,for this if i set value of uicr after this if i enable soft device will the uicr value will be retained?

  1. what is the size of uicr? can anyone please share details regarding this
    1. The purpose and usage of UICR is to be able application/user specific properties sunch as code readback protection, XTAL frequency, size of CLENR0(if possible) and store some FW ID numbers/user info. Please also have a look in chapter 7 of the nRF51 reference manual.

    2. By count I assume it's referred to the size of CLENR0. Up until S110 version 6.0 the CLENR0 was used to define the size of the softdevice and protect the softdevice. With S110 version 7.0 this is remove to enable customers to write a new Softdevice through the bootloader.

    3. a) See Q2).

    b) CLENR0 will not be set by Softdevice, so this is up to the user to set this. c) CLENR0 will not be set by Softdevice, so this is up to the user to set this.

    1. See Reference manual chapter 7.
  • hello Asbjørn, I write 0x10001080 in UICR register, which is reserved for customer.My SDK version is nRF51 SDK v. 6.1.0. When the CLENR0 equals 0x16000, I can't write 0x10001080. But when the CLENR0 equals 0xFFFFFFFF, I can write 0x10001080. Could you tell why? I look forward to hearing from you soon.

Related