When flashing SoftDevice S130 v2.0.1 with nRFGo Studio (JLinkARM.dll 5.12f) and softdevice protection enabled, the UICR.CLENR0 is written with value 0x00B00100 (~11M Bytes). why?
When flashing SoftDevice S130 v2.0.1 with nRFGo Studio (JLinkARM.dll 5.12f) and softdevice protection enabled, the UICR.CLENR0 is written with value 0x00B00100 (~11M Bytes). why?
Hi,
Are you sure you're not reading the content with different byte endianess?
If you reverse the byte order:
00 b0 01 00 -> 00 01 b0 00
Best regards,
Håkon
The endianess in nRF51 is little, that means (as you correctly mention), CLENR0 is equal to 0x1B000 (108KB). The question is: why is this value?
According to S130_SDS (v2.0) table 27, the required memory resource is 104 KB and APP_CODE_BASE = 0x1B000. Therefore, it seems that nRFGo Studio takes APP_CODE_BASE for CLENR0.
MBR uses 4 k, SoftDevice itself uses 104 k, which amounts to 108 k in total.