Skip to content

nRF5340 CTRL-AP omission negative control

The Renode onboarding scoreboard remains 245 descriptors, 231 booted, 231 boot-and-smoke passed, and 14 not run. The nRF5340 is outside that imported set, so this experiment did not change its measurements.

Finding

Nordic's nRF5340 Product Specification describes CTRL-AP as a CPU-side block at 0x50006000. The SVD register map places APPROTECT.DISABLE at offset 0x544 (0x50006544).

As a negative control, the CTRL-AP mapping was temporarily removed from configs/chips/nrf5340.yaml. Running the unmodified Zephyr v3.7 nrf5340dk/nrf5340/cpuapp survival test then faulted on a byte write to 0x50006544 and printed no UART banner. The failure is preserved in omitted-profile-zephyr.log.

Restoring the existing nrf5340_ctrlap_stub mapping made the same survival test pass again, with LABWIRED_TRACE_VIOLATIONS=1 enabled; see restored-profile-zephyr.log.

Boundary

The current zero-answering placeholder is needed for this firmware path to continue, but it does not model CTRL-AP. The observed startup write is dropped. This evidence does not prove APPROTECT.DISABLE, key matching, UICR protection, ERASEALL, debugger mailboxes, or the external debugger-side access port. Removing the window is therefore not an honest narrowing of the profile while retaining this boot claim. A real CPU-side CTRL-AP model is still needed before the placeholder can be removed.

The current committed scoreboard is unchanged because this board is not one of the imported 245 Renode platform descriptors.