-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.rst
41 lines (32 loc) · 1.76 KB
/
README.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
How to install:
With python 3, run: pip install nrf9160_mdm_dfu
How to use:
To use this tool, you need to have the following three files:
ZZzzZZzz.ipc_dfu.signed.ihex
firmware.update.image.hex
firmware.update.image.digest.txt
Where ZZzzZZzz is a part of the digest of your current modem firmware.
Open a command prompt in the folder where your previously mentioned files are located, and run nrf9160_mdm_dfu --update
Alternatively, one can point to the specific files using the following commands in combination with --update
--fwpath path
--ipcpath path
--fwdigestpath path
If you have multiple nrf9160 devices connected to the computer at the same time, you can specify which kit to connect to using -s SNR / --snr SNR, where SNR is the serial number of the jlink debugger probe.
************************************************************************************************************
usage: nrf9160_mdm_dfu [-h]
(--update | --read Addr Len file | --UUID | --digest)
[-s SNR] [-q] [--fwpath path] [--ipcpath path]
[--fwdigestpath path]
Update the firmware of nrf9160 devices.
optional arguments:
-h, --help show this help message and exit
--update update firmware
--read Addr Len file Reading from the modem, Addr and Len must be hex
values, file is a file path
--UUID read UUID
--digest read digest from modem
-s SNR, --snr SNR Serialnumber for the nrf9160 device.
-q, --quiet Enables quiet mode.
--fwpath path firmware update image path
--ipcpath path IPC hex file path
--fwdigestpath path firmware update image digest path