Skip to content

Commit

Permalink
Merge pull request #171 from AVSystem/nRF9160DK_flashing_instruction_…
Browse files Browse the repository at this point in the history
…update

Zephyr flashing part of nRF9160DK instruction update
  • Loading branch information
jgoreckiavs authored Jan 4, 2024
2 parents 67a73bd + 7a7e9f6 commit 8d5cc6e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
15 changes: 7 additions & 8 deletions docs/LwM2M_Client/Nordic/nRF9160DK.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Integrate your Nordic nRF9160 DK board.

- The nRF9160 DK board with a USB cable.
- Installed **minicom** (for Linux) or RealTerm or PuTTy (for Windows) or other serial communication program.
- Installed **nrfjprog** from [Nordic Semiconductor page](https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download).
- Installed **nRF Connect** from [Nordic Semiconductor page](https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop).
- A user with access to the {{ coiote_long_name }}.


Expand All @@ -17,9 +17,10 @@ To get the latest binary file and flash the board:

{{ zephyr_repository_step }}
{{ nRF9160DK_binary_step }}
{{ nRF9160DK_flashing_nRF_docs_step }}
{{ nRF9160DK_updating_dk_firmware_step}}
{{ nRF9160DK_flash_downloaded_binary_step }}
0. Reset the board and go to the [Connecting to the LwM2M Server](#connecting-to-the-lwm2m-server).

Go to the [Connecting to the LwM2M Server](#connecting-to-the-lwm2m-server).

### Start development using samples
!!! Note
Expand Down Expand Up @@ -49,17 +50,15 @@ Enter the command line interface on your machine and change the directory to the
west update
```
0. Compile the project for **nRF9160 DK**:
0. Compile and flash the project for **nRF9160 DK**:
```
cd Anjay-zephyr-client/demo
west build -b nrf9160dk_nrf9160ns
west flash
```
0. Find the `merged.hex` file under the `build/zephyr` directory in the project folder.
0. Use the nRF Connect Programmer to flash the created `.hex` file onto the board. For more information, follow the [updating the application firmware](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160_gs.html#updating-the-application-firmware) documentation.
## Connecting to the LwM2M Server
To connect to {{ coiote_long_name }}, please register at [{{ coiote_site_link }}]({{ coiote_site_link }}).
Expand Down
8 changes: 4 additions & 4 deletions docs/LwM2M_Client/STMicroelectronics/B-L475E-IOT01A.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ To connect the board:
0. Check your default credentials by following the instructions in the program:
![Anjay configuration](images/anjay_config.png "Anjay configuration"){:style="float: left;margin-right: 1177px; margin-top: 7px; margin-bottom: 17px;"}
!!! note
If your default credentials are different from device credentials provided in {{ coiote_short_name }}, change them using the `anjay config set <possible_option> <value>` command.
<br/>
![Anjay set configuration](images/anjay_config_set.PNG "Anjay set configuration"){:style="float: left;margin-right: 1177px;margin-top: 7px; margin-bottom: 17px;"}
Use the `anjay stop` command to stop LwM2M Client and change credentials.
If your default credentials are different from device credentials provided in {{ coiote_short_name }}, change them using the `anjay config set <possible_option> <value>` command.
<br/>
![Anjay set configuration](images/anjay_config_set.PNG "Anjay set configuration"){:style="float: left;margin-right: 1177px;margin-top: 7px; margin-bottom: 17px;"}
0. Use the `anjay start` command to run the Client.
0. Go to {{ coiote_short_name }} to check if your device is connected. Click **Next**, then **Go to Summary**, then **Finish**. You will see your Device Center view:
Expand Down
6 changes: 3 additions & 3 deletions templates/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ zephyr_repository_step:
0. Go to [Anjay-zephyr-client](https://github.com/AVSystem/Anjay-zephyr-client/releases).
nRF9160DK_binary_step:
0. Download the `demo_nrf9160dk_merged.hex` file.
nRF9160DK_flashing_nRF_docs_step:
0. To program the board, go through the whole process of **flashing nRF** [described here](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160_gs.html).
nRF9160DK_updating_dk_firmware_step:
0. You may need to update your DK firmware. To do this download new DK firmware from [nRF9160 DK Downloads page](https://www.nordicsemi.com/Products/Development-hardware/nRF9160-DK/Download#infotabs) and follow [Updating the modem firmware](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf91/nrf9160.html#updating-the-modem-firmware) steps.
nRF9160DK_flash_downloaded_binary_step:
0. Use the nRF Connect Programmer with the downloaded `.hex` file and execute steps from the [Updating the application firmware](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160_gs.html#updating-the-application-firmware) section.
0. Use the nRF Connect Programmer and execute steps from the [Updating the application firmware](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf91/nrf9160.html#updating-the-application-firmware) section. Skip the point 6 and at the point 7 select already downloaded `demo_nrf9160dk_merged.hex` file.
nRF7002DK_binary_step:
0. Download the `demo_nrf7002dk.hex` file.
nRF7002DK_flash_downloaded_binary_step:
Expand Down

0 comments on commit 8d5cc6e

Please sign in to comment.