Programmer 4.8.0 uses inputCoreInfo.codePageSize as the UICR size. On both an nRF54L15 DK and an nRF54LM20B DK, nrfutil reports codePageSize = 16 and infoPageSize = 4096. As a result, the programmer treats only the first 16 bytes of the 4 KB UICR address region as valid and removes other UICR blocks from the HEX passed to the programming backend.
Environment and verification scope
• Source: Programmer v4.8.0, commit 975454cbba499ee7267bc54a2c032eef3049a6e8.
• Hardware: nRF54L15 DK, PCA10156, NRF54L15_xxAA_REV2; and nRF54LM20B DK, PCA10184, NRF54LM20B_xxAA_ENGB.
• nrfutil: 8.1.1; nrfutil-device: 2.19.3, matching the versions specified by Programmer v4.8.0.
• Additional backend check: nrfutil-device 2.23.0, the latest version returned by the official package index on 2026-11-06, installed in an isolated NRFUTIL_HOME and tested on both DKs.
• Host: Linux; J-Link: V9.82.
• Core information was read from both connected DKs in separate runs. HEX filtering was reproduced offline for each device's measured core information with the original v4.8.0 functions and its locked dependency nrf-intel-hex 1.4.0. No erase/program operation or subsequent hardware readback was performed for this report.
Device information
Command:
nrfutil device core-info --serial-number <DK_SERIAL> --core application --json
Relevant fields common to both successful device responses:
{
"codeAddress": 0,
"codePageSize": 16,
"uicrAddress": 16764928,
"infoPageSize": 4096
}
The UICR base is 0x00FFD000. Nordic's nRF54L15 and nRF54LM20B MDK memory definitions both give NRF_MEMORY_UICR_SIZE = 0x1000. The reported codeSize was 1560576 for nRF54L15 and 2084864 for nRF54LM20B.
Measured backend comparison:
nRF54L15, xxAA_REV2: nrfutil-device: 2.19.3; codePageSize: 16; infoPageSize: 4096; UICR base: 0x00FFD000.
nRF54L15, xxAA_REV2: nrfutil-device: 2.23.0; codePageSize: 16; infoPageSize: 4096; UICR base: 0x00FFD000.
nRF54LM20B, xxAA_ENGB: nrfutil-device: 2.19.3; codePageSize: 16; infoPageSize: 4096; UICR base: 0x00FFD000.
nRF54LM20B, xxAA_ENGB: nrfutil-device: 2.23.0; codePageSize: 16; infoPageSize: 4096; UICR base: 0x00FFD000.
For each device, all core-info fields were identical between 2.19.3 and 2.23.0. The latest backend therefore supplies the same input to the problematic size calculation. This report concerns Programmer's interpretation and filtering of this metadata; it does not claim that standalone nrfutil programming drops UICR data.
Actual UICR address region: Start: 0x00FFD000; End, exclusive: 0x00FFE000.
Range computed by Programmer: Start: 0x00FFD000; End, exclusive: 0x00FFD010.
Cause and impact
In devices.ts (github.com/.../devices.ts, mergeNrfutilDeviceInfoInCoreDefinition() sets:
pageSize: inputCoreInfo.codePageSize,
uicrBaseAddr: inputCoreInfo.uicrAddress,
uicrSize: inputCoreInfo.codePageSize,
In jlinkTargetActions.ts (github.com/.../jlinkTargetActions.ts, geCoreHexIntel() deletes a block unless the entire block fits within the code region or the computed UICR region. A block crossing the UICR boundary is deleted in full, including any prefix inside the boundary.
writeToAllCoresBatch() (github.com/.../jlinkTargetActions.ts then serializes this filtered map and passes it to the programming path. Therefore, the affected UICR data is removed before it reaches nrfutil.
An additional offline check executed the original writeToAllCoresBatch() -> geCoreHexIntel() -> writeOneCoreBatch() chain and captured the arguments to batch.program() without executing a backend operation. The captured HEX omitted the 0x00FFD080 block with the original size calculation. Changing only uicrSize from 16 to 4096 retained that block in the captured HEX. The attached backend-payload-check.json contains both outgoing payloads.
Offline reproduction
1. Use the measured core information above with mergeNrfutilDeviceInfoInCoreDefinition() and the nRF54L default definition.
2. Parse the fixture below with MemoryMap.fromHex().
3. Pass the resulting map to geCoreHexIntel() with its normal filtering enabled.
4. Serialize the returned map with asHexString().
This is a synthetic parser fixture for offline testing, not a firmware image to program. It contains 16 bytes at address zero and four bytes at UICR.BOOTCONF (0x00FFD080):
:020000040000FA
:10000000A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A0
:0200000400FFFB
:04D080005A5A5A5A44
:00000001FF
Actual output:
:020000040000FA
:10000000A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A0
:00000001FF
The UICR data is missing. Expected behavior is to retain it for programming.
Additional offline cases confirmed that blocks at 0x00FFD020, 0x00FFD200, and 0x00FFD500 are also removed. A contiguous block covering 0x00FFD000, 0x00FFD024) is removed entirely. Individual four-byte blocks at 0x00FFD000 and 0x00FFD00C are retained as boundary controls.
Suggested correction
For both devices, using inputCoreInfo.infoPageSize for uicrSize restores the correct 4 KB range and retains all eight tested UICR blocks per device. Please confirm the appropriate UICR-size metadata across supported devices while keeping the code page size independent.
Current code:
uicrSize: inputCoreInfo.codePageSize,
Suggested change:
uicrSize: inputCoreInfo.infoPageSize,
The related [isRegionInCore() check in regions.ts (https://github.com/nordicsemi/pc-nrfconnect-programmer/blob/975454cbba499ee7267bc54a2c032eef3049a6e8/src/util/regions.ts#L162-L177) also uses pageSize for the UICR upper bound and should be reviewed for consistency.
Affected devices
Confirmed with live core information from nRF54L15 and nRF54LM20B and offline source reproduction for both. Other devices, including nRF54LM20A, have not been hardware-verified. The affected logic is shared, so other supported devices/cores following this path could also lose UICR data when codePageSize is smaller than the required UICR extent. nRF54L05 and nRF54L10 share the same 4 KB UICR layout and are candidates for verification, but their actual nrfutil core-info values have not been measured here.programmer-uicr-evidence-20261106.zip