Nordic nRF Command Line Tools

nRF Command Line Tools

To support interaction with Nordic’s nRF tooling during production, an SBC can be included in the PPC.

For example, to program the modem of an nRF9160DK using its built-in JLink programmer:

Sample Test Plan

title: Program nRF9160DK modem firmware
suite:
 - title: Defines
   steps:
    - command: define FIRMWARE.zip "modem.zip"
    - command: define SBC.uart "UART2"
 - title: New SBC Session
   steps:
    - command: agentCfg PROGSBC %SBC.uart%
      with:
      - "%FIRMWARE.zip%"
 - title: Program nRF9160 modem with pynrfjprog
   steps:
    - command: uart %SBC.uart%
      send: |
        python3 prog-nrf9160-modem.py %FIRMWARE.zip%
      expect: "Completed in"
      timeout: 1m

References