Skip to content

nRF9161 Support missing #43

Description

@JyriLehtinen

The tool lacks definitions for 9161 SoC.

Attempting to program modem firmware with

def program_modem_fw(snr=None, modem_fw_zip_path=None):
    if modem_fw_zip_path is None:
        print("ERROR: Path to firmware was not given")
        return False

    api = HighLevel.API()
    api.open()


    if snr is None:
        snr = api.get_connected_probes()

    for s in snr:
        print(f'Programming modem firmware to JLink {s}...')
        #probe = HighLevel.IPCDFUProbe(api, s, HighLevel.CoProcessor.CP_MODEM, jlink_arm_dll_path="/opt/nrfjprog")
        probe = HighLevel.IPCDFUProbe(api, s, HighLevel.CoProcessor.CP_MODEM)
        probe.program(modem_fw_zip_path)

results in
pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -90 NOT_AVAILABLE_BECAUSE_PROTECTION.

get_device_info() returns the following data:
>>> info.__dict__ {'device_type': <DeviceVersion.NRF9120_xxAA_REV3: 152174594>, 'device_family': <DeviceFamily.NRF91: 91>, 'code_address': 4294967295, 'code_page_size': 0, 'code_size': 0, 'uicr_address': 4294967295, 'info_page_size': 0, 'code_ram_present': False, 'code_ram_address': 4294967295, 'data_ram_address': 4294967295, 'ram_size': 0, 'qspi_present': False, 'xip_address': 4294967295, 'xip_size': 0, 'pin_reset_pin': 0, 'dll_ret_code': -90}

I assume this is because Parameters.py lacks definitions for NRF9161.

Tested on Windows 11 with pynrfjprog 10.24.2, with nRF9161-DK v.1.0.0
SoC is NRF9161_xxAA_REV3, according nRF Connect SDK

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions