This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Update nrf9160 modem firmware from Linux command line

I want to be able to update both application firmware and modem firmware via
the terminal. I know the nrfjprog and have no problem downloading application firmware.

Is it true that Nordic have no simple cli tool to update the modem firmware?

I know about nrfConnect and also the python package pynrfjprog... and FOTA.
But nrfConnect cannot be automatized by simple bash scripting.
And pynrfjprog is not a complete solution (like nrfjprog)... it is a python package where you have to program a lot yourself.
I know it might be a 30-35 lines for simple handling, but why do everyone need to do this, when it could be a standard feature of nrfjprog?

For pynrfjprog I have looked here: devzone.nordicsemi.com/.../214914

And FOTA is not practical in a production endvironment.

So is it at all possible with nrfjprog or a similar commandline tool to program modem firmware in a single command?

For example something like this:

nrfjprog --program <hexfile> -f NRF91

For reference I have been searching quite a lot around the community... but haven't been able to find answer.
Only something like these which really aren't what I need:

devzone.nordicsemi.com/.../ncs-tutorial---temporary
infocenter.nordicsemi.com/index.jsp
devzone.nordicsemi.com/.../unable-to-update-firmware-on-nrf9160
devzone.nordicsemi.com/.../command-line-method-for-nrf9160-1-updating-modem-firmware-and-2-application-firmware
devzone.nordicsemi.com/.../i-have-a-hard-time-when-trying-to-update-nrf9160-dk-modem
devzone.nordicsemi.com/.../how-to-apply-nrf9160-sip-modem-firmware-with-j-link-probe
devzone.nordicsemi.com/.../214914
devzone.nordicsemi.com/.../getting-started-with-nrf9160-dk

Related