nrfutil: read DEVICEID from FICR

How is it possible to read the DEVICEID from the FICR for any Nordic family device in a generic way using nrfutil?

`nrfutil --json-pretty device device-info` does not include the DEVICEID value directly.

`nrfutil --json-pretty device core-info` does not include either the FICR address (despite including the UICR address), or the offset of the DEVICEID register within the FICR block.

Both pieces on information are required if the solution is going to involve the `x-read` command.

Additionally, it looks like attempting to read FICR registers using nrfutil is just not supported (tested on both nRF52840 and nRF54L15).

['nrfutil', '--json', '--skip-overhead', 'device', 'x-read', '--address', '0xffc304', '--serial-number', '000820101337']
Error: One or more read memory tasks failed:
 * 820101337: Device error: Unknown NVM programmer 'RRAMC' for memory ficr (Generic)

['nrfutil', '--json', '--skip-overhead', 'device', 'x-read', '--address', '0x10000060', '--serial-number', '000820101337']
Error: One or more read memory tasks failed:
 * 820101337: Device error: Unknown NVM programmer 'NVMC' for memory ficr (Generic)

Parents Reply
  • Of course, but there is plenty of other information (including the UICR address) that is exposed through the core-info command that could also be obtained by "checking the datasheet". I note you only linked the docs for one SoC, presumably because linking them all would be annoying to collate? Perhaps as annoying as needing to check them all to find offsets manually.

    The FICR address was also possible to determine programmatically with the old nrfjprog based tooling.

Children
Related