This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

zigbee example for nrf52840 dongle

Is there any zigbee example for nrf52840 dongle (PCA10059) ? If not, what is additional changes needed to add support in existing examples?

I unable to run the zigbee switch example for PCA10059. Once it flashed, device stayed in bootloader mode. (list does not contain the PCA10056. so, there is possibility it won't work out of the box).

I can build and flash the zigbee switch but dongle stays in bootloader mode.

Build step: west build -t nrf52840dongle_nrf52840, which creates the merged.hex

flash steps:

1. west flash

2. nrfutil pkg generate --hw-version 52 --sd-req=0x00 --application build/zephyr/merged.hex --application-version 1 example.zip

    nrfutil dfu usb-serial -pkg example.zip -p /dev/ttyACM0

I have verified the tool chain by flashing the zigbee network coordinator for PCA10056 and blink led for PCA10059(ncs/zephyr/samples/basic/blinky).

nrf connect version 1.9.1

gcc-arm-none-eabi-9-2019-q4-major

OS: Mint linux

Thanks

Parents
  • Hi,

    We do not have official support for nRF52840 Dongle in any of our Zigbee samples, but it is possible to add support. In order to do so you need to create a static partition manager file for the dongle so that a partition for the Bootloader and MBR will be created. You will also need to create a .overlay file for the dongle. I have previously added support for the dongle in the light bulb sample myself, so you can see an example of how to do this here: light_bulb_dongle. The files in question are pm_static_nrf52840dongle_nrf52840.yml and boards/nrf52840dongle_nrf52840.overlay. Since you are using the light switch sample you will also have to do some changes to the sample regarding buttons, as the dongle only has one button which can be used by the application.

    Best regards,

    Marte

Reply
  • Hi,

    We do not have official support for nRF52840 Dongle in any of our Zigbee samples, but it is possible to add support. In order to do so you need to create a static partition manager file for the dongle so that a partition for the Bootloader and MBR will be created. You will also need to create a .overlay file for the dongle. I have previously added support for the dongle in the light bulb sample myself, so you can see an example of how to do this here: light_bulb_dongle. The files in question are pm_static_nrf52840dongle_nrf52840.yml and boards/nrf52840dongle_nrf52840.overlay. Since you are using the light switch sample you will also have to do some changes to the sample regarding buttons, as the dongle only has one button which can be used by the application.

    Best regards,

    Marte

Children
No Data
Related