# Nordic Semiconductor nRF52840 DevKit + WIZnet W5500 Ethernet Shield

**URL:** <https://hub.mender.io/t/nordic-semiconductor-nrf52840-devkit-wiznet-w5500-ethernet-shield/7836>\
**Category:** Zephyr\
**Created:** [June 16, 2025, 11:26am UTC](https://hub.mender.io/t/nordic-semiconductor-nrf52840-devkit-wiznet-w5500-ethernet-shield/7836 "2025-06-16T11:26:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danieldrabitzius](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@danieldrabitzius](https://hub.mender.io/u/danieldrabitzius)\
**Post date:** [June 16, 2025, 11:26am UTC](https://hub.mender.io/t/nordic-semiconductor-nrf52840-devkit-wiznet-w5500-ethernet-shield/7836/1 "2025-06-16T11:26:19Z")

</div>

The **nRF52840** is a BLE board. For internet connectivity, we use a W5500 Ethernet Shield. See shield description in [WIZnet website](https://docs.wiznet.io/Product/Open-Source-Hardware/w5500_ethernet_shield)

 ![rotated-removebg-preview](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/e/e64130c9229fe17420dab88a3a48ea9ce25d1c52.png)

**Prerequisites and requirements:**

- **W5500 Ethernet Shield**
  - See [WIZnet website](https://docs.wiznet.io/Product/Open-Source-Hardware/w5500_ethernet_shield). You will need to attach the shield to the board and insert an ethernet cable. The shield should emit a constant red LED once the board has power

- **west workspace with mender-mcu**
  - See [the tutorial in Mender Hub](https://hub.mender.io/t/getting-started-with-the-mender-mcu-client-esp32-s3-devkitc/7480) or [the Getting started guide from Mender Docs](https://docs.mender.io/get-started/microcontroller-preview/prepare-an-esp32-s3-with-zephyr)

- **`nrfutil`**
  - nRF Util is a cli tool used i.a. for building for Zephyr for a Nordic board. See [the documentation](https://www.nordicsemi.com/Products/Development-tools/nRF-Util) for download instructions

- **`SEGGER J-Link`**
  - Software used to interact with J-Link enabled boards. See [Nordic’s documentation](https://docs.nordicsemi.com/bundle/ncs-2.6.2/page/zephyr/develop/flash_debug/nordic_segger.html#segger_j-link_software_installation) for further information and installation steps

Once you have all the requirements in place, you can you can simply  
build and flash the bootloader and the application with the following command:

```auto
TENANT_TOKEN="<Paste your hosted Mender tenant token here>"
ARTIFACT_NAME="release-1"

west build \
  --sysbuild mender-mcu-integration --board nrf52840dk/nrf52840 -- \
  -DEXTRA_DTC_OVERLAY_FILE=boards/shields/wiznet_eth_w5500.overlay \
  -DEXTRA_CONF_FILE=boards/shields/wiznet_eth_w5500.conf \
  -DCONFIG_MENDER_SERVER_TENANT_TOKEN=\"$TENANT_TOKEN\" \
  -DCONFIG_MENDER_ARTIFACT_NAME=\"$ARTIFACT_NAME\"

```

`west` will, by default, use the now deprecated `nrfjprog` as its runner. In order to use `nrfutil` we need to explicitly set it with `-runner nrfutil` when flashing:

```auto
west flash --runner nrfutil

```

The application should now start! You can monitor the serial line with:

```auto
minicom -D /dev/ttyACM0 -b 115200 -w

```

##### Restarting the board

You can also use `nrfutil` to list devices, reset them etc. Install nrfutil’s `device` with:

```auto
nrfutil install device

```

You can now reset the board with:

```auto
nrfutil device reset

```

##### Debugging with gdb

You can attach with `gdb` at any moment of the execution with:

```auto
west attach --domain mender-mcu-integration

```
