[nrfutil device command] Issue on writing nrf54l15 UICR->OTP registers using batch file

Hi,

i am developing under ncs 3.2.3 (then toolcahin 3.2.3 -> nrfutil-device 2.17.1).

FLashig OTP registers using batch method, i am getting the following "error" on nrf54l15dk(rev. 0.9.2):

The operation is either not supported
[00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selected device.

The operation is either not supported
Error: One or more batch tasks failed:
* 002000423538511733363730: The operation you tried to run is not available for the selected device.

The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
* C631D7A3650B: The operation you tried to run is not available for the selected device.

The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
* D30F30I2: The operation you tried to run is not available for the selected device.

The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)

However it seems that OTPs are correctly written (proper value are loaded in fw)

Can you help me?

Thanks,

Alessandro

Parents
  • Hi Alessandro,

    Hmm, If the operation failed and the OTPs are correctly written, then this seems to be bug in error handling in the tool. 
    Can you please help us reproduce this?

  • {
      "nrfutil_device_version": "2.17.1",
      "operations": [
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd980",
            "data": [
              77,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd984",
            "data": [
              70,
              68,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd988",
            "data": [
              1,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd98c",
            "data": [
              1,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        }
      ]
    }
    If you run the attached batchfile.json on nrf shell terminal you should get the errors:

    • nrfutil device batch-execute --batch-path .\batchfile.json

    [00:00:00] ###### 100% [4/4 1057737707] Batch completed
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selected
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selected
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selectedError: One or more batch tasks failed:
    * C631D7A3650B: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
    * D30F30I2: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
    * 3BBAF401F8CA1B1B: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)

    The UICR.OTP slot written are:

    • 288
    • 289
    • 290
    • 291
Reply
  • {
      "nrfutil_device_version": "2.17.1",
      "operations": [
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd980",
            "data": [
              77,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd984",
            "data": [
              70,
              68,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd988",
            "data": [
              1,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        },
        {
          "core": "NRFDL_DEVICE_CORE_APPLICATION",
          "operation": {
            "address": "0xffd98c",
            "data": [
              1,
              0,
              0,
              0
            ],
            "direct": false,
            "type": "memory-write"
          }
        }
      ]
    }
    If you run the attached batchfile.json on nrf shell terminal you should get the errors:

    • nrfutil device batch-execute --batch-path .\batchfile.json

    [00:00:00] ###### 100% [4/4 1057737707] Batch completed
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selected
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selected
    [00:00:00] ###### 100% [] Batch failed, The operation you tried to run is not available for the selectedError: One or more batch tasks failed:
    * C631D7A3650B: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
    * D30F30I2: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)
    * 3BBAF401F8CA1B1B: The operation you tried to run is not available for the selected device.

    The operation is either not supported for this type of device or the device has issues and it cannot be recognized (NotFound)

    The UICR.OTP slot written are:

    • 288
    • 289
    • 290
    • 291
Children
Related