Running nrfutil 91 modem-firmware-upgrade on Raspberry Pi,

I want to run nrfutil 91 modem-firmware-upgrade --firmware "$FIRMWARE_PATH_1" --serial-number "$SERIAL_NUMBER" on Raspberry Pi,

unfortunately. The version that can be installed is only 5.2.0
So the commands are different. From the version 7.12 command set
I searched the ןמאקרמקא and came across the following set of commands:


nrfutil dfu serial -pkg $FIRMWARE_PATH_1 --serial-number $SERIAL_NUMBER

I found the serial number with the help of the command
nrfjprog -i
801013667
But the response for my commands

nrfutil dfu serial -pkg mfw_nrf91x1_2.0.1.zip -snr 801013667

I get:


Traceback (most recent call last):
File "/home/user/Projects/Data/nrfVevv/bin/nrfutil", line 8, in <module>
sys.exit(cli())
^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/nordicsemi/__main__.py", line 1041, in serial
do_serial(package, port, connect_delay, flow_control, packet_receipt_notification, baud_rate, serial_number, True,
File "/home/user/Projects/Data/nrfVevv/lib/python3.11/site-packages/nordicsemi/__main__.py", line 938, in do_serial
raise NordicSemiException("A device with serial number %s is not connected." % serial_number)
pc_ble_driver_py.exceptions.NordicSemiException: A device with serial number 801013667 is not connected.

I would appreciate help on how to complete the task.

Thank you very much




Parents Reply
  • Hey Jonathan,
    I'll pick off from where  left.
    I succeeded converting all of the commands to ARM-compatible commands, except one.

    nrfutil 91 imei-write --force --imei %1 --slot 1 --modem-firmware mfw_nrf91x1_2.0.1.zip --serial-number 260106008

    I know there are AT commands for this that can be sent through a serial terminal but it's not relevant since my JLink doesn't support VCOM. Is there any other way to achieve it, perhaps using pynrfjprog?

    I'd appreciate your assitance in this matter, thanks.

Children
Related