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)

Related